OPNsense Forum

English Forums => General Discussion => Topic started by: ckruijntjens on October 17, 2022, 07:54:34 PM

Title: upstream wan webinterface not reachable from lan network
Post by: ckruijntjens on October 17, 2022, 07:54:34 PM
Hi All,

I have a question. I have a upstream wan configured in opnsense. This is a fritzbox. I cant not connect to the webinterface from the lan. I can ping the upstream wan(fritzbox) fine.

What am i missing here?
Title: Re: upstream wan webinterface not reachable from lan network
Post by: ckruijntjens on October 18, 2022, 04:39:33 PM
Anyone that can help me?

My lan ip on opnsense is 192.168.2.4
Ip on router isp is 192.168.1.3

I can not connect to the webui from my lan side 192.168.2 range
Title: Re: upstream wan webinterface not reachable from lan network
Post by: Taunt9930 on October 18, 2022, 08:52:02 PM
This should help

https://homenetworkguy.com/how-to/access-your-modem-web-interface-with-opnsense/

Title: Re: upstream wan webinterface not reachable from lan network
Post by: ckruijntjens on October 19, 2022, 01:53:43 PM
Hi Thanks for your reply @Taunt9930.

on my opnsense i have configure the following.

lan interface 192.168.2.4
wan interface 192.168.1.2
modem ip (upstream for opnsense) 192.168.1.3

So the wan nic and modem is in the same subnet. Is this a problem?
When i connect to openvpn my modem is reachable. directly from the lan not? has this something to do that i am using opnsense in kvm machine maybe? nat is working perfectly.
should i change the wan interface ip address range? because i have the lan to any rule active.

Thanks for your help.
Title: Re: upstream wan webinterface not reachable from lan network
Post by: EdwinKM on October 20, 2022, 07:14:56 PM
Another useful guides
https://homenetworkguy.com/how-to/use-opnsense-router-behind-another-router/
https://homenetworkguy.com/how-to/use-static-routing-to-second-opnsense-router-with-nat-disabled-for-homelab/
Title: Re: upstream wan webinterface not reachable from lan network
Post by: ckruijntjens on October 20, 2022, 08:04:23 PM
strange,

whatever i do i can not seem to get it to work. followed all tutorials but can not reach the webinterface of the modem.

When i connect my phone (openvpn) i can access everything. modem webgui and lan.

what could be the issue?
Title: Re: upstream wan webinterface not reachable from lan network
Post by: ckruijntjens on October 21, 2022, 05:51:29 PM
How can i troubleshoot his.

I followed multiple guides with outbound nat and all. But i can not seem to get it working?
Title: Re: upstream wan webinterface not reachable from lan network
Post by: Taunt9930 on October 21, 2022, 06:58:31 PM
What subnet is your device on when you connect via OpenVPN? Does it end up on the same subnet as the modem? The only thing I can think of, is there is an obscure setting somewhere in your modem UI that blocks connections from different subnets - I had that on my N300 VOIP phone - it took ages to work it out! Certainly, if you cannot see anything in your firewall logs blocking the connection, it MUST be the modem itself actively refusing the connection.
Title: Re: upstream wan webinterface not reachable from lan network
Post by: lilsense on October 21, 2022, 07:40:32 PM
Quote from: ckruijntjens on October 21, 2022, 05:51:29 PM
How can i troubleshoot his.

I followed multiple guides with outbound nat and all. But i can not seem to get it working?

If it is too complicated, just disconnect the router and connect your PC to the Fritz box and do whatever configuration you want to do... To be honest this is very simple to follow and you might have missed something int the steps.
Title: Re: upstream wan webinterface not reachable from lan network
Post by: ckruijntjens on October 23, 2022, 02:35:50 PM
Hi,

No when i connect true openvpn i am on a different subnet. but then it works.

and if i am on my lan network i cant connect to it.The modem is not rejecting anything, because when i take opnsense out of it i can connect yust fine.
Title: Re: upstream wan webinterface not reachable from lan network
Post by: Bittabola on February 10, 2024, 10:10:43 PM
My network uses the same subnet as the modem and I still can't reach modem GUI. Any ideas what I should do?