/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


Ron Adams wrote:

> I've got kernel 2.4.0 here, and trying to get an internal network 
> (192.168.1.x) to go through my linux machine using ip masq. I've been 
> looking through the info on ip masq, and also ip tables. I compiled my 
> kernel with netfilter enabled, and i got the iptables package.
> 
> However, I don't need to filter any data out, I just need the computers 
> to use the Linux box as a gateway, they are configured properly, and 
> /proc/sys/net/ipv4/ip_forward is set to 1.
> 
> What else do I have to do? I figure I have to do something with the 
> routing with eth1 (the private networks NIC), and maybe a basic rule in 
> Iptables, but the docs i've read haven't been much a help.
> 
> Anyone got some info i can munch on?

read rusty's unreliable nat guide. it contains exactly
what you want (~5 lines of iptables commands to do masq).
there's a link to it on the netfilter.kernelnotes.org site.

raf

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to