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

Re: Linux as a NAT/Router Box




Benjamin Story wrote:
> 
> I've been tasked with getting our 192.168.x.x network onto the internet via a
> linux box instead of tying up the cisco router with doing NAT.  The problem
> is that even after reading all of the HOWTO's on firewalls and IP
> Masquerading I still have not been able to get the linux box to handle the
> traffic.  I'm now looking into the Linux Router Project, but their
> documentation is losing me quickly.  Any help would be greatly appreciated.

Well, what have you done/what is the box doing/not doing?  The IP Masq
howto has two ipchains commands that are a good starting point for
getting it going.  That with the "echo 1 >
/proc/sys/net/ipv4/ip_forward" should take care of it.  Well, along with
the appropriate kernel compilations.  If you want to restrict the
access, then it gets just slightly more complicated with ipchains, but
they have a whole howto that talks about everything you can do with it.

--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.