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: Since the purpose of this article is to build an ipv6 proxy for each boot, for example, if you have two machines A and B, machine A can access the Internet (preferably the hoho of the public), and Machine B is in the dormitory, if 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!
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