Force SMTP (25) out on particular WAN



  • 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.



  • Cheeky bump - anyone?  :)



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



Log in to reply