I am having some issues configuring iptables to use SSH Tunneling through port 80. Here are my iptables rules.
:INPUT DROP :FORWARD DROP :OUTPUT DROP -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -p tcp -m tcp --dport 80 -m state --state NEW,ESTABLISHED -j ACCEPT -A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A OUTPUT -o lo -j ACCEPT -A OUTPUT -p tcp -m tcp --sport 80 -m state --state ESTABLISHED -j ACCEPT
When I have OUTPUT set to DROP, SSH works fine but I cannot use the SSH Tunnel to recieve internet. It works fine when OUTPUT is set to ACCEPT though. I have port 80 open in INPUT and OUTPUT so Im not sure why I am having this issue.
I am using the SSH Tunnel as a proxy through Firefox and I get this error
The connection was reset The connection to the server was reset while the page was loading -The site could be temporarily unavailable or too busy. Try again in a few moments -If you are unable to load any pages, check your computer's network connection. -If your computer or network is protected by a firewall or proxy, make sure that FireFox is permitted to access the Web.