Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4832

Route traffic by destination port

$
0
0

Hi,

I would like to know if it’s possible to route the traffic by destination port to the same server and port ?

For example :

frontend tcp_balancing
mode tcp
bind    *:9000
bind    *:9001

use_backend tcp_9000   if dst-port int(9000)
use_backend tcp_9001   if dst-port int(9001)

backend tcp_9000
    mode tcp
    server myserver check

backend tcp_9001
    mode tcp
    server myserver check

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4832

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>