Jigsaw-Code / outline-apps

Outline Client and Manager, developed by Jigsaw. Outline Manager makes it easy to create your own VPN server. Outline Client lets you share access to your VPN with anyone in your network, giving them access to the free and open internet.
https://getoutline.org/
Apache License 2.0
8.22k stars 1.35k forks source link

Support DNS routing when connecting through Android tethering #1704

Open maikeriva opened 10 months ago

maikeriva commented 10 months ago

Describe the bug Assume the following network structure:

Both the smartphone and the laptop, when connected to the WiFi router, can connect to my Outline server correctly and bypass censorship. When however I activate my phone's wifi tethering and connect my laptop through it (meaning: Router on censored internet <-> Android tethering <-> Laptop) Outline on the laptop seems to connect, but internet is inaccessible (even non-censored websites). Having Outline activated on the smartphone makes apparently no difference (as expected, since tethering traffic cannot be routed through the virtual VPN in Android).

I suspect a routing issue, I am available for troubleshooting guidance.

To reproduce Use a similar setup as outlined above.

Expected behavior Outline should work as it does in a non-tethered setup

Client system (please complete the following information):

maikeriva commented 10 months ago

Investigated a little. External IP is correctly detected to be the Outline server's one. DNS leak test shows that DNS requests are not routed through Outline. Tethering via USB or Wifi leads to same symptoms.

So I guess it is a DNS routing issue. Any idea on why the different behaviour when tethering?