Unable to access Web GUI over VPN

veronaz

Cadet
Joined
Nov 19, 2020
Messages
4
When I am on my network, I can access everything fine but when I VPN in(using my router) I can access everything(jails, VM) but the web gui.

I can ssh into TrueNAS via my router cli and ping it but not from my own cmd prompt on my laptop. I also can ping out from the TrueNAS cli to google and my NextCloud domain.

  • The VPN is giving an IP in the same as TrueNAS
  • There is no rules blocking the IP/Port
  • All of my jails/VMs work
Router: Edgerouter X setup with a L2TP VPN connection on a Win 10 Machine
 

drinking12many

Contributor
Joined
Apr 8, 2012
Messages
148
You should check to see what IP scheme you are getting from the VPN make sure its something different than your internal network, sometimes what happens is that they are using the same IP addressing subnet and it kind of freaks out and it not sure how to route it. Also if you don't have it you may have to add a static route into your router so it knows how to get between your VPN network and your internal network

for example I am using OpenVPN on my router and I had to add these static entries to get to everything inside my openvpn configuration
push "route 192.168.1.0 255.255.255.0"
push "route 192.168.100.0 255.255.255.0"
push "route 192.168.3.0 255.255.255.0"

and then internally on my network I have a cisco switch with routing so I also have.

1605900142261.png
 
Top