|
| |||||
| Home | Reviews | Tools | Forums | FAQs | Find Service | ISP News | Maps | About |
how-to block ads |
To share an Internet connection with multiple computers on the LAN first look at this picture taken from Sharing Tips. ![]() Notice you will require two NICs (Network Interface Cards) for the computer acting as a NAT (Network Address Translation) router. The first NIC will connect your Cable/DSL modem to your Linux box, and the second would connect to a HUB or another computer on your LAN. On your Linux computer, you will need to set up the two NICs, that is, load the drivers/modules, configure the IP address if necessary. First, enable IP forwarding. This can be done when compiling the kernel or through sysctl. To do so through sysctl type: echo 1 > /proc/sys/net/ipv4/ip_forwardNow for those using Linux 2.0.x kernels or ipfwadm use: /sbin/ipfwadm -F -p denyFor those using Linux 2.2.x kernels or ipchains use: /sbin/ipchains -P forward DENYAdditional information about IPFWADM or IPChains can be found here. For those using 2.4.x or Netfilter/iptables use: /sbin/iptables -P FORWARD DROPMore information about Netfilter/IPTables can be found here.
| |||||
| Thursday, 23-May 10:26:05 | Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo over 13.5 years online © 1999-2013 dslreports.com. |