Navigation

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

    Prevent NAT from translating ports

    NAT
    2
    2
    2069
    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.
    • T
      TiMMY8765 last edited by

      Is it possible to prevent nat from translating udp ports?

      for example, here is what I want:
      192.168.X.X:6112->68.X.X.X:6112->X.X.X.X
      and here is what it does now:
      192.168.X.X:6112->68.X.X.X:45654->X.X.X.X

      I tried port forwarding but that only works with incoming connections.  any help?

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

        Search the forum for "static port". You have to add an outbound nat rule for this and enable advanced outbound nat at firewall>nat, outbound.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post