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

    1 WAN to 2 LAN - Port Routing Problem

    Scheduled Pinned Locked Moved NAT
    4 Posts 3 Posters 710 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.
    • B
      bymiy
      last edited by

      Hello friends,

      First of all, I mean the production. I will tell you the problem that I experienced afterwards.

      Thank you for your interest.

      I created a system with 3 ethernet cards. On Pfsense 2.4.2 installed. Ethernet legs and ropes as follows.

      WAN - PPPOE (78.189.X.X)> HTTPS - 19753 & SSH 19574 (External access is available.)

      LAN - 192.168.2.254> DHCP (192.168.2.10-192.168.2.200) - PCs are coming out by this network.

      CAM - 192.168.3.254> DHCP (192.168.3.10-192.168.3.100) - Camera (NVR) is coming out by this network.

      In this case, when I create NAT by WAN (WAN> WAN address> 19753 Port> 192.168.2.254 & WAN> WAN address> 19574 Port> 192.168.2.254) I can access the pfsense device from outside with both https as webgui and I can do SSH with Putty.

      The problem I'm having here is port routing on the CAM side. When I make NAT to the CAM leg, I can not reach the ports on the CAM side and the jeeps outside. I write the following:

      WAN> WAN address> 23560 TCP Port> 192.168.3.40
      WAN> WAN address> 23561 TCP Port> 192.168.3.40
      WAN> WAN address> 23562 UDP Port> 192.168.3.40

      In other words, I can access LAN LAN from outside by WAN. But I can not access the CAM leg by the WAN. But there is an exit from CAM by the interne. Any PC can be output directly internete.

      I would like your assistance in this regard. I could not find any information on my research. 2 WAN to 1 LAN operations are available everywhere.
      interface-ip.jpg
      interface-ip.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        Are you able to access the cam by its internal IP from a PC in the LAN network?

        1 Reply Last reply Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          Probably the default gateway in the camera.

          https://doc.pfsense.org/index.php/Port_Forward_Troubleshooting

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • B
            bymiy
            last edited by

            Hello friends,

            We solved the problem. Thank you very much for your help with Derelict  :).

            The gateways of NVRs are located at 192.168.3.1. I have updated 192.168.3.254.

            Goodbye.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.