online.net使用IPV6一键包

作者: 流星过雁 分类: 知识宝藏 发布时间: 2016-07-18 00:18 ė
Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/hw7.net/wp-content/themes/TangStyle-master1.6/single.php on line 10
6 没有评论

Someone on LowEndTalk recently posted a great script to automatically configure IPv6 on Online.net’s dedicated servers. Since I’ve recently been using one of their 2EUR Kidéchire specials as a Deluge & SABnzbd box I found this quite useful.

Script Usage:

This script is designed to be run on an Online.net Dedicated Server, it has been tested on:

Debian 7
Ubuntu 14.04
CentOS 7
Proxmox VE w/ OVZ (see Issue #1)

wget http://hk.hw7.net/ipv6_dhclient_online_net.sh&&chmod 755 ipv6_dhclient_online_net.sh&&bash ipv6_dhclient_online_net.sh eth0 2001:x:x:x:: 56 DUID

 

Example:

All of the required information can be found on your Online.net Network configuration page (console.online.net >> Server >> Network configuration). It should look like this:

Online.net IPv6 Example Settings

In this example, we’ll be adding the subnet 2001:0bc7:5555:101::/64 to our dedicated server via the following command:

./ipv6-dhclient-script.sh eth0 2001:0bc7:5555:101:: 64 00:04:01:07:c7:b8:2f:13:d5:a8

Next we’ll want to add some addresses from the /64 block to the server:

/sbin/ifconfig eth0 inet6 add 2001:0bc7:5555:101::1
/sbin/ifconfig eth0 inet6 add 2001:0bc7:5555:101::2

Your server should now have outgoing IPv6 connectivity and you should be able to ping the assigned address, in this example – 2001:0bc7:5555:101::1, from an outside network.

from:https://www.sonicboxes.com/online-net-ipv6-script/

本文出自海外去!,转载时请注明出处及相应链接。

本文永久链接: https://hw7.net/online-net%e4%bd%bf%e7%94%a8ipv6%e4%b8%80%e9%94%ae%e5%8c%85/

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

Ɣ回顶部