Skip to main content
kinmun
New Member
Apr 12, 2015 11:15 AM UTC
Question

load balancing of smtp servers

i have 2 smtp servers which is load balanced into one single ip single ip address.

we noticed that once we use the VIP for the smtp servers after doing load balancing in the fortigate, we will encounter some issues.

1st issue we saw was that instead of using the pre-assigned external ip address for smtp server, it will show the firewall wan ip address.

2nd issue is some mails will have issue sending out.

does fortigate load balance VIP supports smtp ?

i read the fortiOS handbook, it only talks abt http, there is no mention that smtp will work.

    6 replies

    Christopher_McMullan
    Staff
    Staff
    Apr 13, 2015 7:31 PM UTC

    There are various levels of persistence and methods of load balancing. You're not tied to just using HTTP traffic.

     

    Check the setting of 'nat-source-vip' on the VIP object, and try toggling it:

    config firewall vip

    edit <vip_name>

    get | grep nat-source-vip

    set nat-source-vip {enable | disable}

    end

    reto_gobat
    New Member
    Jun 29, 2016 12:30 PM UTC

    Hello there

     

    Did you solve your problem? Having the same issue here.

    If we connect to the Load Balancing Virtual IP, the Firewall responds with it's own Interface IP instead of the client IP. This is a bit of a problem, because we would like to only allow relay from specific IP addresses.

     

    Thanks

    Carl_Wallmark
    New Member
    Jun 29, 2016 8:01 PM UTC

    reto.gobat wrote:

    Hello there

     

    Did you solve your problem? Having the same issue here.

    If we connect to the Load Balancing Virtual IP, the Firewall responds with it's own Interface IP instead of the client IP. This is a bit of a problem, because we would like to only allow relay from specific IP addresses.

     

    Thanks

    Hi,

     

    I think you have NAT enabled on the firewall of the VIP ? If so, turn it off.

    If it´s enabled, you would see the firewalls IP instead, just like you described it.

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT