You have more than one PC in the LAN but just one modem?
Wouldn't it be fine to reach the internet from the other computers, too?
Then you need masquerading!
A lot of small applications do not offer the support of a proxy and
cannot be used. Masquerading will support these applications.
If you want to use masquerading the modem has to be installed at a Linux PC, the operating system of the other computers do not care but they have to support the TCP/IP protocol. After installing masquerading and the computer has a modem connection to the internet the other PCs use the masquerading PC as a gateway into the internet and it seems that they have a direct connection.
Additional you get more safety into your LAN, because no computer, except the one with the modem, has an official IP-address. They will not be reachable from the internet. On the other hand your webservers on the other PCs will not be reachable from outside.
>> cd /usr/src/linuxNow you have to activate under Networking options the following properties:
>> make xconfig
>> make dep clean modules modules_install zImageand install it with Yast (SUSE distribution) and reboot.
>> ipfwadm -F -d denywhere X.X.X.0 is your own local IP-address. The 0 functions like a joker, that means every PC with the IP X.X.X.* gets into the internet, but not the IP X.X.A.*.
>> ipfwad -F -a m -S X.X.X.0/255.255.255.0