Merge pull request #1158 from yujianxuechuan/master

Translating 20140610\ How\ to\ set\ up\ Internet\ connection\ sharing\ w...
This commit is contained in:
Xingyu.Wang 2014-06-11 20:57:47 +08:00
commit 0fc6d50454

View File

@ -1,3 +1,4 @@
Translating by yujianxuechuan,占坑
How to set up Internet connection sharing with iptables on Linux
================================================================================
In this tutorial, I'll explain how to share a single Internet connection among multiple devices on Linux. While consumer-grade WiFi routers have become mainstream nowadays, making this problem a non-issue, suppose you don't have one at home. However, say you have a Linux box already assembled with a modem and a LAN card. The modem is connected to the Internet with a dynamic public IP address, and the LAN card connected to your switch/hub. Other devices (Linux/Windows PC, laptop) are connected to the switch without having any Internet connection. To share the Internet connection of the Linux box, you have to turn the box into a gateway, so that it can relay traffic to and from other devices.
@ -109,4 +110,4 @@ via: http://xmodulo.com/2014/06/internet-connection-sharing-iptables-linux.html
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出