UWNetworksLab / cordova-plugin-tun2socks

Cordova plugin to enable a system-wide VPN for Android devices.
Apache License 2.0
51 stars 24 forks source link

VPN is connection but no internet #18

Open saaiful opened 7 years ago

saaiful commented 7 years ago

I add this plugin to my project and add my working socks IP and port, then VPN is connected but the internet is not available. What to do? I'm using android 7.1.2 and I rebuild the .so

alalamav commented 7 years ago

13 introduces a change to perform DNS over SOCKS/UDP. This assumes that the SOCKS5 server does indeed support UDP. Does your SOCKS support UDP? (Most don't).

A solution could be to check out 2525a261470d1ef9ebea04f9d0a0e9582b89679a, which performs DNS over SOCKS/TCP.

enuoCM commented 6 years ago

@albertolalama How to relay all udp packages? Thanks.