ha-proxy and SNAT

Discussion in 'Server Operation' started by shaun666, Feb 26, 2013.

  1. shaun666

    shaun666 New Member

    I've just started with ha-proxy and I would to know if it is possible to configure ha-proxy so that it SNAT's traffic to real servers?

    Suppose I have a server with two physical interfaces

    eth0: 1.1.1.1

    eth1:10.1.1.1

    The real servers are connected to eth1

    Suppose a clients has address 2.2.2.2

    Can ha-proxy rewrite packets from 2.2.2.2 to 10.1.1.1 then rewrite the return packets to 2.2.2.2?

    If so, could someone outline how to do this.

    Many thanks to all who have contributed to ha-proxy...

    Shaun
     

Share This Page