How to bypass spesific dest address from load balancer

load-balancing

#1

i use VyOs 1.1.8 about 3 months for wan load balancer with per packet classifier.

But some dest address prevent we dynamically ip public,
when i try to use another router without load balance, it reach dest address.
So I wanna try to bypass some dest address from load balancer.

Is it possible in vyos?

Thanks


#2

Hello, @adew07!
Of course, you can use exclude option or destination address with inversion. In VyOS 1.2:

vyos@vyos# set load-balancing wan rule 10 
Possible completions:
   description  Description for this rule
 > destination  Destination
   exclude      Exclude packets matching this rule from wan load balance <=== you need this ===
   failover     Enable failover for packets matching this rule from wan load balance
   inbound-interface
                Inbound interface name (e.g., "eth0") [REQUIRED]
+> interface    Interface name [REQUIRED]
 > limit        Enable packet limit for this rule
   per-packet-balancing
                Option to match traffic per-packet instead of the default, per-flow
   protocol     Protocol to match
 > source       Source information

[edit]
vyos@vyos# set load-balancing wan rule 10 destination address 
Possible completions:
   <x.x.x.x>    IP address to match
   <x.x.x.x/x>  Subnet to match
   <x.x.x.x>-<x.x.x.x>
                IP range to match
   !<x.x.x.x>   Match everything except the specified address <=== or this ===
   !<x.x.x.x/x> Match everything except the specified subnet
   !<x.x.x.x>-<x.x.x.x>
                Match everything except the specified range