Question

Pihole + Wireguard from Marketplace: keep access to LAN

Hello.

I have a droplet with Pihole + Wireguard from Marketplace. Also i have a lot of services in my local network. In Wireguard for Windows i unchecked “Block untunneled traffic” and i can reach all my local services as always. But not with iPhone or Android:

  • on iphone i can reach local services via IP and port, but not via local domain name. For example, “jellyfin.home” is the domain name for 192.168.100.6:8096; local DNS server for this is 192.168.100.4;
  • on Android i have no access to my LAN at all.

Of course, if i disable the VPN everything works fine. There is no difference between “DNS only VPN” and “Full VPN”. I tried to regenerate configs with “regen-vpn-keys.sh”, no luck.

So, how can i fix it?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

alexdo
Site Moderator
Site Moderator badge
November 30, 2022

Hello, @evgeniydoctor

It is weird that on your iOS device only the local domain name is not working (this might be related to DNS, as it’s trying to resolve the domain name and not picking up the local DNS).

The Android device does not seem to pick up the local network, I’ll recommend you check if it’s actually connected to the correct network. You should not have a different experience from the iOS device.

Regards

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.

© 2023 DigitalOcean, LLC.