阿里雲開啟ipv6通過appstore審核的方法

2022-07-16 04:15:11 字數 1383 閱讀 1151

1、修改 /etc/sysctl.conf 中的配置檔案(沒有就新增)

net.ipv6.conf.all.disable_ipv6 = 0

net.ipv6.conf.default.disable_ipv6 = 0

net.ipv6.conf.lo.disable_ipv6 = 0

2、修改配置檔案 /etc/modprobe.d/disable_ipv6.conf 

options ipv6 disable=0
3、修改配置檔案 /etc/sysconfig/network

networking_ipv6=yes
4、修改配置檔案 /etc/sysconfig/network-scripts/ifcfg-eth0

pv6init=yes

ipv6_autoconf=yes

5、配置完後,重啟伺服器.

6、訪問 註冊乙個賬號

注意:郵箱最好是填163的。

7、登入後

點選 create regular tunnel 建立ipv6隧道,輸入ip位址,選擇離伺服器最近的隧道服務,點選create tunnel

選擇example configurations->linux-route2 

得到modprobe ipv6

ip tunnel add he-ipv6 mode sit remote 216.218.221.6 local (伺服器ip,如果是阿里雲的伺服器就填寫內網位址) ttl 255

ip link set he-ipv6 up

ip addr add 2003:581:48:565::2

/64 dev he-ipv6

ip route add ::/0 dev he-ipv6

ip -f inet6 addr

8、把**複製到伺服器執行。

9、找到resolv.conf 配置,新增谷歌的ipv6 dns伺服器設定,路徑在:/etc/resolv.conf

在配置檔案中追加:

nameserver 2001:4860:4860::8888

nameserver 2001:4860:4860::8844

10、用ping命令測試連線谷歌伺服器

ping6 -c 5 ipv6.google.com

Ubuntu配置開啟ipv6

經驗之談 筆者親測,目前為止以下經驗在ubuntu16.04 lts ubuntu 17.04 lts ubuntu 18.04 lts 均有效果。攻略 前往github,導航欄搜尋ipv6,請自行拷貝修改。sudo gedit etc hosts sudo apt get install mire...

阿里雲centos7建立ipv6隧道

阿里雲ecs的作業系統對於ipv6的支援並未做特別的限制,如果你需要系統能支援ipv6協議,你按照對應的系統的配置方法來配置即可,但目前ecs主機的網路尚不支援ipv6。下面我介紹一下怎麼建立。1.在註冊乙個賬號。2登入到tunnelbroker.net 後,左側導航的 create regular...

家用聯通光纖開啟IPv6

前提是地區運營商支援提供ipv6位址,並且是用聯通光貓進行撥號上網。原文在我的開源中國部落格 本篇文章不保證適用每個光貓,具體操作也可能會導致不同之結果,需自行領會其精神,發生嚴重事故者自行聯絡運營商維修,本人概不負責。首先 進入後台管理頁面 192.168.1.1 cu.html,賬號密碼cuad...