On Wed, 2002-03-13 at 17:03, Keith Smith wrote:
> Hi:
> 
> Q: What chains apply to lo (loopback) interface communications?
> 
> I have "named" running locally and am trying to connect to it using
> "nslookup".  Based on my observations, both INPUT and OUTPUT chains
> are traversed in this particular (localhost <-> localhost)
> communication.

A: http://www.knowplace.org/netfilter/syntax.html#traversal

> Q: When I setup Masquerading, my rules don't appear when I try to list
> them.  In addition, they don't seem to have any affect.
> 
> > iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> > iptables -L 
> doesn't show this rule as being added, however doing an iptables-save
> does record the existence of said rule in /etc/sysconfig/iptables.
> Note that simply changing the default forwarding policy to ACCEPT
> (with or without a rule) *does* function correctly.

A: Don't use MASQUERADE but SNAT instead.
 
Hope this helps
Frank


Reply via email to