Linux Internet Sharing
I have a few XP boxes and I am also using Red Hat 8.0 in box... I want to setup an internet connection sharing using RH8 as the gateway... What shall i do?
|
Ckeck is all machines have IP in the same subnet and the IPs are local (192.168.1.x, for example). Then download the masquerading script, for example from here: http://www.tldp.org/HOWTO/IP-Masquer...FIREWALL-2.4.X
You will need to fit it to your needs and modify Code:
#IPTABLES=/sbin/iptables Code:
IPTABLES=/sbin/iptables Second thing, enter the right interfaces here: Code:
EXTIF="eth0" After the modificatins, start the script and your Internet connection sharing should work. Note that it's only basic scripts. If you search the site for masquerading, you'll find many more compilicated ones, with firewalling (it's a good idea). |
Quote:
|
Put ppp0
|
ppp0 is created when you dial up. From the user point of view, it's used exactly the same way as eth0 or eth1. Your configuration is probably
Code:
EXTIF="ppp0" |
All times are GMT -5. The time now is 03:42 PM. |