Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Accessing modem from internal network

    Scheduled Pinned Locked Moved General pfSense Questions
    17 Posts 5 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AndyRHA
      AndyRH
      last edited by

      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.

      🤷

      o||||o
      7100-1u

      G M 2 Replies Last reply Reply Quote 0
      • G
        gabacho4 Rebel Alliance @AndyRH
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • M
          MacUsers @johnpoz
          last edited by MacUsers

          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:

          1. WAN1 - Static IP from ISP
          2. WAN2 - LTE Dynamic IP
          3. LAN1 - Local network: 10.1.10.1/28
          4. WAN2 Modem - 192.168.1.1

          Virtual IP on WAN2:
          5a5866f0-f714-4c5a-97c6-91330e4da57e-image.png

          Out-bound NAT:
          b688e4a2-32be-41c3-a224-33f1a3978218-image.png
          (I restricted the access only from the LAN1 interface, for the future proofing)

          Firewall rule:
          434fcedc-457a-4f01-abb7-4c38f972c48e-image.png

          The modem rule should (if not must) be placed before any generic rule. And that's all!

          Thanks @johnpoz, again!!

          1 Reply Last reply Reply Quote 0
          • M
            MacUsers @AndyRH
            last edited by

            @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

            JKnottJ 1 Reply Last reply Reply Quote 0
            • JKnottJ
              JKnott @MacUsers
              last edited by

              @macusers

              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.

              PfSense running on Qotom mini PC
              i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
              UniFi AC-Lite access point

              I haven't lost my mind. It's around here...somewhere...

              M 1 Reply Last reply Reply Quote 0
              • M
                MacUsers @JKnott
                last edited by

                @jknott said in Accessing modem from internal network:

                @macusers

                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 and 10.3 and the only thing that come close is a 192/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.

                JKnottJ 1 Reply Last reply Reply Quote 0
                • JKnottJ
                  JKnott @MacUsers
                  last edited by

                  @macusers

                  ????

                  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???

                  PfSense running on Qotom mini PC
                  i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                  UniFi AC-Lite access point

                  I haven't lost my mind. It's around here...somewhere...

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    MacUsers @JKnott
                    last edited by MacUsers

                    @jknott
                    It still works despite not having an internal 192.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.1

                    192.168.100.1 can be accessed without doing any extra steps (don't understand how) but for 192.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

                    johnpozJ JKnottJ 2 Replies Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator @MacUsers
                      last edited by

                      @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.

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • JKnottJ
                        JKnott @MacUsers
                        last edited by

                        @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.

                        PfSense running on Qotom mini PC
                        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                        UniFi AC-Lite access point

                        I haven't lost my mind. It's around here...somewhere...

                        1 Reply Last reply Reply Quote 0
                        • M
                          MacUsers
                          last edited by

                          thanks both @johnpoz & @JKnott! understood!!

                          1 Reply Last reply Reply Quote 0
                          • A astrolabius referenced this topic on
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.