Lauri Tischler wrote:

> > Don't do that. Use:
> > 
> >         ipchains -A forward -s 10.1.1.1/24 -j MASQ
> > or
> >         ipchains -A forward -i eth0 -j MASQ
> > 
> > instead. You don't want to be masquerading *inbound* connections.
> 
> Sorry for dumb question but how does ipchains know, to what ipaddress
> should stuff from eth0 to be masqueraded to.

Masqueraded packets always use the IP address of the interface from
which they are sent.

-- 
Glynn Clements <[EMAIL PROTECTED]>

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to