projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0d66d4
)
mwan3: add default rule for ipv6 in example config
author
Aaron Goodman
<aaronjg@stanford.edu>
Thu, 16 Jul 2020 01:41:46 +0000
(21:41 -0400)
committer
Aaron Goodman
<aaronjg@stanford.edu>
Mon, 20 Jul 2020 03:18:21 +0000
(23:18 -0400)
default rule only applied to ipv4 with dest_ip 0.0.0.0/0
and error was hidden when trying to apply it in ip6table
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
net/mwan3/files/etc/config/mwan3
patch
|
blob
|
history
diff --git
a/net/mwan3/files/etc/config/mwan3
b/net/mwan3/files/etc/config/mwan3
index 3f09d95696cccb850094cbe648939377000d3673..750d6c4ae3a52564c0c06abc46717c03bf188b74 100644
(file)
--- a/
net/mwan3/files/etc/config/mwan3
+++ b/
net/mwan3/files/etc/config/mwan3
@@
-139,7
+139,12
@@
config rule 'https'
option proto 'tcp'
option use_policy 'balanced'
-config rule 'default_rule'
+config rule 'default_rule
_v4
'
option dest_ip '0.0.0.0/0'
option use_policy 'balanced'
+ option family 'ipv4'
+config rule 'default_rule_v6'
+ option dest_ip '::/0'
+ option use_policy 'balanced'
+ option family 'ipv6'