XX-net / XX-Net

A proxy tool to bypass GFW.
33.03k stars 7.69k forks source link

升到3.7.16 ipv6连不上了 #8265

Open leoxxnet opened 6 years ago

leoxxnet commented 6 years ago

3.7.9还好好的,今天升到3.7.16 IPV6连不上了,重新按照开启ipv6的步骤走了几遍还是不行, Teredo 参数

类型 : enterpriseclient (Group Policy) 服务器名称 : teredo.remlab.net (Group Policy) 客户端刷新间隔 : 30 秒 客户端端口 : unspecified 状态 : offline 错误 : 未能打开隧道适配器

也运行了程序目录内的 enable_ipv6.bat,无效

请教大神帮忙,谢谢!

XX-Net Status:

sys-platform: AMD64, Windows-10-10.0.15063 os-system: Windows os-version: 10.0.15063 os-release: 10 os-detail: Version:10-0; Build:15063; Platform:2; CSD:; ServicePack:0-0; Suite:256; ProductType:0 architecture: 32bit,WindowsPE browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 xxnet-version: 3.7.16 python-version: 2.7.13 openssl-version: 16.0.0 TLSv1_2 h2:alpn ipv6-tunnel: disable use-ipv6: force_ipv6 gws-ip-num: total:0 ipv4:0 ipv6:0 ipv4-status: OK ipv6-status: Fail connected-link: new:0 used:0 worker: h1:0 h2:0 scan-ip-thread-num: 100 ip-quality: 9999 is-idle: 0 block-stat: OK proxy_state: OK ca_state: OK Appid_Working: true Appids_Out_Of_Quota: false Appids_Not_Exist: false Using_Public_Appid: false

ghost commented 6 years ago

use-ipv6: force_ipv6改为auto,退出XX-Net,先运行程序目录内的disable_ipv6.bat ,再运行enable_ipv6.bat 正常后启动XX-Net

leoxxnet commented 6 years ago

我试了两次,难后重启电脑又试了一次,还是不行

ghost commented 6 years ago

https://github.com/XX-net/XX-Net/wiki/IPv6-Win7-%E5%B0%8F%E7%99%BD%E6%8C%87%E5%BC%95 2.恢复IPv6组策略默认设置并 use-ipv6: force_ipv6改为auto, 再:退出XX-Net,先运行程序目录内的disable_ipv6.bat 或多次,再运行enable_ipv6.bat 最后才能启动XX-Net

ghost commented 6 years ago

我的IPv6组策略默认设置,一切正常,退出XX-Net,运行disable_ipv6.bat ,回到不正常。 退出XX-Net,再运行enable_ipv6.bat 回到正常。 但如果没退出XX-Net,运行disable_ipv6.bat 或 enable_ipv6.bat 或许会不正常!

ghost commented 6 years ago

没必要重启电脑

leoxxnet commented 6 years ago

非常感觉你耐心的指导!!! 现在IPv6 Tunnel值从disable变成enable,Teredo状态变成dormant,但还是连不上 Teredo 参数

类型 : enterpriseclient 服务器名称 : teredo.remlab.net 客户端刷新间隔 : 30 秒 客户端端口 : unspecified 状态 : dormant

附上诊断说明: XX-Net Status:

sys-platform: AMD64, Windows-10-10.0.15063 os-system: Windows os-version: 10.0.15063 os-release: 10 os-detail: Version:10-0; Build:15063; Platform:2; CSD:; ServicePack:0-0; Suite:256; ProductType:0 architecture: 32bit,WindowsPE browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 xxnet-version: 3.7.16 python-version: 2.7.13 openssl-version: 16.0.0 TLSv1_2 h2:alpn ipv6-tunnel: enable use-ipv6: auto gws-ip-num: total:0 ipv4:0 ipv6:0 ipv4-status: OK ipv6-status: Fail connected-link: new:0 used:0 worker: h1:0 h2:0 scan-ip-thread-num: 100 ip-quality: 9999 is-idle: 0 block-stat: OK proxy_state: OK ca_state: OK Appid_Working: true Appids_Out_Of_Quota: false Appids_Not_Exist: false Using_Public_Appid: false

ghost commented 6 years ago

得扫描一定时间才会正常,或退出XX-Net,再运行enable_ipv6.bat 多一次?

leoxxnet commented 6 years ago

问题是IPv6测试还是失败的:

使用 IPv4 域名记录进行测试 |   | 成功 (0.914s) 使用 ipv4 使用 IPv6 域名记录进行测试 |   | 失败 (0.400s) 使用双栈域名记录进行测试 |   | 成功 (0.955s) 使用 ipv4 双栈域名和大封包测试 |   | 成功 (0.884s) 使用 ipv4 不使用域名的 IPv4 测试 |   | 成功 (0.398s) 使用 ipv4 不使用域名的 IPv6 测试 |   | 失败 (0.011s) IPv6 大封包测试 |   | 失败 (1.534s) 测试您 ISP 的域名服务器是否使用 IPv6 |   | 超时 (11.684s) 查找IPv4服务提供商 |   | 成功 (0.948s) 使用 ipv4 ASN 4134 查找IPv6服务提供商 |   | 失败 (0.444s)

ghost commented 6 years ago

https://support.microsoft.com/zh-cn/help/929852/how-to-disable-ipv6-or-its-components-in-windows 在所有隧道接口上重新启用 IPv6 运行 MicrosoftEasyFix20173.mini.diagcab

2609665 commented 6 years ago

# IPv6 Tunnel | probe (primary server)啥情况????

XX-Net Status:

sys-platform: AMD64, Windows-7-6.1.7601-SP1 os-system: Windows os-version: 6.1.7601 os-release: 7 os-detail: Version:6-1; Build:7601; Platform:2; CSD:Service Pack 1; ServicePack:1-0; Suite:256; ProductType:0 architecture: 32bit,WindowsPE browser: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36 xxnet-version: 3.7.16 python-version: 2.7.13 openssl-version: 16.0.0 TLSv1_2 h2:alpn ipv6-tunnel: probe (primary server) use-ipv6: force_ipv6 gws-ip-num: total:6000 ipv4:0 ipv6:6000 ipv4-status: OK ipv6-status: Fail connected-link: new:0 used:0 worker: h1:0 h2:0 scan-ip-thread-num: 50 ip-quality: 236 is-idle: 0 block-stat: OK proxy_state: OK ca_state: OK Appid_Working: true Appids_Out_Of_Quota: false Appids_Not_Exist: false Using_Public_Appid: false

ghost commented 6 years ago

试试按4楼的做法

2609665 commented 6 years ago

ipv6隧道现在每天半夜都是断断续续,差不多是从3.7.10开始, 换了几个teredo服务器都是这样. 而且在没有使用XX全局代理的情况下影响一些正常不需要代理的网站SwitchyOmega里也设置了不代理的地址列表 , 但是这些网站经常就在开着XX的时候打不开,而有时候又能打开,不知道什么原因!

leoxxnet commented 6 years ago

运行 MicrosoftEasyFix20173.mini.diagcab 还是不行,我重新运行一次disable_ipv6.bat ,和enable_ipv6.bat后再运行 MicrosoftEasyFix20173.mini.diagcab 就解决了, 非常感谢 @gjbg1989

ghost commented 6 years ago

@2609665 断断续续——貌似网页刷新下就好 SwitchyOmega里也设置了不代理的地址列表?那“自动切换”可:默认情景模式为直接连接,规则列表规则为某某代理又是干啥的? 规则列表网址 https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt

2609665 commented 6 years ago

@gjbg1989 刷新网页也是不行的,只能等它自己过一会又连上teredo服务器了才又正常,断的时候开始刷新XX的状态页面 都还显示是IPv6 Tunnel | enable 刷新几次后就变为probe至disable了 过大概几分钟到十几分钟后自己又好了!白天好像还正常点不太断,就是半夜就不正常了,换teredo服务器依旧如此. qq 20171112133640

qq 20171112133814

SwitchyOmega我默认用的自动切换,然后将一些经常用到的地址自己添加进自动切换规则,并没有使用网络规则列表 https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt 的规则,因为有时候有些网站里的元素服务的连接地址并不一定是原网站的域,所以偶尔我会切换到GoAgent来全局代理,但是我又不能让这些正常使用的网站过代理,我就在GoAgent的规则下添加了一些不需要代理的网站域名规则.现在的问题是,开着XX代理的时候,很多时候这些不需要过代理的网站会打不开,偶尔又能恢复正常,实在不解!不确定是XX的问题还是SwitchyOmega的问题了!

onplus commented 6 years ago

@2609665 你这种情况可以不用switchyomega,尝试一下cow https://github.com/cyfdecyf/cow

2609665 commented 6 years ago

@onplus 没用过这个 等下试试看!

leoxxnet commented 6 years ago

今天开机又连不上了,运行enable_ipv6.bat无效, 重新运行一次disable_ipv6.bat ,和enable_ipv6.bat后可以连上了, 是否每次连接都要这样操作?还是我哪里设置出问题了?谢谢! @gjbg1989

ghost commented 6 years ago

没见过,莫非传说中的系统服务IP Helper不是开机自动启动?

leoxxnet commented 6 years ago

刚看一下IP Helper是手动的,已改为自动,谢谢!

lidegang1123 commented 6 years ago

感谢@gjbg1989 ,设置DNS后,多次disable IPV6再启用成功

leoxxnet commented 6 years ago

@gjbg1989 今天IPv6又上不了,重新运行一次disable_ipv6.bat ,和enable_ipv6.bat后可以连上了,IP helper是自动的,是不是哪里设置还有问题? 我看到IP 转换配置服务是手动的,跟这个有关吗?

Teredo 参数

类型 : enterpriseclient 服务器名称 : teredo.remlab.net 客户端刷新间隔 : 30 秒 客户端端口 : unspecified 状态 : offline 错误 : 未能打开隧道适配器

XX-Net Status:

sys-platform: AMD64, Windows-10-10.0.15063 os-system: Windows os-version: 10.0.15063 os-release: 10 os-detail: Version:10-0; Build:15063; Platform:2; CSD:; ServicePack:0-0; Suite:256; ProductType:0 architecture: 32bit,WindowsPE browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 xxnet-version: 3.7.17 python-version: 2.7.13 openssl-version: 16.0.0 TLSv1_2 h2:alpn use-ipv6: auto gws-ip-num: total:6000 ipv4:1 ipv6:4492 ipv4-status: OK ipv6-status: Fail connected-link: new:0 used:0 worker: h1:0 h2:0 scan-ip-thread-num: 100 ip-quality: 368 is-idle: 0 block-stat: OK proxy_state: OK ca_state: OK Appid_Working: true Appids_Out_Of_Quota: false Appids_Not_Exist: false Using_Public_Appid: false

ghost commented 6 years ago

先请教下:IP 转换配置服务是哪个? disable_ipv6.bat enable_ipv6.bat 不行可多次运行下,前提是IP helper自动且已启动,组策略IPV6项全部默认设置:未配置

leoxxnet commented 6 years ago

image

ghost commented 6 years ago

谢谢! 看到IP 转换配置服务是手动的,跟这个有关吗?——貌似无关,正常的也手动

leoxxnet commented 6 years ago

@gjbg1989 这两天感觉访问国内网站变慢了,有时候一个网站要点两三次才能连接,麻烦帮忙看一下好吗

XX-Net Status:

sys-platform: AMD64, Windows-10-10.0.15063 os-system: Windows os-version: 10.0.15063 os-release: 10 os-detail: Version:10-0; Build:15063; Platform:2; CSD:; ServicePack:0-0; Suite:256; ProductType:0 architecture: 32bit,WindowsPE browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 xxnet-version: 3.8.2 python-version: 2.7.13 openssl-version: 16.0.0 TLSv1_2 h2:alpn use-ipv6: auto gws-ip-num: total:6000 ipv4:0 ipv6:6001 ipv4-status: OK ipv6-status: OK connected-link: new:2 used:0 worker: h1:34 h2:0 scan-ip-thread-num: 100 ip-quality: 351 is-idle: 0 block-stat: OK proxy_state: OK ca_state: OK Appid_Working: true Appids_Out_Of_Quota: false Appids_Not_Exist: false Using_Public_Appid: false

ghost commented 6 years ago

gws-ip-num: total:6000 ipv4:0 ipv6:6001 scan-ip-thread-num: 100 改小到10或以内,貌似有大佬说了,大未必好,再说你 ipv6:6001了 同时 use-ipv6: auto 可试试 force ipv6 并 netsh int ipv6 show teredo state 贴结果看看

ghost commented 6 years ago

这两天感觉访问国内网站变慢了——莫非不必走代理的也走了代理?使用的浏览器、代理插件及设置。。。

leoxxnet commented 6 years ago

@gjbg1989

Teredo 参数

类型 : enterpriseclient 服务器名称 : teredo.remlab.net 客户端刷新间隔 : 30 秒 客户端端口 : unspecified 状态 : qualified 客户端类型 : teredo client 网络 : unmanaged NAT : restricted (port) NAT 特殊行为 : UPNP: 否,PortPreserving: 否

XX-Net Status:

sys-platform: AMD64, Windows-10-10.0.15063 os-system: Windows os-version: 10.0.15063 os-release: 10 os-detail: Version:10-0; Build:15063; Platform:2; CSD:; ServicePack:0-0; Suite:256; ProductType:0 architecture: 32bit,WindowsPE browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 xxnet-version: 3.8.2 python-version: 2.7.13 openssl-version: 16.0.0 TLSv1_2 h2:alpn use-ipv6: force_ipv6 gws-ip-num: total:6000 ipv4:0 ipv6:6001 ipv4-status: OK ipv6-status: OK connected-link: new:0 used:0 worker: h1:20 h2:0 scan-ip-thread-num: 10 ip-quality: 359 is-idle: 0 block-stat: OK proxy_state: OK ca_state: OK Appid_Working: true Appids_Out_Of_Quota: false Appids_Not_Exist: false Using_Public_Appid: false

ghost commented 6 years ago

NAT : restricted (port)——受限,改 teredo.remlab.net 为微软服务器或许更稳定 netsh interface teredo set state server=win10.ipv6.microsoft.com

ghost commented 6 years ago

如想改回 netsh interface teredo set state server=teredo.remlab.net

leoxxnet commented 6 years ago

@gjbg1989 改win10.ipv6.microsoft.com后还是restricted

类型 : enterpriseclient 服务器名称 : win10.ipv6.microsoft.com 客户端刷新间隔 : 30 秒 客户端端口 : unspecified 状态 : qualified 客户端类型 : teredo client 网络 : unmanaged NAT : restricted (port) NAT 特殊行为 : UPNP: 否,PortPreserving: 否

leoxxnet commented 6 years ago

@gjbg1989 对了,我访问国内网站是用360浏览器,访问国外网站才用google浏览器, 以前一直都没问题,这两天才感觉访问国内网站有异常

ghost commented 6 years ago

NAT : restricted (port) 没变,退出XX-Net,先disable_ipv6.bat,再enable_ipv6.bat

ghost commented 6 years ago

访问国内网站是用360浏览器,访问国外网站才用google浏览器——google浏览器用代理插件,选自动切换模式即可,没必要360

leoxxnet commented 6 years ago

NAT : restricted (port) 没变,退出XX-Net,先disable_ipv6.bat,再enable_ipv6.bat ------NAT : restricted (port) 仍然没变 Teredo 参数

类型 : client 服务器名称 : win10.ipv6.microsoft.com 客户端刷新间隔 : 30 秒 客户端端口 : unspecified 状态 : qualified 客户端类型 : teredo client 网络 : unmanaged NAT : restricted (port) NAT 特殊行为 : UPNP: 否,PortPreserving: 否

ghost commented 6 years ago

退出XX-Net, netsh interface teredo set state default netsh interface ipv6 set teredo enterpriseclient

leoxxnet commented 6 years ago

@gjbg1989 试了两遍还是一样

Teredo 参数

类型 : enterpriseclient 服务器名称 : win10.ipv6.microsoft.com 客户端刷新间隔 : 30 秒 客户端端口 : unspecified 状态 : qualified 客户端类型 : teredo client 网络 : unmanaged NAT : restricted (port) NAT 特殊行为 : UPNP: 否,PortPreserving: 否

ghost commented 6 years ago

试试弃用 ISP 商DNS为其它。。。 https://github.com/XX-net/XX-Net/issues/8550

ghost commented 6 years ago

退出XX-Net——当心某版本不能完全退出,需结束进程才行