lkml.org 
[lkml]   [1998]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Anyone successfully using ipmasq with 2.1.129? [Oops in 2.1.129]
Date
> > > 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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.051 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site