Messages in this thread | | | From | "Jon Burchmore" <> | Subject | RE: Anyone successfully using ipmasq with 2.1.129? [Oops in 2.1.129] | Date | Sun, 22 Nov 1998 22:23:36 -0800 |
| |
> > > ipchains -P forward DENY > > > ipchains -A forward -j MASQ -s 10.0.16.0/24 -d 0.0.0.0/0 > > > > > > Then I enable forwarding: > > > > > > echo "1" >/proc/sys/net/ipv4/ip_forward > > > > > > Then it goes boom (keyed in from my notes): > > Enable forwarding before defining you rules -- works fine for me...
FYI, I am also using 2.1.129 with IP masquerading, and it works fine. My rules look like this:
echo 1 >/proc/sys/net/ipv4/ip_forward ipchains -P forward DENY ipchains -A forward -j MASQ -s localnet/24
I haven't tried enabling forwarding AFTER adding the rules--if you'd like me to let me know.
-Jon Burchmore
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |