I have seen countless examples of this rule in iptables:
-A INPUT -i lo -j ACCEPT
I thought lo means localhost (a.k.a. 127.0.0.1), but when I commented it out, I can't access the server using its private ip address 192.168.1.3, which means it is more than just localhost.
Further, does this rule refers to the source ip, destination ip, or both. Meaning, if I were to spoof a source coming from 127.0.0.1, would it be accepted?
I tried looking in the man page but could not find an answer to this. It would be helpful if someone can point to me in the right direction.