Accessing modem from internal network
-
@andyrh your setup works because the att modem is providing your pfsense an ip via dhcp. Even though the ip range is different than your att router ip both the att and the pfsense devices know the routing accordingly.
-
Thanks @johnpoz, it worked!
I also had to setup a F/W rule to allow the traffic from my
LAN net
to make it work.This is actually a test setup for the multi-WAN fail-over testing and for the completeness, this is what I did:
WAN1
- Static IP from ISPWAN2
- LTE Dynamic IPLAN1
- Local network: 10.1.10.1/28WAN2 Modem
- 192.168.1.1
Virtual IP on WAN2:
Out-bound NAT:
(I restricted the access only from theLAN1
interface, for the future proofing)Firewall rule:
The modem rule should (if not must) be placed before any generic rule. And that's all!
Thanks @johnpoz, again!!
-
@andyrh said in Accessing modem from internal network:
Your responses leave me wondering why mine works. My ATT router is in DMZ mode and gives pfSense an address of 75.som.thi.ng, but if I type 192.168.1.254 in the address bar of a browser the router menu pops up and I can do what I need.
I have not added any rules to get to the ATT router. Worked like this from day 1.This is the part I didn't understand as well (but was lazy to investigate). My Virgin modem runs in modem-mode, so hands over the public IP (static, in my case) straight to pfSense. The Virgin modem admin-page run on local
192.168.100.1
address. I can also access the BB modem homepage from internal network, with out doing any extra step(s). Not sure how that works or pfSense figures that out.-S
-
That's common. I can do the same using 10.0.0.1. This is done by the modem, not pfsense. What pfsense does is forward any addresses that are not on the local LAN out to the default gateway. The modem is in a position to intercept that address. I bet if you had a 192.168.100.0 subnet, then it wouldn't work.
-
@jknott said in Accessing modem from internal network:
I bet if you had a 192.168.100.0 subnet, then it wouldn't work.
that's the problem - I don't. My entire network rums on
10.1
,10.2
and10.3
and the only thing that come close is a192/168/60.0/28
subnet for my guest WiFi.and in fact, apart from this LTE providing dynamic IP, there is no such different between my BB modem and this LTE modem, in terms how they both connected to pfSense.
I'd like to know what I"m missing here.
-
????
Are you saying it works? Or it doesn't? I thought you were wondering how you could get to it. If you can and there's no 192.168.100.0 subnet then that's normal. Are you now saying it doesn't work???
-
@jknott
It still works despite not having an internal192.168.100.x
subnet, which I struggle to understand how.And if it was common/normal, then why I had to do all of the stuff that I mentioned above, for the LTE modem.
Just to clarify:
WAN1
- VMB Cable Modem: 192.168.100.1
WAN2
- LTE/Mobile Modem: 192.168.1.1192.168.100.1
can be accessed without doing any extra steps (don't understand how) but for192.168.1.1
need those VIP and NAT etc.Both running in pure modem-mode but WAN1 with static IP and WAN2 with dynamic IP - that's the difference, mostly.
-S -
@macusers said in Accessing modem from internal network:
192.168.100.1 can be accessed without doing any extra steps
Yeah I can access my cable modem without having to do the nat/vip stuff as well.. All depends on what the modem does.. Pfsense doesn't know where to send 192.168.100.1 - so it goes towards your default gateway.. The modem says hey thats me!! and answers.
Only reason I show the nat/vip stuff is be it you "have" to or not.. Its the correct way to access another L3 network that sits on your wan L2.. Which is what the modems rfc1918 address is when your getting a public IP on your wan, etc.
-
@macusers said in Accessing modem from internal network:
It still works despite not having an internal 192.168.100.x subnet, which I struggle to understand how.
As I said, since pfsense doesn't have that address on a network it knows about, it sends the packet to the gateway. This means it passes through the modem, which can then intercept it. Your modem is configured to accept any packet from your network to that address.
-
-