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

    Mail server outbound traffic

    NAT
    2
    3
    1.3k
    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.
    • C
      costasppc
      last edited by

      Hello

      We are setting up a PFSense in a site that has two WANs and an internal mail server. Mail server must use the one of the WANs to send mail. Do I need an manual outbound NAT for this or just a firewall LAN>WAN rule?

      Best regards

      Kostas

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        A rule on LAN with a gateway set will direct outbound connections to a specific WAN.

        Outbound NAT only controls what happens to traffic as it leaves a specific WAN. If you need the mail server to use a specific VIP on a WAN, then you'd need outbound NAT or 1:1 setup for that.

        WAN rules only control inbound.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • C
          costasppc
          last edited by

          Thank you.

          No, I don't need to use a VIP (I have one static IP per WAN). I need the mail server to use the specific WAN to send mail outside and if this line is down, it will not send.

          So I need a LAN to WAN rule.

          Best regards

          Kostas

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