Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教关于端口转发的问题 #5

Closed
egg1234 opened this issue May 25, 2023 · 5 comments
Closed

请教关于端口转发的问题 #5

egg1234 opened this issue May 25, 2023 · 5 comments

Comments

@egg1234
Copy link

egg1234 commented May 25, 2023

vps服务器命令行
./go-shadowsocks2 -s 'ss://AEAD_CHACHA20_POLY1305:your-password@:12345' -verbose --plugin spp-shadowsocks-plugin --plugin-opts "type=server;proto=kcp"

局域网linux客户机端口转发命令行
./go-shadowsocks2 -c 'ss://AEAD_CHACHA20_POLY1305:[email protected]:12345' -verbose --plugin spp-shadowsocks-plugin --plugin-opts "proto=kcp" -u -udptun 0.0.0.0:2408=engage.cloudflareclient.com:2408

然后在局域网的其他机器用warp客户端如nekoray连接这台客户机的2408端口,发现连接没有反应,而且在这台客户机的控制台没有看到任何传入连接的回显日志

但同样是这台vps使用xray的服务端及xray的客户机进行端口转发,局域网的其他机器是可以用warp客户端连通到warp服务器的

请教一下是配置命令参数问题还是spp-shadowsocks-plugin方式不支持udp的端口转发?

@esrrhs
Copy link
Owner

esrrhs commented May 26, 2023

go-shadowsocks2不支持udp转发吧

@egg1234
Copy link
Author

egg1234 commented May 26, 2023

谢谢您的回复!
我是看 “https://github.com/shadowsocks/go-shadowsocks2” 主页上的介绍明确说支持udp tunnel,所以命令也是照抄它上面的,汗啊

@esrrhs
Copy link
Owner

esrrhs commented May 26, 2023

那应该是支持的,估计是使用姿势的问题。试试去掉插件可以吗?

@egg1234
Copy link
Author

egg1234 commented May 26, 2023

查了一下issue,应该是go-shadowsocks2不支持udp转发
shadowsocks/go-shadowsocks2#239

@esrrhs
Copy link
Owner

esrrhs commented May 26, 2023

嗯那破案了

@esrrhs esrrhs closed this as completed May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants