Friday, April 26, 2024

通過Tedero訪問IPv6網絡

Teredo可以穿過路由器上網,對於路由器用戶來說還需要修改teredo的【類型】參數,內網用戶類型不是client而是enterpriseclient。

If it says “Client is in a managed Network” it means teredo has detected that you are in a corperate environment. If that is the case you need to set the Teredo type to Enterprise client “Netsh int ter set state enterpriseclient”.

以上文字來自Microsoft的論壇。

因而問題解決了,在管理員權限的cmd窗口中輸入:
Netsh int ter set state enterpriseclient

對於Windows XP,你可以使用這句命令:
netsh interface ipv6 set teredo enterpriseclient

然後我們再看看teredo狀態:
在命令行中輸入:netsh interface ipv6 show teredo

可以看到teredo連通了!

teredo對於內網用戶上ipv6來說真是福音啊!

附:開啟 Teredo 通道, 提前感受 IPv6 (for 非教育網用戶)
當初Win7剛要出來時,Felix對其“DirectAccess”功能感到十分嚮往,從網上找到資料,發現這只是 Teredo 的一個應用。在其他平台上,也一樣可以輕易開啟 Teredo 從而訪問 IPv6 資源。

Windows XP(SP1+):
netsh interface ipv6 install
netsh interface ipv6 set teredo client

Windows Vista/7:
netsh int ter set state client

Debian/Ubuntu Linux:
sudo apt-get install miredo

Redhat/Fedora Linux:
su -c ‘yum install miredo’
su -c ‘service miredo-client start’

如果經過上面的設置還無法連接,請繼續往下看:
Windows XP:
netsh interface ipv6 set teredo client <服務器地址>.
(注意有個句點)

Windows Vista/7:
netsh int teredo set state client <服務器地址>.
(注意有個句點)

Linux用戶需要修改配置文件並重啟服務:
Debian/Ubuntu:
sudo gedit /etc/miredo.conf

Redhat/Fedora:
su -c ‘dbus-launch gedit miredo.conf’
注釋原來所有的 ServerAddress 段(在前面加上#號),然後增加下面的語句:
ServerAddress <服務器地址>
然後重啟miredo服務
su -c ‘service miredo-client restart’ #Redhat/Fedora
sudo service miredo restart #Debian/Ubuntu

公共Teredo服務器地址列表

* teredo.remlab.net / teredo-debian.remlab.net (法國) (Miredo 默認設置)
* teredo.autotrans.consulintel.com (西班牙)
* teredo.ipv6.microsoft.com (美國 雷蒙德) (Windows XP/2003/Vista/7/2008 系統默認設置)
* teredo.ngix.ne.kr (韓國)
* teredo.managemydedi.com (美國 芝加哥)

打開瀏覽器,輸入網址: ipv6.google.com 並回車,你看到了什麼?

附上引用地址:
老N的博客
Felix Yan blog
網站IPv6服務hosts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.