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

    Outbound NAT

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 363 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.
    • G
      geyser
      last edited by

      I have 3 IP addresses assigned via DHCP to my pfSense box. In order to use them, I must have 3 ports and the ISP assigns via DHCP an address to each of the 3 ports.

      I have defined them like this:

      WAN
      DMZ1
      DMZ2

      By default, all traffic goes out the WAN port.

      How do I get traffic from a specific machine (192.168.200.5) to go out DMZ1?

      In the past, I have used outbound NAT and selecting the IP address I want traffic to go out. However, that seems to only work if I have multiple IP addresses bound to a single interface.

      I have looked at Static Routes and Policy Routing but nothing seems to click.

      What is the correct way to route the traffic of a specific machine?

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @geyser
        last edited by

        Well your outbound nat if set to automatic should auto do natting for your 3 different wans.

        You could pick which one is use for what via policy routing.

        https://docs.netgate.com/pfsense/en/latest/multiwan/policy-route.html

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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