1

Iptables blocks outgoing HTTP connection

view story
linux-howto

http://serverfault.com – I've setup IPTables with the following script... however, I cannot get outgoing HTTP queries to work (I've tried using lynx & curl). Background - server is hosted remotely (and I'm connecting via SSH). Your help will be greatly appreciated... Here's my iptables setup: iptables -P INPUT ACCEPT iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A INPUT -p tcp --dport 22 -j ACCEPT # ssh iptables -A INPUT -p tcp --dport 80 -j ACCEPT # http iptables -A INPUT -p tcp --dport 443 -j ACCEPT # https iptables -A INPUT -p tcp --sport 80 -j ACCEPT iptables -A INPUT -p tcp (HowTos)