Self-built ipv6 proxy for the Delegate software in Ubuntu

Source: Internet
Author: User

The purpose of this article is to build an ipv6 proxy. For example, if you have two machines A and B, machine A can access the Internet (preferably the public hoho), while machine B is in the dormitory and you do not want to pay for the Internet, you can use the software delegate to create an ipv6 proxy for machine A, and machine B can access the Internet through the ipv6 proxy you have created.
Preparation: Because ipv6 is usually re-allocated at startup, it is best to bind the ipv6 of your machine:

Ubuntu:

1) sudo vi/etc/network/interfaces


Codes is as follows:
Auto lo
Iface lo inet loopback
Iface lo inet6 loopback

Auto eth0
Iface eth0 inet static
Address IP address
Netmask Subnet Mask
Gateway
Iface eth0 inet6 static
Address the ipv6 address you want to set (meaning the same as xp)
Netmask 64
The first four digits of the gateway ipv6 address: 1 (for example, 2001: cc0: 202c: XXXX: 1)
2) sudo vi/etc/resolv. conf
Codes is as follows:
Nameserver DNS
Nameserver DNS
3) restart the computer, enter shell, and enter the command ifconfig to view the configured ipv6 address.


Use the delegate software to build an ipv6 proxy:

Download the Ubuntu delegatesoftware, such as delegate9.7.5.tar.gz, and decompress it to the decompressed folder.
Codes is as follows:
Tar zxvf delegate9.7.5.tar.gz
Cd delegate9.7.75
Make
Cd src
Sudo delegated-r-P __: 3128 SERVER = delegate PERMIT = "*: *" RELIABLE = "*" (AUTHORIZER = "-list {user: passowrd }") ADMIN = xx@xx.yy.cn
OK!
 

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.