Hello! Just one question... I have a firewall with the INPUT, OUTPUT and FORWARD policies set to DROP, and now I want to allow connections from localhost to localhost (any port). Which chains are implied here? INPUT? OUTPUT? Both? How should the needed rule(s) be?
Thank you very much in advance!
Oriol
I put these simple rules in my INPUT and OUTPUT chains. I checked the counts, and these handle the most traffic, so I put them first in their chains.
# accept packets originating on this machine iptables -A INPUT -i lo -j ACCEPT
# allow packets from this machine to this machine iptables -A INPUT -o lo -j ACCEPT
I hope that helps.
Jim