Sunday, August 03, 2003

Internet Sharing on Linux

For Internet sharing you need to enable packet forwarding on the PC which is connected to the Internet (the gateway PC). Also on the other PC you must set the default route to the IP address of the gateway PC (The gateway PC's default route must be set to your ISP's gateway IP address). The PCs should also have the default routes set to a DNS server - your ISP will give you these.

/proc/sys/net/ipv4/ip_forward - Turn the Value to 1

No comments: