4

Setting up iptables for SSL (port 443)

view full story
linux-howto

http://www.linuxquestions.org – I hear that it's a bad idea to edit iptables by hand. I want to open 443. Quote: iptables -A INPUT -p tcp -m tcp --sport 443 -j ACCEPT iptables -A OUTPUT -p tcp -m tcp --dport 443 -j ACCEPT BUT*** It has been suggested to me that I don't need the second line (OUTPUT), and the first line shoud be --dport NOT --sport. In other words, Quote: iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT I got my original (two line) quote from here: (HowTos)