-
-
Notifications
You must be signed in to change notification settings - Fork 11.6k
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
UDP relay doesn't work when kcptun enabled #1201
Comments
Try this: #1090 (comment) |
解决了,方法是在Android客户端把前面的远程端口号换成shadowsocks的端口号,最后在kcp的配置里把remoteaddr配置成kcp的端口号。不过这个解法真tricky,希望能改改Android版的界面 |
It's an unofficial workaround since UDP isn't officially supported by the plugins. |
@1997cui 这个kcptun插件的remoteaddr配置你可以多解释吗? 我设置的UDP remoteaddr在电脑上能使用,但是在安卓上就用不了kcptun。。。 我认为关键问题是怎么配置本地SS来链接到本地的KCPTUN?我试试把SS服务器为127.0.0.1,端口:12948 (kcptun的默认 localaddr端口)但是SS失败反应那么快。。。感觉根本没有启动kcptun的代理。。。 我查到两年前的截图,当时SS有KCP端口可以直接设置,但是现在没有。。。 |
@ryanerwin |
@ryanerwin 访问不了 Access Denied |
UDP relay is not working when kcptun enabled. I guess the reason is that when kcptun enabled, all the traffic (include UDP) is forwarding to kcptun process by shadowsocks, however, kcptun could not handle UDP packet yet.
This could be solved by add a separated "remote port" and "remote address" option, and when kcptun plugin is enabled, create a dedicated shadowsocks process to only deal with UDP relay.
Environment
Configuration
Put an
x
inside the [ ] that applies.The text was updated successfully, but these errors were encountered: