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

    Using Static Ports on Manual Outbound NAT?

    Scheduled Pinned Locked Moved NAT
    5 Posts 4 Posters 2.5k 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
      Master One
      last edited by

      After fiddling around with my asterisk server behind pfSense for a too long time, I finally could get it to work, by switching to "Manual Outbound NAT rule generation", and enabling "Static Port" for the "Auto created rule for LAN".

      I think I do not really understand that function.

      Is there any disadvantage, if setting "Static Port" for the "Auto created rule for LAN"?
      If not, why is this not enabled by default?

      1 Reply Last reply Reply Quote 0
      • H
        heiko
        last edited by

        Here are some infomations…
        http://doc.pfsense.org/index.php/Static_Port

        1 Reply Last reply Reply Quote 0
        • M
          Master One
          last edited by

          Awkward, I've seen that page before, but I didn't think, that that could be the source of my problems at that time (since all found topics on SIP & NAT pointed to lots of other problems).

          Fact is, that rewriting the source port broke the RTP connections, it was not related to the SIP port (5060) itself.

          Would it really be just fine, to leave it with general static ports, or should I just assign static ports for the defined RTP-range (in my case UDP 10000 - 10200)?

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

            Those are great questions. I was in the same position a few weeks back. I ended up creating a "special" outbound rule for my Asterisk server, but I have the same question regarding benefits or drawbacks of doing it in one way or the other.

            Any explanation by someone who knows would be greatly appreciated.

            Thanks in advance.

            1 Reply Last reply Reply Quote 0
            • GruensFroeschliG
              GruensFroeschli
              last edited by

              @heiko:

              Here are some infomations…
              http://doc.pfsense.org/index.php/Static_Port

              We do what we must, because we can.

              Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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