Assuming your connection to your cable modem is functional AND your
connection to the rest of your lan is running, try ipchains, thats all I
had to do, it sets up a transparent proxy, i.e. you don't need to tell
your client software that you are behind a firewall, the exception is ftp
which you will most likely have to enable PASV mode but that is all. At
its most basic with mandrake 6.1 simply use the following either in a
script or in /etc/rc.d/rc.local or rc.firewall:

LAN_INT=eth1 (or whichever interface = NIC cable modem is tied to)
LAN="192.168.1.0/24" (or whatever reserved tcp/ip subnet you are using)
ipchains -F
ipchains -A forward -s $LAN -j MASQ

Basically this will give anything on your local subnet access to the
internet via your cable modem ethernet, the only other thing you must do
is setup your clients (workstations) to use the lan connection on the
linux box's ethernet ip as their gateway and dns.

I hope this helps, its basically what I've got going over here via DSL and
its been working great since August and I've got a mix of unix/winnt/win98
machines all using it.

 Regards,

 David Hollyfield ,CTO
 Undergrid Network Services, LLC.
 www.undergrid.net
 [EMAIL PROTECTED]

Reply via email to