Linux (CentOS) server paired with IPV6

Source: Internet
Author: User

For server IPV6 Total 4 steps

    1. CentOS default IPv6 is off, turn on IPV6

    2. Go to https://www.tunnelbroker.net to request the corresponding IPv6 address for the server's IPv4 address

    3. Add IPv6 to add AAAA (IPv6) Resolution for domain name

    4. Configuring Apache counterpart IPv6

First Open IPv6

CentOS 6.5 Version

1. edit the file,/etc/sysconfig/network, and change the Networking_ipv6=no to Networking_ipv6=yes,

Copy Code

Vi/etc/sysconfig/network

After modification

Networking_ipv6=yes

2 . Edit the file,/etc/modprobe.d/disable_ipv6.conf, and comment out the three lines

    1. Vi/etc/modprobe.d/disable_ipv6.conf

After modification

Alias net-pf-10 off
#alias IPv6 off
Options IPv6 disable=0

3 Restarting the server

CentOS 6.6 and above 6.6 versions

edit The/etc/sysctl.conf file and change the settings of three of the disabled IPv6 to:

Net.ipv6.conf.all.disable_ipv6 = 0

Net.ipv6.conf.default.disable_ipv6 = 0

Net.ipv6.conf.lo.disable_ipv6 = 0

The command to run sysctl-p is enabled IPv6

Two https://www.tunnelbroker.net registration

After logging in, select in the left panel, Create Regular Tunnel.


Then fill in their IP address, the country and the region to choose Hong Kong is good

After the build is complete,



Copy command on server execution

Add AAAA records for domain names

Quad Configuration Apace


Namevirtualhost 85.127.181.30:80namevirtualhost [2001:470:1f0a:6ef::2]:80 # virtualhost  for IPv4<VirtualHost 85.127.181.30:80>    ServerName  www.mydomain.org    serveradmin [email protected]     Documentroot /home/mydomain/public_html    errorlog /home/mydomain/logs/error_ log    customlog /home/mydomain/logs/access_log combined</virtualhost>#  Virtual host for IPv6<VirtualHost [2001:470:1f0a:6ef::2]:80>     ServerName www.mydomain.org    ServerAdmin [email protected]     documentroot /home/mydomain/public_html    errorlog /home/ mydomain/logs/error_log    customlog /home/mydomain/logs/access_log combined< /virtualhost>

After the match is finished, test:

IPv6 Test URL:


http://www.ipv6proxy.net/



Linux (CentOS) server paired with IPV6

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.