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

    Access to devices on the LAN side (with private IP)

    Scheduled Pinned Locked Moved NAT
    4 Posts 2 Posters 2.5k 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.
    • T
      tb59427
      last edited by

      Hi all,

      am sure this topic has been covered, by didn't find anything when searching - probably used the wrong search terms.

      I run pfsense behind a fritzbox (DSL router) to provide a Hotspot to members of a gliding club. Setup looks like

      –DSL---[fritzbox]–-192.168.178.xx/24---[pfsense-box]–-LAN/WLAN (192.168.24.xx/24)

      I do have a few devices (webcams) on the LAN side that I would want to access from home. I know how to do this on the fritzbox and have configured it accordingly. So when these cameras are hooked to the fritzbox (i.e. on net 192.168.178.xx), I can access them from the internet.

      Now I want to move them behind pfsense so I have only one system where all access and rules are managed. Is there a way (and if so, which?) to access the cameras from the internet when they are behind pfsense (on net 192.168.24.xx)? Any help or pointers appreciated.

      thanks
      Torsten

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        Well since your behind a double nat.

        You need to forward the ports for your cameras on the fritzbox to the 192.168.178.x address of pfsense wan.  Then on pfsense you need to forward those ports again to the correct IP of your camera on the 192.168.24.0/24 network.

        Or you need to put your pfsense wan IP into the DMZ/exposed host of fritzbox so that all unsolicited traffic hitting your public IP gets forwarded to your pfsense wan IP on the 192.168.178, and then setup your forwards on pfsense to send the specific camera ports to the different 192.168.24 addresses of your cameras

        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
        • T
          tb59427
          last edited by

          Thanks John,

          sounds simple. Will try over the weekend.

          cheers
          Torsten

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            It is simple ;)

            I would look to removing the double nat in the first place, there is rarely a good reason to double nat.

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.