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

    Can't access port-forwarded/natted services from another local network

    Scheduled Pinned Locked Moved NAT
    5 Posts 2 Posters 12 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.
    • K
      keijei
      last edited by

      I have a network setup with three interfaces: LAN (192.168.50.0/24), WAN (Public IP), and DMZ (192.168.30.0/24). Traffic between the LAN and DMZ is completely blocked.

      There is a service running on 192.168.30.11 using ports X and Y. I created port forwarding rules under Firewall -> NAT -> Port Forwarding that direct incoming traffic from the WAN interface to 192.168.30.11 on those specific ports.

      The issue I'm facing is that my friend, who is on a different network, can access the service just fine. However, I am unable to access it from my LAN (192.168.50.2), even when I try using the public IP and the correct port (for example, Public-IP:Port).

      I have a hunch that this might be related to NAT reflection or loopback, but I'm not entirely sure. I'd appreciate any guidance or suggestions on how to troubleshoot or fix this.

      One of the rules:
      ce7b3f24-f3a3-46da-83ea-8f4974b2240f-image.png

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

        @keijei said in Can't access port-forwarded/natted services from another local network:

        suggestions on how to troubleshoot or fix this.

        Just create a rule on your lan interface that allows access to the ports and the 192.168.30.11 IP.

        There is little reason to do a nat reflection.

        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

        K 1 Reply Last reply Reply Quote 0
        • K
          keijei @johnpoz
          last edited by

          @johnpoz I was thinking about doing this, but I was unsure if it was the right way to go or if it was the "lazy, easy, not-so-safe" way. Thank you for the advice.

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

            @keijei It is the correct way, why would anyone want to bounce off the wan just to be forwarded back into the local side.. Makes zero sense.

            Like wanting to go to the bathroom from the living room - but hey let me go to the front door of the house first.

            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

            K 1 Reply Last reply Reply Quote 0
            • K
              keijei @johnpoz
              last edited by

              @johnpoz I see, thanks for explaining and the help!

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