VPS class=”stripstr”> VPS Ready” it?">Your website “IPv6 VPS class=”stripstr”> VPS Ready” it?
鈥 鈥 鈥 鈥 鈥 鈥
)Your website "IPv6 Ready" it?
This article written for the students using VPS, even if your VPS provider does not support IPv6, you can put your site made IPv6 Ready! If you have a lot of readers in the education network, it will be very worthwhile to do next, because the education network without international connections, but there is a free IPv6. If your VPS provider to support IPv6 then you can see from the first step 5 onwards, if not support, then please look at starting from scratch. Is currently only in the Diahosting experiment was a success on the VPS (independent server, of course, there is no problem, as personal computers, must have a public network IP address of the will; because of the need kernel support for IPv6 and the tun / tap, it may be part of the Xen, OpenVZ does not support the ). Ready, Let鈥檚 begin!
1. The basic principles of
wget http://nginx.org/download/nginx-0.8.32.tar.gz
tar-xvzf nginx-0.8.32.tar.gz
cd nginx-0.8.32
. / configure 鈥 user = www 鈥 group = www 鈥 prefix = / usr / local / nginx 鈥 with-http_stub_status_module 鈥 with-http_ssl_module 鈥 with-ipv6
make & & make install
Back to the HE IPv6 Tunnel Broker鈥檚 home page, click on the newly established Tunnel, will be such a Tunnel detailed information:![]()
You can see, HE give you the distribution of the / 64 IPv6 address, that is, the 64 th power you have two addresses, both in this life could ever use, ha ha. In the detailed information below, there is a method of setting up your VPS, click on 鈥淪how Config鈥 will come up with methods:![]()
These commands in your VPS on to the next. Under test is set to see the success did not, ping6 he.net, if the following diagram with similar illustrated configuration successful:![]()
OK , your VPS also supports IPv6 !
5. Let IPv6 Ready site
Left side, click 鈥淐reate Regular Tunnel鈥:![]()
In the 鈥淚Pv4 endpoint鈥 Fill in your VPS鈥檚 IP address, HE will be based on your browser鈥檚 IP address to help you select the server, but not necessarily the best, you have to VPS based on your location, select the server鈥檚 address, mine is the western U.S. VPS, so I chose Fremont, CA, US server, click on 鈥淥verride鈥 option server.![]()
Then click 鈥淪ubmit鈥, you can build a successful Tunnel.
4. VPS settings on the
To re-compile Nginx to make it support IPv6. Is not explained in detail, drying orders, the most critical one is the 鈥-with-ipv6鈥:
? View Code BASH
server (
listen 216.45.55.20:80;
listen [2001:470:1 f04: 873:: 2]: 80;
server_name kangzj.net;
My VPS bond coat is lnmp a package: http://lnmp.org/, the following will explain the installation path to install the path lnmp prevail.
This need your DNS support for AAAA records, which is IPv6 records. Now basically all of the domain registrar鈥檚 DNS support, if not support, you can use dnspod the service is free, and support for AAAA records.
Although your VPS does not support IPv6, but we can through the IPv6 Tunnel to solve, which is usually said, IPv6 Over IPv4, can be interpreted as the IPv6 in IPv4 to establish a small pipeline. We use the HE (Hurricane Electronics) provides a free IPv6 Tunnel Broker, HE has the world鈥檚 largest IPv6 backbone network in the world, are provided with IPv6 Tunnel Broker service.
2. Register for a free HE IPv6 Tunnel Broker
Originally thought that only the Native, IPv6 can provide network services, I was wrong, take the Tunnel should also be. Erupted in VPS provider does not support IPv6 support does not matter, we can solve, DIY Viva!
killall nginx
/ usr / local / nginx / sbin / nginx
Your virtual machine configuration file, listen 80; all replaced listen ip: 80; in the form of, or not to start. And then you want to support IPv6, virtual machine, Riga a listen [ipv6]: 80, configured later, roughly as shown below:
View Code BASH
So much, and so bar the entry into force. After the entry into force, if the user network supports IPv6, they would visit the IPv6 address. If only IPv4 addresses IPv4 access network will 鍟!
7. Postscript
Registered Address: http://tunnelbroker.net/, click the 鈥淩egister鈥 can be registered, registration process is very simple, not more talk about it.
3. Add Tunnel
Install configured. Turning off the old nginx, start a new compiled nginx:
View Code BASH
Not yet done them, have to make your HTTP server supports IPv6. Apache 2.0 version of the start to support IPv6, Nginx began after 0.7.36 support from the IPv6. We talk about Nginx configuration methods and other can find their own way.
I was Name.com domain name, in itself support, not trouble. After the increase, the domain name will be two records, one A, and a AAAA follows.Your website "IPv6 Ready" it?
In the end the implementation of ifconfig, you can see your IPv6 address:
6. Increase the IPv6 address of DNS AAAA record
Article Source : Your website "IPv6 Ready" it?
Your website "IPv6 Ready" it? Your website "IPv6 VPS Ready" it?