Sharing Internet connections with computers in Linux
Source: Internet
Author: User
Article Title: Sharing Internet connections with computers in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Nowadays, the high-speed home Internet is far faster than the standard Internet. Due to the low cost of computers, multiple computers have become increasingly popular in the same family office.
In order to achieve the "always-on Connection" connection effect, the demand for the firewall far exceeds the demand for the Luxury itself, and many cheap hardware devices can play the role of the firewall and the router. However, Linux desktop can meet this requirement and save some money on this program.
Linux can provide firewall and router capabilities for multiple computers. With iptables, you can easily install it.
A large number of tools can use iptables to help build firewall scripts. If you only want to use a simplified firewall to share a network, you can achieve it and it will run in a few minutes.
In your Linux box, run the following command. This example is used when eth0 is a network interface, connecting a cable or DSL modem.
Of course, this is quite simplified. It is just the most basic operation you can connect to and run quickly. If you want a more comprehensive firewall solution that can handle both the firewall and install and share, you need to check tools like Shorewall.
Remember that no matter what system you run on the network, Widows, Macs, or other Linux systems, it is irrelevant. All you need to do is to tell those customers that they use Linux as their gateway.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service