Stateless load-balancer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear nftables team,

I am trying to configure a stateless load-balancer but having problems
with defining different destination ports for different backends, I
would be grateful if you could help me with the configuration.
Nftables documentation states the following command for stateless
load-balancing:

nft add rule t c tcp dport 80 ip daddr set numgen inc mod 2 map { 0 :
192.168.1.100, 1 : 192.168.1.101 }

However this will forward to both backends on port 80, what I want to
achieve is to receive on port 80, but to forward to port 8081 for one
backend and 8082 for other backend and can't get the correct
configuration for stateless forwarding.

Many thanks in advance for your time.

Kind Regards` Armen



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux