internet connection sharing with 2 network cards
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?
Re: internet connection sharing with 2 network cards
Quote:
Originally Posted by tealeaf
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 and Bastille-Linux you can get them with apt or there is Arno's Iptables which works well you would have to install the script and change a few lines in the config files.
If you want it done in less than a minute
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.