2 ISP balancing script example
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kolan Sh 56eb2e7bfd auto ip/net/gw + test 3 weeks ago
trash Initial commit 1 month ago
README kernel config 1 month ago
opennet_balancing.sh auto ip/net/gw + test 3 weeks ago
sites.url auto ip/net/gw + test 3 weeks ago
test.sh auto ip/net/gw + test 3 weeks ago

README

=== KERNEL CONFIG ===
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_NF_CONNTRACK_MARK=y
CONFIG_NETFILTER_XT_CONNMARK=m
CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
CONFIG_FIB_RULES=y

=== SET IDENTICAL METRICS ===
sudo route add 0.0.0.0 via 192.168.2.3 metric 600
sudo route add default via 192.168.2.3 metric 600
sudo route add 0.0.0.0/0 via 192.168.2.3 metric 600
sudo route add 0.0.0.0/0 gw 192.168.2.3 metric 600
sudo route del 0.0.0.0/0 gw 192.168.2.3 metric 600
sudo route add 0.0.0.0/0 gw 192.168.2.3 metric 600
sudo route del 0.0.0.0/0 gw 192.168.2.3 metric 600
sudo route add default gw 192.168.2.3 metric 600
sudo route del default gw 192.168.2.3 metric 600
sudo route del default gw 192.168.2.3 metric 600
set ipv4.route-metric 100
sudo set ipv4.route-metric 100
sudo route add default gw 192.168.2.3 metric 100
sudo route add default gw 192.168.2.3 metric 100 link table 102
sudo ip route delete default via 192.168.43.1 dev wifi0 metric 100
rm 'set ipv4.route-metric 100'
sudo ip route del default via 192.168.43.1 dev wifi0 proto dhcp metric 100
sudo ip route del default via 192.168.2.2 dev wan0 proto static metric 100
sudo ip route del default via 192.168.2.2 dev wan0 proto static metric 100