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

    Outbound NAT a specific port

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 291 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.
    • A
      AdamTheManTyler
      last edited by AdamTheManTyler

      Can someone give me a hand. I am doing Manual outbound NAT and I would like to send only TCP/UDP 53 out an interface named WAN instead of WAN2 from the 192.168.71.0/24 internal network. When confirming with packet capture, my port 53 NAT rules seem to be ignored. WAN2 is still used for 53 (DNS traffic.)

      6b449e40-3942-466c-9e59-e8be9229ab61-image.png

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        The outbound NAT does no routing, it does only NAT!

        If you want to route out specific traffic from a certain subnet to a specific gateway you have to add a policy routing rule aside from the outbound NAT rule.

        A 1 Reply Last reply Reply Quote 1
        • A
          AdamTheManTyler @viragomann
          last edited by

          @viragomann Ah crap, yes I remember this now. Thanks for the reminder, working now.

          -Adam

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