Carlos Aguni

Highly motivated self-taught IT analyst. Always learning and ready to explore new skills. An eternal apprentice.


Edgerouter load balancer

15 Aug 2021 »

https://blog.earth-works.com/2015/01/21/lan-to-lan-routing-with-ubiquiti-edgerouter-dual-wan/

configure
set firewall group network-group LAN_NETWORKS network 10.6.0.0/16
set firewall group network-group LAN_NETWORKS network 10.7.0.0/16
commit

configure
show firewall modify
delete firewall modify balance rule 1

set firewall modify balance rule 10 destination group network-group LAN_NETWORKS
set firewall modify balance rule 10 action modify
set firewall modify balance rule 10 modify table main

set firewall modify balance rule 20 action modify
set firewall modify balance rule 20 modify lb-group G
commit