Direct routing error in TUN mode
我发现用pac mode,chatGPT会无法访问,用tun mode可以,但是在tun mode下的路由表中的direct路由有问题:所有大陆的网站都会超时无法访问,所有路由到main的都可以访问。如果选择all-to-main路由表的话,所有网站都可以访问。所以判断是到direct的地方有问题。
PAC模式下的路由表:
$ netstat -r Routing tables
Internet: Destination Gateway Flags Netif Expire default 192.168.0.1 UGScg en0 default link#20 UCSIg bridge100 ! 127 localhost UCS lo0 localhost localhost UH lo0 169.254 link#12 UCS en0 ! 192.168.0 link#12 UCS en0 ! 192.168.0.1/32 link#12 UCS en0 ! 192.168.0.1 f4:6d:2f:e6:fa:b5 UHLWIir en0 1166
TUN模式下路由表
$ netstat -r Routing tables
Internet: Destination Gateway Flags Netif Expire default 10.0.0.1 UGScg utun3 default link#20 UCSIg bridge100 ! 10.0.0.1 10.0.0.0 UHr utun3 62.3.15.157 192.168.0.1 UGSc en0 127 localhost UCS lo0 localhost localhost UH lo0 169.254 link#12 UCS en0 ! 192.168.0 link#12 UCS en0 ! 192.168.0.1/32 link#12 UCS en0 ! 192.168.0.1 f4:6d:2f:e6:fa:b5 UHLWIir en0 1188
查看路由表发现在TUN模式下的默认路由是10.0.0.1,但是我的LAN的网关应该是192.168.0.1。
请问如何修复?谢谢
@livingfree2023 I just updated the documentation, hope it helps you https://github.com/tzmax/V2RayXS#have-you-encountered-a-problem
@livingfree2023 you are invited to join the v1.5.7 beta, If there is a problem, let us keep in touch