Enable Loopback confuse

nattapon viroonsri nattaponv at hotmail.com
Fri Aug 19 12:41:41 CEST 2005

Anyone please recommend me about iptables loopback

When i enable loopback i just use 2 line below and everything work fine
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT

But i see many example around then have also included this line below  to 
enable loopback
iptables -A FORWARD -o lo - j ACCEPT ?

i try generate packet locally like "telnet localhost 25" and debug with 
"iptables -L -nv"
but dont see any packet match  this rule(FORWARD)    only  INPUT and OUTPUT 

So can i omit this line ?
or what kind of packet that match this rule ?

Don't just search. Find. Check out the new MSN Search! 

More information about the netfilter mailing list