From 166e1a3df91a7ee7da5a80a8c96c6ce5a2a98042 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 1 Jul 2014 06:54:54 -0700 Subject: [PATCH] Allow SAVE/RESTORE rules in the OUTPUT chain Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Tc.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index cee9956ca..8640797d3 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -562,7 +562,7 @@ sub process_mangle_rule1( $$$$$$$$$$$$$$$$$$ ) { RESTORE => { defaultchain => 0, - allowedchains => PREROUTING | FORWARD | POSTROUTING, + allowedchains => PREROUTING | FORWARD | OUTPUT | POSTROUTING, minparams => 0, maxparams => 1, function => sub () { @@ -591,7 +591,7 @@ sub process_mangle_rule1( $$$$$$$$$$$$$$$$$$ ) { SAVE => { defaultchain => 0, - allowedchains => PREROUTING | FORWARD | POSTROUTING, + allowedchains => PREROUTING | FORWARD | OUTPUT | POSTROUTING, minparams => 0, maxparams => 1, function => sub () {