Re: Masquerading

Bernd Eckenfels (
Fri, 31 Dec 1999 12:37:04 +0100

In article <> you wrote:
> masqueraded with the eth0 ip of the linux box.

> The start/stop script looks like this:


> ipchains -N user_msq
> ipchains -A user_msq -s 0/0 -d 0/0 -j MASQ
> ipchains -A forward -s -d 0/0 -i eth0 -j user_msq

add another rule which is targeted to your net behind the portmaster with -j
ACCEPT instead of masq:

ipchains -A forward -s -d x.x.x.x/y -i eth0 -j ACCEPT
ipchains -A forward -s -d 0/0 -i eth0 -j MASQ

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