Do not see router WEB GUI from VPN

Started by Inlfwetrust, March 18, 2022, 03:10:04 AM

Previous topic - Next topic
Hello,
I have the Opnsense box with two ethernets, one is getting internet from the modem, and one is connected to the router LAN port.
My router works as a WLAN AccessPoint. It has a static IP address (the same subnet as OpnSense DHCP), so I can access the web interface with this static IP if I am connected to the WIFI. But I do not see the router from DHCP leases - but I can ping it from Diagnostics and see it from the ARP table.
I have a WireGuard server in OpnSense, have access to my LAN from this VPN. But I do not see my Router and can't ping it from VPN.
Is it possible to access my Router's Web Interface from my VPN?

Tried with 2 routers. All the same. OPNsense can ping it, and ARP table is populated only after I ping.
I can access all my devices that are connected to the router with VPN, but not the router. 

Hi,

I access the OPNsense box from the VPN by setting up a Port Forward to the IP of the VPN connection. In the attached image, replace the Redirect target IP with your VPN address. admin_host is a Firewall alias to hosts that are allowed to administer the OPNsense box. admin_ports is a firewall alias for the web GUI port and the ssh port.

-spider

-spider, thanks.
I can access my OpnSense by VPN. But I can not access my router which is working now in Access Point mode.
I suggest I can not access my router with VPN, because it does not have an option to set up a gateway.
So in my router, I put IP in the same subnet as my OpnSense. Is it some way around to access my router's GUI without a gateway?

Hi,

Can you access the router from your firewall?

For example:
# curl 10.99.128.1
<HTML><HEAD><script>top.location.href='/Main_Login.asp';</script>
</HEAD></HTML>

If you can, then maybe you need a static route.

Sorry, if this is a daft reply, I'm still a bit of a n00b when it comes to networking. Sometimes just knowing if works is enough for me.
-spider