[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ipchains



you can't compile ip forwarding into the kernel in 2.2.x, you gotta enable
it manually by 

echo "1" >/proc/sys/net/ipv4/ip_forward

that should allow you to add forwarding rules, you may not be able to to
ipmasq unless you got all the right kernel configs set.


nate

----------------------------------------[mailto:aphro@aphroland.org ]--
   Vice President Network Operations       http://www.firetrail.com/
  Firetrail Internet Services Limited      http://www.aphroland.org/
       Everett, WA 425-348-7336            http://www.linuxpowered.net/
            Powered By:                    http://comedy.aphroland.org/
    Debian 2.1 Linux 2.0.36 SMP            http://yahoo.aphroland.org/
-----------------------------------------[mailto:aphro@netquest.net ]--

On Thu, 28 Oct 1999, Phil Brutsche wrote:

> A long time ago, in a galaxy far, far way, someone said...
> 
> > I am running 2.2.12 kernel with ipforwarding compiled into the kernel.
> > I want to masq 192.168.1.0/24 but when I used ipchains command:
> > 
> > /sbin/ipchains -A forward -j MASQ -s 192.168.1.0/24
> > 
> > it returned: no chain by that name.
> > why? what is the problem?
> 
> Did you compile in IP masquerading as well?  IP forwarding only makes the
> system a router, not a router+NAT.
> 
> 
> -- 
> ----------------------------------------------------------------------
> Phil Brutsche					pbrutsch@creighton.edu
> 
> "There are two things that are infinite; Human stupidity and the
> universe. And I'm not sure about the universe." - Albert Einstein
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 


Reply to: