F. J. Hohenzollern
F. J. Hohenzollern
> 可以提供Mac下的方法,Linux可能类同,但是windows不清楚,手头没有机器,没测试 > > 因为挂载了VPN,因而你进行ISATAP隧道的IP应该是你在校园网的IP,而不是你的公网IP,这点需要注意。 > [IPV6-tsinghua](https://ipv6.tsinghua.edu.cn/isatap/) > > * Mac下的脚本`thu6tunnel.sh`,应该加入对VPN的检测,如果发现VPN,则使用VPN的IP地址 > > ```shell > #!/bin/sh > #清除IPV6路由表 > route delete -inet6 default > ifconfig gif0 destroy > VPN_IP=`ifconfig utun0...
@atomse 补充:此外,使用https://ipv6.tsinghua.edu.cn/isatap/上的另一种方法时: 打开终端,单独输入以下命令: IP4="我的IPv4地址" # 这里不能有空格 sudo ifconfig gif0 create sudo ifconfig gif0 tunnel $IP4 166.111.21.1 sudo ipconfig set gif0 MANUAL-V6 2402:f000:1:1501:200:5efe:$IP4 64 sudo route add -inet6 ::/0 -interface gif0...
> > @atomse > > 补充:此外,使用[https://ipv6.tsinghua.edu.cn/isatap/上的另一种方法时:](https://ipv6.tsinghua.edu.cn/isatap/%E4%B8%8A%E7%9A%84%E5%8F%A6%E4%B8%80%E7%A7%8D%E6%96%B9%E6%B3%95%E6%97%B6%EF%BC%9A) > > 打开终端,单独输入以下命令: > > IP4="我的IPv4地址" # 这里不能有空格 > > sudo ifconfig gif0 create > > sudo ifconfig gif0 tunnel $IP4 166.111.21.1 > >...
> > @atomse > > 补充:此外,使用[https://ipv6.tsinghua.edu.cn/isatap/上的另一种方法时:](https://ipv6.tsinghua.edu.cn/isatap/%E4%B8%8A%E7%9A%84%E5%8F%A6%E4%B8%80%E7%A7%8D%E6%96%B9%E6%B3%95%E6%97%B6%EF%BC%9A) > > 打开终端,单独输入以下命令: > > IP4="我的IPv4地址" # 这里不能有空格 > > sudo ifconfig gif0 create > > sudo ifconfig gif0 tunnel $IP4 166.111.21.1 > >...