Share an Internet Connection With Multiple Computers

Share an Internet Connection With Multiple Computers
Linux offers the ability to act as both firewall and router for 
multiple computers. You can easily set this up using iptables. 

Execute the following commands on your Linux box. This example assumes 
that eth0 is the network interface connected to the cable or DSL modem. 

# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE 
# modprobe ip_conntrack_ftp 
# echo 1 > /proc/sys/net/ipv4/ip_forward 
# iptables -P INPUT DROP 

Of course, this is greatly simplified; it's just the basics to get you 
up and running quickly. 

Keep in mind that it doesn't matter what systems you're running on your 
network, be it Windows, Macs, or other Linux systems. All you need to 
do is tell those clients to use this Linux machine as the gateway.

Related Posts:

  • To Create Folder " CON " Without using Command Prompt.Here is a simple method..........Rename folder from the right click option........Now press alt and press 255...press 255 frm the right side of the key bords i.e., num pa… Read More
  • How to find the IP address of the sender in Yahoo! mail When you receive an email, you receive more than just the message. The email comes with headers that carry important information that can tell where the email was sent from and possibly who sent it. For that, you would need … Read More
  • How to find the IP address of the sender in Hotmail When you receive an email, you receive more than just the message. The email comes with headers that carry important information that can tell where the email was sent from and possibly who sent it. For that, you would need … Read More
  • Recover the lost administrators password in Windows XP Slightly more work needed if you lose or forget the Windows XP administrator password.1.First reboot Windows XP in safe mode by re-starting the computer and pressing F8 repeated as the computer starts up.2.Then (in… Read More
  • Create A Hidden User Account Create A Hidden User AccountThis tweak allows an account that is normally displayed on the Welcome screen to be hidden from view. To log on using the account it's necessary to use the Log On To Windows dialog box similar to … Read More

0 comments: