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

    Unable to Port Forward

    Scheduled Pinned Locked Moved NAT
    6 Posts 2 Posters 1.2k 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.
    • M
      MadCatZA
      last edited by

      Hi there, I have tried everything for the last 2 days but I am unable to Port Forward to my Exchange Server. If I cut out PFsense and go direct, everything works fine so I know my issue is sitting with my PFSense box. Any assistance would be appreciated, my network info below.

      ADSL Router - IP: 192.168.20.1 - Port Forwarding (Port: 25,80,443) to IP: 192.168.20.130

      PFSense Server - IP: 192.168.20.130 (WAN) - IP: 192.168.20.120 (LAN) - Is Running on Windows 7 on VMWare Player (2 NICs - Bridged Mode)

      PF Rules: WAN TCP/UDP * * WAN address 443 (HTTPS) 192.168.20.80 443 (HTTPS)
                    WAN         TCP/UDP * * WAN address 80 (HTTP) 192.168.20.80 80 (HTTP)
                    WAN         TCP/UDP * * WAN address 25 (HTTP) 192.168.20.80 25 (HTTP)

      Exchange Server - IP: 192.168.20.80 (Ports:25,80,443) Are Listening And Working Directly

      Any help would be appreciated, thanks.

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        What? You have WAN and LAN on the same subnet? Plus double-NATing with the crappy ADSL router?

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

          Correct, I think. This is just a test enviroment, not a production one.

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            Your test environment is completely broken. You cannot have WAN and LAN on the same subnet. Also, any port forward done on pfSense needs to be done on the ADSL router as well. Similar "testing" is not useful at all, just a huge PITA.

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

              Thanks for that, I am still new to all of this. I have taken your recommendation and done the following, is this better? I have also started looking into Reverse Proxy

              Router - IP: 192.168.20.1 -> PF - Ports: 25:80:443 ->  PFSense WAN - IP: 192.168.20.130 / LAN: 192.168.30.254 -> Exchange Server - IP: 192.168.30.80 (Listening: 25,80,443)

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

                I managed to come right, thanks for you help.

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