- service.go: 移除无意义的 peerIP = serverIP(对端指向自己),改为 nil - service.go: Configure 之后新增 AddSubnetRoute 调用,确保内核有到 VPN 子网的路由 - tun_linux.go: Configure 增加 peerIP != nil 守卫,nil 时直接走无 peer 分支 - tun_darwin.go: 同上 peerIP != nil 守卫
- service.go: 移除无意义的 peerIP = serverIP(对端指向自己),改为 nil - service.go: Configure 之后新增 AddSubnetRoute 调用,确保内核有到 VPN 子网的路由 - tun_linux.go: Configure 增加 peerIP != nil 守卫,nil 时直接走无 peer 分支 - tun_darwin.go: 同上 peerIP != nil 守卫