[Verified] Using Open Dr.com for Internet sharing

Source: Internet
Author: User

I used an experiment this afternoon. in Linux, I used the latest open dr.com client and iptables for forwarding, so that multiple machines can use the same account to access the Internet ......

But in this way, it is actually the traffic of several machines using the same account ...... There should be some benefits for monthly subscription users, so the paybytraffic has no practical significance ......

Related information:

Open dr.com website http://www.drcom-client.org

Iptables usage: http://www.docin.com/p-47722276.html

The specific ideas are as follows:

1. run Linux with VMware and install two NICs on it. Select the "bridge" mode. Nic 1 uses the IP address of our school. Nic 2 corresponds to an intranet IP address, such as the 192 CIDR block.

2. on Linux, run open dr.com and complete the configuration. In this case, Linux can go to the Internet.

(Note: Open dr.com has two processes, drcomd and drcomc. If you have any problems and need to log on again, kill the two processes)

3. on Linux, configure iptables and set Nat forwarding from network adapter 2 to network adapter 1. (For more information, see the link)

3. Other machines, including hosts running Linux virtual machines, are set as Intranet IP addresses, such as the 192 network segment and the IP address of the gateway set as NIC 2 in Linux.
(Make sure that DNS is configured)

4. Enjoy it ~

The effect is not bad ......

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.