PDA

View Full Version : internet connection sharing with 2 network cards



tealeaf
11-03-2003, 09:06 PM
This is a classic internet sharing problem.
My PC has 2 network cards. Eth0 to be my internet side (with fixed IP address 213.xxx/255.255.255.248) and eth1 my intranet side (192.168.0.1).
Under windows, it easy to share the internet connection (eth0) with other PCs on the intranet side.
Does any one know how to do this with knoppix?

Stephen
11-03-2003, 09:23 PM
This is a classic internet sharing problem.
My PC has 2 network cards. Eth0 to be my internet side (with fixed IP address 213.xxx/255.255.255.248) and eth1 my intranet side (192.168.0.1).
Under windows, it easy to share the internet connection (eth0) with other PCs on the intranet side.
Does any one know how to do this with knoppix?

There are a couple of programs available firestarter (http://firestarter.sourceforge.net/) and Bastille-Linux (http://www.bastille-linux.org/) you can get them with apt or there is Arno's Iptables (http://rocky.molphys.leidenuniv.nl/) which works well you would have to install the script and change a few lines in the config files.

tealeaf
11-04-2003, 02:49 AM
Can Terminal Server be set to bind only to the intranet side?

ahfoo
11-04-2003, 09:56 AM
then go to the linux documentation project www.tldp.org
Find the Masquerading made simple howto and then use the directions to start Masquerading. It uses IPtables which is built into the kernel so it works under any Linux distro and is far far more stable and faster than the microso~1 toy you refer to.
You can also begin to create a real firewall after you do some further reading.