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

    Mail server NAT behind one Public IP

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 1.4k 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.
    • D Offline
      datorkop85
      last edited by

      Hi,

      I want the Mail server that is in VLAN 3 to have its traffic NAT behind one of our public IP (example 85.44.45.40).

      And I want all the other VLANS to have their traffic NAT behind another public IP (example 85.44.45.41).

      How can I do this? I have Virtual IPs but I don't understand if it's on NAT Portfowarding och NAT 1:1 or Manual NAT.

      Please help…

      1 Reply Last reply Reply Quote 0
      • D Offline
        datorkop85
        last edited by

        Any clues anyone? Please help…

        This shouldn't be hard to achieve for anyone who have some experience with pfSense.

        Thanks!

        1 Reply Last reply Reply Quote 0
        • K Offline
          kathampy
          last edited by

          You need to use Manual Outbound NAT and create a rule with source the network as VLAN3 that uses the desired Virtual IP Alias for translation. The order of the rules matter. If a higher rule matches it, it won't work.

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