|
|
@ -1,60 +1,21 @@ |
|
|
|
|
|
|
|
config interface 'wan1' |
|
|
|
config interface 'wan' |
|
|
|
option enabled '1' |
|
|
|
list track_ip '8.8.4.4' |
|
|
|
option reliability '1' |
|
|
|
option count '1' |
|
|
|
option timeout '2' |
|
|
|
option interval '5' |
|
|
|
option down '3' |
|
|
|
option up '8' |
|
|
|
|
|
|
|
config interface 'wan2' |
|
|
|
option enabled '1' |
|
|
|
list track_ip '8.8.8.8' |
|
|
|
option reliability '1' |
|
|
|
option count '1' |
|
|
|
option timeout '2' |
|
|
|
option interval '5' |
|
|
|
option down '3' |
|
|
|
option up '8' |
|
|
|
|
|
|
|
config interface 'wan3' |
|
|
|
option enabled '1' |
|
|
|
list track_ip '208.67.222.222' |
|
|
|
option reliability '1' |
|
|
|
list track_ip '208.67.220.220' |
|
|
|
option reliability '2' |
|
|
|
option count '1' |
|
|
|
option timeout '2' |
|
|
|
option interval '5' |
|
|
|
option down '3' |
|
|
|
option up '8' |
|
|
|
|
|
|
|
config interface 'wan1_v6' |
|
|
|
option family 'ipv6' |
|
|
|
option enabled '1' |
|
|
|
list track_ip '2001:7b8:1::2' |
|
|
|
option reliability '1' |
|
|
|
option count '1' |
|
|
|
option timeout '2' |
|
|
|
option interval '5' |
|
|
|
option down '3' |
|
|
|
option up '8' |
|
|
|
|
|
|
|
config interface 'wan2_v6' |
|
|
|
option family 'ipv6' |
|
|
|
option enabled '1' |
|
|
|
list track_ip '2001:7b8:2::2' |
|
|
|
option reliability '1' |
|
|
|
option count '1' |
|
|
|
option timeout '2' |
|
|
|
option interval '5' |
|
|
|
option down '3' |
|
|
|
option up '8' |
|
|
|
|
|
|
|
config interface 'wan3_v6' |
|
|
|
option family 'ipv6' |
|
|
|
option enabled '1' |
|
|
|
list track_ip '2001:7b8:3::2' |
|
|
|
config interface 'wan2' |
|
|
|
option enabled '0' |
|
|
|
list track_ip '8.8.8.8' |
|
|
|
list track_ip '208.67.220.220' |
|
|
|
option reliability '1' |
|
|
|
option count '1' |
|
|
|
option timeout '2' |
|
|
@ -62,88 +23,51 @@ config interface 'wan3_v6' |
|
|
|
option down '3' |
|
|
|
option up '8' |
|
|
|
|
|
|
|
config member 'wan1_m1_w1' |
|
|
|
option interface 'wan1' |
|
|
|
config member 'wan_m1_w3' |
|
|
|
option interface 'wan' |
|
|
|
option metric '1' |
|
|
|
option weight '1' |
|
|
|
option weight '3' |
|
|
|
|
|
|
|
config member 'wan2_m1_w1' |
|
|
|
option interface 'wan2' |
|
|
|
option metric '1' |
|
|
|
option weight '1' |
|
|
|
config member 'wan_m2_w3' |
|
|
|
option interface 'wan' |
|
|
|
option metric '2' |
|
|
|
option weight '3' |
|
|
|
|
|
|
|
config member 'wan3_m1_w1' |
|
|
|
option interface 'wan3' |
|
|
|
option metric '1' |
|
|
|
option weight '1' |
|
|
|
|
|
|
|
config member 'wan1_v6_m1_w1' |
|
|
|
option interface 'wan1_v6' |
|
|
|
option metric '1' |
|
|
|
option weight '1' |
|
|
|
|
|
|
|
config member 'wan2_v6_m1_w1' |
|
|
|
option interface 'wan2_v6' |
|
|
|
config member 'wan2_m1_w2' |
|
|
|
option interface 'wan2' |
|
|
|
option metric '1' |
|
|
|
option weight '1' |
|
|
|
option weight '2' |
|
|
|
|
|
|
|
config member 'wan3_v6_m1_w1' |
|
|
|
option interface 'wan3_v6' |
|
|
|
option metric '1' |
|
|
|
option weight '1' |
|
|
|
config member 'wan2_m2_w2' |
|
|
|
option interface 'wan2' |
|
|
|
option metric '2' |
|
|
|
option weight '2' |
|
|
|
|
|
|
|
config policy 'wan1_only' |
|
|
|
list use_member 'wan1_m1_w1' |
|
|
|
config policy 'wan_only' |
|
|
|
list use_member 'wan_m1_w3' |
|
|
|
|
|
|
|
config policy 'wan2_only' |
|
|
|
list use_member 'wan2_m1_w1' |
|
|
|
list use_member 'wan2_m1_w2' |
|
|
|
|
|
|
|
config policy 'wan3_only' |
|
|
|
list use_member 'wan3_m1_w1' |
|
|
|
|
|
|
|
config policy 'wan1_v6_only' |
|
|
|
list use_member 'wan1_v6_m1_w1' |
|
|
|
|
|
|
|
config policy 'wan2_v6_only' |
|
|
|
list use_member 'wan2_v6_m1_w1' |
|
|
|
config policy 'balanced' |
|
|
|
list use_member 'wan_m1_w3' |
|
|
|
list use_member 'wan2_m1_w2' |
|
|
|
|
|
|
|
config policy 'wan3_v6_only' |
|
|
|
list use_member 'wan3_v6_m1_w1' |
|
|
|
config policy 'wan_wan2' |
|
|
|
list use_member 'wan_m1_w3' |
|
|
|
list use_member 'wan2_m2_w2' |
|
|
|
|
|
|
|
config policy 'balanced' |
|
|
|
list use_member 'wan1_m1_w1' |
|
|
|
list use_member 'wan2_m1_w1' |
|
|
|
list use_member 'wan3_m1_w1' |
|
|
|
list use_member 'wan1_v6_m1_w1' |
|
|
|
list use_member 'wan2_v6_m1_w1' |
|
|
|
list use_member 'wan3_v6_m1_w1' |
|
|
|
config policy 'wan2_wan' |
|
|
|
list use_member 'wan_m2_w3' |
|
|
|
list use_member 'wan2_m1_w2' |
|
|
|
|
|
|
|
config rule 'https' |
|
|
|
option src_ip '2001:3::/64' |
|
|
|
option sticky '1' |
|
|
|
option dest_port '443' |
|
|
|
option proto 'tcp' |
|
|
|
option use_policy 'balanced' |
|
|
|
|
|
|
|
config rule 'https2' |
|
|
|
option dest_port '19443' |
|
|
|
option proto 'tcp' |
|
|
|
option use_policy 'balanced' |
|
|
|
option sticky '1' |
|
|
|
|
|
|
|
config rule 'igs' |
|
|
|
option proto 'icmp' |
|
|
|
option family 'ipv4' |
|
|
|
option sticky '1' |
|
|
|
option ipset 'google' |
|
|
|
option use_policy 'balanced' |
|
|
|
|
|
|
|
config rule 'i6gs' |
|
|
|
option proto 'icmpv6' |
|
|
|
option family 'ipv6' |
|
|
|
option sticky '1' |
|
|
|
option ipset 'google' |
|
|
|
option use_policy 'balanced' |
|
|
|
|
|
|
|
config rule 'default_rule' |
|
|
|
option dest_ip '0.0.0.0/0' |
|
|
|
option use_policy 'balanced' |
|
|
|
|