Open 4044ever opened 6 years ago
Sometimes, I also have this problem.
"Unfortunately, if you are on a network that does not allow you to communicate over UDP to the port in your Outline access key, then you cannot connect using the Outline client for Android, iOS, or MacOS. You may be able to connect using a compatible Shadowsocks client that does not require UDP support."
I'm sorry for the trouble. I've seen this issue before. I think we need a mode where the proxy still works if UDP is not available.
@4044ever, are you able to connect to your server using Max Lv's shadowsocks client? https://play.google.com/store/apps/details?id=com.github.shadowsocks
I wonder if things will just work if we ignore the UDP check
We can't just ignore the UDP check: DNS requests will still time out. We need to handle that. It seems we may be able to intercept all DNS requests and force them to go over TCP, which would allow for connectivity, though with some performance degradation (DNS over TCP rather than UDP).
Here is an implementation proposal from @bemasc for the Outline client:
This should have a lot better performance than forcing regular DNS over TCP. And Stubby probably has optimizations to have sockets open with the target server, mitigating connection costs.
@alalamav How hard do you think implementing that would be? @trevj FYI
when I disable the Ubuntu firewall it works can anyone help with configuring ubuntu firewall ??
Outline works mostly wonderful for me. But it happened a few times on some wifi networks that I can't connect due to UDP error.
Is there are workaround for this issue?
(I posted it under 'server', I believe the solution would be with the server rather than the client. Correct me if wrong.)