From 383555d0760d33c29f3e7118dc2e78059bb04917 Mon Sep 17 00:00:00 2001 From: Aaron Goodman Date: Wed, 15 Jul 2020 21:41:46 -0400 Subject: [PATCH] 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 (cherry picked from commit 2a5e9be83eaac46ed18a1784c03e38ce5712fed3) --- net/mwan3/files/etc/config/mwan3 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/net/mwan3/files/etc/config/mwan3 b/net/mwan3/files/etc/config/mwan3 index 3f09d95696..750d6c4ae3 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' -- 2.30.2