Replies: 2 comments 5 replies
-
这个其实我也不是很清楚怎么在windows下解决policy routing问题。 |
Beta Was this translation helpful? Give feedback.
5 replies
-
met this help wanted.
dialer := &net.Dialer{
Control: func(network, address string, c syscall.RawConn) error {
return c.Control(func(fd uintptr) {
bindSocketToInterface6(windows.Handle(fd), uint32(ifce.Index))
})
},
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我是在 windows 下使用,关于路由循环问题,参考 iamwwcposts/articles#57
新增加的代码如下:
在使用-proxy 指定代理的时候,如果协议设置为 socks:// 是正常的,但是改成 direct:// 发现就不太正常了,cpu 占用很高
控制台会一致打印这样的数据
麻烦作者解答一下
Beta Was this translation helpful? Give feedback.
All reactions