From 16a31c3d29961d012ecd24c60d7b0d7efd193e11 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 11 Apr 2016 09:02:44 -0700 Subject: [PATCH] Make MINIUPNPD work with DOCKER Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Misc.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Misc.pm b/Shorewall/Perl/Shorewall/Misc.pm index 250ae6b4f..78352d53c 100644 --- a/Shorewall/Perl/Shorewall/Misc.pm +++ b/Shorewall/Perl/Shorewall/Misc.pm @@ -1149,8 +1149,8 @@ sub add_common_rules ( $ ) { $announced = 1; for $interface ( @$list ) { - add_ijump_extended $nat_table->{PREROUTING} , j => 'UPnP', get_interface_origin($interface), imatch_source_dev ( $interface ); - add_ijump_extended $nat_table->{POSTROUTING} , j => 'MINIUPNPD-POSTROUTING' , $origin{MINIUPNPD} , imatch_dest_dev ( $interface ) if $chainref1; + add_ijump_extended $nat_table->{PREROUTING} , j => 'UPnP', get_interface_origin($interface), imatch_source_dev ( $interface ); + add_ijump_extended $nat_table->{$globals{POSTROUTING}} , j => 'MINIUPNPD-POSTROUTING' , $origin{MINIUPNPD} , imatch_dest_dev ( $interface ) if $chainref1; } }