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

    Can I use port aliases for forwarding different external and internal ports?

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 1.9k 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.
    • S
      sofakng
      last edited by

      Let's say I have a ports alias for the following ports:  1000, 1100, and 1200.

      I'd like to NAT/port-forward 40000 plus the internal port as my external port.

      Examples:
        External: 41000 –> Internal: 1000
        External: 41100 --> Internal: 1100

      Do I need two port aliases?  One for internal and another for external?  I've tried but can't seem to get it working...

      1 Reply Last reply Reply Quote 0
      • E
        Efonnes
        last edited by

        pfSense does not currently allow a different alias for the external port and internal port, or at least isn't supposed to but there are potentially ways to get around the validation.  If you do it, you will likely get a broken rule, however.

        1 Reply Last reply Reply Quote 0
        • S
          sofakng
          last edited by

          OK - No big deal.  I'm actually creating my own firewall rule so I guess it wouldn't matter but I'll just manually create the NAT routing.

          Thanks for the help!

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