For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

1 Reply

  • Hi,

    Yes, just see below my lab configuration

    ltm virtual vs_mariadb {
        destination 192.168.1.10:mysql
        ip-protocol tcp
        mask 255.255.255.255
        persist {
            source_addr {
                default yes
            }
        }
        pool pool_smtp
        profiles {
            fastL4 { }
        }
        source 0.0.0.0/0
        source-address-translation {
            type automap
        }
        translate-address enabled
        translate-port enabled
        vs-index 4
    }
    
    ltm pool pool_mariadb {
        members {
            192.168.1.1:mysql {
                address 192.168.1.1
                session monitor-enabled
                state down
            }
            192.168.1.2:mysql {
                address 192.168.1.2
                session monitor-enabled
                state down
            }
            192.168.1.3:mysql {
                address 192.168.1.3
                session monitor-enabled
                state down
            }
        }
        monitor tcp_half_open
    }
    

    You can also change the default tcp monitor by a custom mysql monitor :

    ltm monitor mysql monitor_mariadb {
        count 0
        debug no
        defaults-from mysql
        destination *:*
        interval 30
        recv none
        send none
        time-until-up 0
        timeout 91
        username haproxy
    }