markdown 配置从我们的服务器到Ubuntu的HE隧道经纪人的6to4隧道

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 配置从我们的服务器到Ubuntu的HE隧道经纪人的6to4隧道相关的知识,希望对你有一定的参考价值。

# Hurricane Electronic's 6to4 Tunnel Broker

URL : https://tunnelbroker.net/

- Register for tunnelbroker 6to4 service from HE
- Create a tunnel in the management interface, you have to provide your server's IP Address as tunnel endpoint
- Download init script, make it executable and put inside /etc/network/if-up.d/
- Init script from https://gist.github.com/jbhannah/987146

```bash
$ wget wget https://gist.githubusercontent.com/jbhannah/987146/raw/790fb57ec940a82d1b3c5fb984f0b53918f34032/he-ipv6.sh
$ chmod +x he-ipv6.sh
$ move he-ipv6.sh /etc/network/if-up.d/
```
View and modify the script if necessary. These are the configuration inside the file that you need to adjust

```
# The primary internet-facing network interface
MY_IF=eth0
# Given under "IPv6 Tunnel Endpoints" on the tunnel details page
SERVER_V4=216.218.221.42 # He tunnel gateway
CLIENT_V6=2001:470:35:dbc::2/64 # Your allocated /64 ipv6
# An address from your Routed /64 or /48 prefix for the local interface
LOCAL_V6=2001:470:35:dbc::1337/64 # Your designated local ipv6 (taken from allocated)
```

Execute the script manually or restart networking service via systemctl

``` bash
$ ./heipv6.sh
$ systemctl restart networking
```

以上是关于markdown 配置从我们的服务器到Ubuntu的HE隧道经纪人的6to4隧道的主要内容,如果未能解决你的问题,请参考以下文章

markdown 从ubuntu切换到macOS x时有用的调整和提示

markdown Ubuntu Docker开发环境配置

markdown Ubuntu 16.04配置

markdown Ubuntu16.04 + 1080下配置Tensorflow

markdown ubuntu16.04修改配置文件禁止系统自动更新

markdown Ubuntu tty我们的菱形乱码