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

    Force SMTP (25) out on particular WAN

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 511 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.
    • R Offline
      robatwork
      last edited by

      I am in a bit of a state of confusion around policy routing. Would be grateful if someone can give me an example of a rule that will achieve the following - I have read the manual and several posts here and given this several attempts with no joy so far.

      I have 3 WAN connections and 1 LAN.

      Setup an Exchange server and want to force it to only send SMTP out on WAN1.

      Here's what I have done

      1. Setup a gw group called SMTP on Wan1 to be WAN1 Tier1, WAN2 and WAN3 Never. Trigger level Member Down

      2. Setup a floating rule as follows:
        PASS
        IF: LAN
        Direction: OUT
        IPv4
        TCP
        Source ANY
        Dest From Other SMTPport to Other Other SMTPport

      ADvanced/Gateway: SMTP on Wan1

      So - all this does is block SMTP coming IN!

      Changed rule to be IF: WAN1 instead of LAN and although SMTP comes in, it doesn't force SMTP out on this rule.
      So now I don't know if I'm coming or going with in and out - I have gone snow blind with it.

      Many thankis for any help.

      1 Reply Last reply Reply Quote 0
      • R Offline
        robatwork
        last edited by

        Cheeky bump - anyone?  :)

        1 Reply Last reply Reply Quote 0
        • F Offline
          Fabio72
          last edited by

          I'm using the following rule in lan allowing to send email only to my ISP smtp using my ISP gateway

          Capture.PNG
          Capture.PNG_thumb

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