[NTLUG:Discuss] Sharing Internet Connection
Jack Snodgrass
idiotboy at cybermail.net
Thu Dec 13 16:30:14 CST 2001
create a file called /etc/rc.d/rc.mask
put in
/sbin/iptables -F
/sbin/insmod ip_nat_ftp
/sbin/iptables -t nat -A POSTROUTING -s 192.168.100.0/24 -o eth0 -j
MASQUERADE
that should get you started.
Look at http://endoshield.sourceforge.net/ if you want to get more
secure. It is pretty simple to set up and will give you more
firewall type protection.... in addition to the sharing stuff you
get with MASQUERADE.
------------------------------------------------------------
Jack
Available for Linux administration, configuration and setup.
------------------------------------------------------------
----- Original Message -----
From: "Patrick Parks" <pparks at c1652034-e.croltn1.tx.home.com>
To: <discuss at ntlug.org>
Sent: Thursday, December 13, 2001 4:07 PM
Subject: [NTLUG:Discuss] Sharing Internet Connection
> Hello all, I am trying to set up internet sharing with two computers and
> having a problem. The server is a redhat 7.1 box with two nics. eth0
> goes to the internet, and works fine on the server. eth1 goes to the
> local network, and sees the local network fine. I am not sure where to
> go from here. I looked at www.linuxdocs.org, and the latest docs I could
> find on the subject are for RH 6.0. I went through them thoroughly, and
> am very confused :) the box I am trying to get to connect to the
> internet through the RH server is a win ME dual boot with Redhat 7.1.
> Can anyone steer me in the right direction to get this to work? If I did
> not give enough info, please let me know what you need. I currently have
> 3 ip's through ATT @home and would like to use just 1. thanks
>
>
> Patrick Parks
>
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
More information about the Discuss
mailing list