generated from P3TERX/Actions-OpenWrt
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
150 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
|
||
config globals 'globals' | ||
option mmx_mask '0x3F00' | ||
option rtmon_interval '5' | ||
option local_source 'lan' | ||
|
||
config interface 'wan' | ||
option enabled '1' | ||
option family 'ipv4' | ||
option reliability '2' | ||
option count '1' | ||
option timeout '2' | ||
option interval '5' | ||
option down '3' | ||
list track_ip '114.114.114.114' | ||
list track_ip '223.6.6.6' | ||
list track_ip '208.67.222.222' | ||
list track_ip '208.67.220.220' | ||
list track_ip '223.5.5.5' | ||
option track_method 'ping' | ||
option size '56' | ||
option check_quality '0' | ||
option failure_interval '5' | ||
option recovery_interval '5' | ||
option up '5' | ||
option initial_state 'offline' | ||
option flush_conntrack 'always' | ||
|
||
config member 'wan_m1_w3' | ||
option interface 'wan' | ||
option metric '1' | ||
option weight '3' | ||
|
||
config member 'wan_m2_w3' | ||
option interface 'wan' | ||
option metric '2' | ||
option weight '3' | ||
|
||
config policy 'wan_only' | ||
list use_member 'wan_m1_w3' | ||
option last_resort 'unreachable' | ||
|
||
config policy 'balanced' | ||
option last_resort 'unreachable' | ||
list use_member 'wan_m1_w3' | ||
list use_member 'wwan_m1_w3' | ||
|
||
config rule 'https' | ||
option sticky '1' | ||
option dest_port '443' | ||
option proto 'tcp' | ||
option use_policy 'balanced' | ||
|
||
config rule 'default_rule' | ||
option dest_ip '0.0.0.0/0' | ||
option proto 'all' | ||
option sticky '0' | ||
option use_policy 'balanced' | ||
|
||
config interface 'wwan' | ||
option enabled '1' | ||
option family 'ipv4' | ||
list track_ip '114.114.114.114' | ||
list track_ip '223.5.5.5' | ||
list track_ip '223.6.6.6' | ||
option track_method 'ping' | ||
option reliability '2' | ||
option count '1' | ||
option size '56' | ||
option check_quality '0' | ||
option timeout '2' | ||
option interval '5' | ||
option failure_interval '5' | ||
option recovery_interval '5' | ||
option down '3' | ||
option up '5' | ||
option initial_state 'offline' | ||
option flush_conntrack 'always' | ||
|
||
config member 'wwan_m1_w3' | ||
option metric '1' | ||
option weight '3' | ||
option interface 'wwan' | ||
|
||
config member 'wwan_m2_w3' | ||
option metric '2' | ||
option weight '3' | ||
option interface 'wwan' | ||
|
||
config policy 'wwan_only' | ||
option last_resort 'unreachable' | ||
list use_member 'wwan_m1_w3' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters