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

    Port Forward multiple ports to a specific port

    Scheduled Pinned Locked Moved NAT
    3 Posts 3 Posters 517 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.
    • F
      fegauthier
      last edited by

      Hi guys!

      I want to port forward range port from 14000 to 15000 to a specific ip and port. Not to a specific range of port. I want that every port between 14000 and 15000 are forware to my local server to the port 13000.

      Can you help me with that? It doesn't work

      Thanks

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        @fegauthier said in Port Forward multiple ports to a specific port:

        It doesn't work

        What doesn't work? We can't read your mind here.

        1 Reply Last reply Reply Quote 0
        • A
          akuma1x
          last edited by akuma1x

          Should be pretty simply, actually...

          First of all, you need to setup an alias for ports 14000 - 15000. See attachment:

          Screen Shot 2019-09-27 at 9.29.00 AM.png

          Then make a port forward on the appropriate interface (I used WAN in the example), using your alias from above as the destination port:

          Screen Shot 2019-09-27 at 9.33.36 AM.png

          Enter the IP address of your server in the "Redirect target IP" box. Let the NAT auto-create the firewall rule, see the bottom of the window, it says "Filter Rule Association". Make sure it says "Add associated filter rule"

          That's all you have to do in pfsense.

          Make sure your server is set to listen on port 13000, and if there is a built-in firewall, like in Windows, it is set to allow traffic thru.

          If this is passing traffic thru the internet and your ISP, you should also make sure your ISP allows ports 14000 - 15000 to pass to you. If they block, you will never get this to work.

          Jeff

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