Hi,

On Mon, Oct 28, Philipp Kolmann wrote:
> I load-balance TCP Port 25 on a haproxy. This works perfect.
> 
> Now I need to check, if the connection is coming for a special host, then a
> different backend smtp server should be used. I thought I could use acl and
> use_backend but this seems only to work for http connections.

What does special host mean in this context ? Is it something you can
get from layer4 (src,src_port,dst,dst_port) or something from
for example SMTP protocol ?

> Has anyone a tip how to achieve this with mode tcp?

If you can get special host from layer4 then for example:
use_backend specialhost if { dst 10.10.10.10 }
might work.

-Jarno

-- 
Jarno Huuskonen

Reply via email to