Hello,

I have the same need.

> What you want to look at is "source" keyword.

I added

  source 192.168.1.1

in my backend, but it doesn't change anything, the outgoing IP is
still the old one, including for the monitoring checks.

I set the source IP as the same of fronting bind ip, maybe I didn't
understand the doc ?

backend WEBSITE
        server          website1 192.168.1.2:80 cookie website1 check
inter 5000 rise 2 fall 2 weight 5
        server          website2 192.168.1.3:80 cookie website2 check
inter 5000 rise 2 fall 2 weight 5
        source          192.168.1.1

frontend website
        bind            192.168.1.1:80
        default_backend WEBSITE

Do you have any tip about that ?

Thanks,

Neri

Reply via email to