aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAaron Goodman <aaronjg@stanford.edu>2020-07-15 21:41:46 -0400
committerAaron Goodman <aaronjg@stanford.edu>2020-07-19 23:18:21 -0400
commit2a5e9be83eaac46ed18a1784c03e38ce5712fed3 (patch)
tree128b467fe6b1fedb512b701e734acb4b1f150ea2 /net
parenta0d66d4eebefe6e89c582df2b4dc972ea7c5c7f5 (diff)
mwan3: add default rule for ipv6 in example config
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>
Diffstat (limited to 'net')
-rw-r--r--net/mwan3/files/etc/config/mwan37
1 files changed, 6 insertions, 1 deletions
diff --git a/net/mwan3/files/etc/config/mwan3 b/net/mwan3/files/etc/config/mwan3
index 3f09d9569..750d6c4ae 100644
--- 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'