l-n-s / wireguard-install

WireGuard VPN server installer
MIT License
657 stars 166 forks source link

Access local LAN resources? #41

Closed StevenNexus closed 5 years ago

StevenNexus commented 5 years ago

Is there a way to configure this script to allow access to local LAN addresses (RFC 1918)? e.g. 192.168.x.x?

Not sure if that is the scope of this script or not. It seems to be able to forward Internet traffic fine, but not able to access anything on my LAN.

I am trying to use my local router's DNS server, so I can resolve local host names, and be able to access devices on my network.

StevenNexus commented 5 years ago

I was able to fix this issue the following way:

  1. Change the Wireguard client configuration to use my local DNS server.
  2. Configure my local DNS server's access control list to allow the Wireguard VPN IP range (10.9.0.0/24).