Author Topic: IPv6 configuration for CentOS 6.8 (Final)  (Read 8336 times)

0 Members and 1 Guest are viewing this topic.

IPv6 configuration for CentOS 6.8 (Final)
« on: March 09, 2017, 10:20:44 PM »
Ok guys,
Here`s something I`d like to share with you. It`s an IPv6 configuration script for CentOS 6.8 (Final) to make it easy to have IPv6 tunnel on your server. At the moment this is version 0.1 which can only add the IPv6 tunnel configuration to your already running CentOS server. As a first version it`s simple and fast, also has it`s bad sides like: after every reboot you need to run the script again to re-config your IPv6. But this is what I did in 15min with 39 degs temp. In the next version I`m planning to include ping to through the script, adding IPv6 addresses through it. In version 0.3 or 0.4 I`ll try to make it able to config your web server, email server, DNS forward and reverse. Just I need time because I`m very busy and atm I`m a bit sick.
Ok, stop fooling you around.
1. Download the script from and put it in /usr/local/cwpsrv/htdocs/resources/admin/modules
2. Unzip it with "unzip"
3. Open /usr/local/cwpsrv/htdocs/resources/admin/include/3rdparty.php and add:
3.1 <li><a href="index.php?module=born2host_ipv6"><span class="icon16 icomoon-icon-arrow-right-3"></span>IPv6 Configuration</a></li>
4. Create account in
5. Log in to your account in
6. Go to User Functions -> Create Regular Tunnel
7. Enter the IPv4 address of the server(your CentOS 6.8 server)
8. Choose one of the available tunnel servers (ping the all one by one and choose the one with less time=... ms)
9. Click on your tunnel to open Tunnel Details
10. Login with root to your CWP and head up to Developer Menu -> IPv6 Configuration
11. From Tunnel Details grab "Server IPv4 Address:" which is normally and paste it in the script in the field called "Please provide your tunnel broker IPv4:   "
12. From Tunnel Details grab "Client IPv6 Address: " which normally starts with 2001:470:xxxx:xx::2/64 (don`t forget to copy it with the /64) and paste it in the script in the field called "Please provide your IPv6 tunnel:"
13. Press "Add IPv6" button
14. Login through SSH to your CentOS server and type: ping6 -c 5 If everything is ok you will see something similar to this:
Code: [Select]
[root@msi ~]# ping6 -c 5
PING 56 data bytes
64 bytes from icmp_seq=1 ttl=57 time=62.3 ms
64 bytes from icmp_seq=2 ttl=57 time=63.1 ms
64 bytes from icmp_seq=3 ttl=57 time=61.7 ms
64 bytes from icmp_seq=4 ttl=57 time=61.0 ms
64 bytes from icmp_seq=5 ttl=57 time=63.1 ms

--- ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4068ms
rtt min/avg/max/mdev = 61.079/62.302/63.156/0.796 ms
[root@msi ~]#
If you see something similar to this you are done and have fun.
If you have any problems activating IPv6 tunnel support feel free to ask(may be you don`t have IPv6 support enabled on your server or something else).
<- check this picture just in case to be sure what to copy and paste from to the script.

Oh yeah. By the way the script is encoded with ionCube Encoder for PHP 5.6.x
« Last Edit: March 09, 2017, 10:36:39 PM by darkness »
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...