-
Notifications
You must be signed in to change notification settings - Fork 370
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
I want to add static route in android #319
Comments
You should look into wireguard app to know how they do it. Must have some android API that make it possible without being root. |
This is not working because of Wireguard already using vpnservice class and i can not use 2nd vpnservice class. |
is there any other way like if i use HTTPS or Socks5, So i don't have to use static route???? |
it seems wstunnel is work on Application layer.all of route is controlled by wireguard.why you have to add static route?if you want to add a route,you should change wireguard config file AllowedIPs option.
|
Describe the goal
I want to add static route in android
Describe what does not work
i have compiled .so files for android anf after running it is showing
Starting UDP server listening cnx on 127.0.0.1:51820 with cnx timeout of 0s
But i can not not add static rout like sudo ip route add ip.of.my.server.com dev eth0 via 192.168.0.1
because it require ROOT access and i am developing app to distribute on play store for public use.
Describe your wstunnel setup
wstunnel client -L 'udp://51820:127.0.0.1:51820?timeout_sec=0' wss://my_server:443/
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: