Campus Network use IPV6 tunnel free-flow Internet

Source: Internet
Author: User
Tags vps

A while ago bought a VPS, do ladder feel good, but in campus network, VPS traffic far more than 10 yuan of money campus traffic, see last month VPS traffic was zeroed. But the campus network has free IPV6, and my VPS also has a IPV6 address, so I think how to IPV6 free Internet access.

The first step encountered a problem, on the VPS ping ipv6.google.com,ping, 100%lost. But ifconfig can see my IPV6 address, surf the internet to check some information, said IPv6 module did not compile to the kernel, so can not use IPv6. However, due to the VPS is based on openvz cheap, resulting in their inability to modify the core of the VPS ....

However, on the Internet to see some through the IPv6 tunnel online posts, learning to set up, sure enough success!

http://tieba.baidu.com/p/3153585015

Http://ichon.me/post/659.html

The premise is that VPS support Tun/tap, my direct settings in the Control Panel can be used.

Cat/dev/net/tun
If you return file descriptor in bad state, the description supports TUN/TAP.

The approximate steps are as follows:

1 http://tunnelbroker.net/apply for a tunnel agent on the site

2 Download Tb_tun compilation installation

3 code settings, code as follows        

 #   Create a binding, notice that the server address, followed by the VPS address  Setsid Tb_userspace TB 5.6.7.8 1.2.3.4 sit  #  Span style= "color: #008000;" > enable virtual interface:  ifconfig TB up  #   Assign the virtual interface to the previously requested IPv6 address:  ifconfig TB inet6 add 2000:200:a:f00::2/64#   Adjust the maximum transmission unit of the virtual interface:  ifconfig TB MTU 1480#   Add IPv6 route /sbin/route-a inet6 add::/0 Dev TB /sbin/ip-6 route add default dev TB  #   You may also need to remove the default IPv6 route on the venet0, otherwise the ping does not pass through the other IPv6 addresses. That's what I am.  ip-6 route del  default dev venet0 

4 test ping6 ipv6.google.com

5 If you can ping the Config.json, then modify the server-side SS: ":"

6 in the SS client, enter the requested IPv6 can be used IPv6 Internet access

7 Best to use PAC mode .... Fast browsing at home and abroad.

8 problems: Setsid tb_userspace TB 5.6.7.8 1.2.3.4 sit execution requires a carriage return, if written as a shell script, unable to read back the car, unable to proceed with subsequent script commands, now only the terminal input command manually enter to start IPv6.

Campus Network use IPV6 tunnel free-flow Internet

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.