From 3258806f6cda2f1a608849fe3027227334c30f69 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 24 Oct 2011 21:15:09 -0700 Subject: [PATCH] Insure that 32767 default rule exists on IPv6. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Providers.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Shorewall/Perl/Shorewall/Providers.pm b/Shorewall/Perl/Shorewall/Providers.pm index 205041ce4..9fb4d6d7c 100644 --- a/Shorewall/Perl/Shorewall/Providers.pm +++ b/Shorewall/Perl/Shorewall/Providers.pm @@ -602,6 +602,8 @@ sub add_a_provider( $$ ) { $fallback = 1; } + emit ( qq(\nqt \$IP rule add from all table ) . DEFAULT_TABLE . qq( prio 32767\n) ) if $family == F_IPV6; + unless ( $local ) { emit '';