F5F Stay Refreshed Power Users Networks Connecting to the LAN web server via VPN on a gl-inet OpenWRT router

Connecting to the LAN web server via VPN on a gl-inet OpenWRT router

Connecting to the LAN web server via VPN on a gl-inet OpenWRT router

X
xboxfldig
Junior Member
42
06-04-2023, 08:04 AM
#1
You can reach the local server through HTTPS on port 443 from another PC on the LAN using a VPN. For zero-trust, ensure your WireGuard setup is active and the web server points to the LAN IP (192.168.12.2). On the LAN side, configure the DNS server to map the web server URL to that LAN IP instead of redirecting via the public URL. This way, accessing via the LAN IP works without needing a VPN.
X
xboxfldig
06-04-2023, 08:04 AM #1

You can reach the local server through HTTPS on port 443 from another PC on the LAN using a VPN. For zero-trust, ensure your WireGuard setup is active and the web server points to the LAN IP (192.168.12.2). On the LAN side, configure the DNS server to map the web server URL to that LAN IP instead of redirecting via the public URL. This way, accessing via the LAN IP works without needing a VPN.

M
Mr_Panda57_
Member
132
06-04-2023, 03:11 PM
#2
Your network traffic likely passes through the VPN, affecting DNS lookups. Adjusting routing tables might be necessary. This resource serves as a solid starting point. https://www.wireguard.com/netns/
M
Mr_Panda57_
06-04-2023, 03:11 PM #2

Your network traffic likely passes through the VPN, affecting DNS lookups. Adjusting routing tables might be necessary. This resource serves as a solid starting point. https://www.wireguard.com/netns/

B
BobLuvMusic
Member
222
06-04-2023, 05:26 PM
#3
For various reasons, the default DNS settings differed from the router's IP configuration. Once I set the internal IP to 10.0.0.1, everything worked properly.
B
BobLuvMusic
06-04-2023, 05:26 PM #3

For various reasons, the default DNS settings differed from the router's IP configuration. Once I set the internal IP to 10.0.0.1, everything worked properly.