Wiregaurd - Access to internet only?


jj_uk

Recommended Posts

Previously, using OpenVPN, a connected client could only access the internet, and not any lan addresses.

This allowed for phones to connect back to my home network for internet access only; as my router dns is pointing to pihole, it allowed 4G/5G phones to have adblocking when not connected to my home wifi.

 

I'm trying to reproduce this with wiregaurd, but I can't figure it out.   I can connect, but I still have access to all LAN addresses.

 

How can I block access to LAN addresses?

Link to comment

Completely blocking access to the LAN is not one of the built-in use cases:  

 

But on the Settings -> VPN Manager page, switch from Basic to Advanced view. Turn on the help and read about the Local Tunnel Firewall.

 

This is not a feature I have used, but it might work for your use case.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.