Click to See Complete Forum and Search --> : linux box as gateway to internet


rloc
03-26-2001, 03:54 PM
linux box is 192.168.0.1 / 255.255.255.000
Win boxes are 192.168.0.xyz /255.255.255.000

The local network works fine via SAMBA and everyone can see everyone else.

Linux is Mandrake 7 kernek 2.4.2

I have made sure that ip forwarding is enabled in /proc/sys/network.

I have made the required changes to rc.local.

I have read the HOWTO's and set up the Win boxes accordingly.

I compiled ipchains support into the 2.4.2 kernel, but I did not compile iptables in.

Should I have done this? Is iptables absolutely required for kernel 2.4.2 or will ipchains still work?

May be irrelevant:

During boot up I get a message /proc/sys/net/ipv4 ip_always_defrag is missing - cannot control ip defragmentation.

If I connect to my ISP using kppp, my kppp stats window displays a "local" and a "remote" address. I can ping the "local" address from any win box but not the remote address.

Ideas please?

thanks

rob

Mountainman
03-26-2001, 04:00 PM
Read and follow the howto for ip masquerading and you should be good to go.

penguinlinux
03-26-2001, 04:56 PM
hey download this cool program


pmfirewall

from
www.pmfirewall.com. (http://www.pmfirewall.com.) it is a script that helps you configure IP chains on your computer and also masquareding. Anyone who knows how to read will be able to use it. I had so many problems setting up IP chains on my computer but pmfirewall made it so easy that even a dumb MCSE can install it :)

No disrespect MCSE's :) I know some of you are pretty good

Lat8r