On 8/20/12 5:39 PM, Tom Eastep wrote:

> 
> Well, what I suggested is all that is currently available.
> 

That having been said, the attached patch should allow you to place
CONTINUE in the ADDRESSES columm to generate an ACCEPT rule.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________
diff --git a/Shorewall/Perl/Shorewall/Nat.pm b/Shorewall/Perl/Shorewall/Nat.pm
index 1a23a28..51ffdaa 100644
--- a/Shorewall/Perl/Shorewall/Nat.pm
+++ b/Shorewall/Perl/Shorewall/Nat.pm
@@ -177,6 +177,8 @@ sub process_one_masq( )
 
                if ( $addresses =~ /^SAME/ ) {
                    fatal_error "The SAME target is no longer supported";
+               } elsif ( $addresses eq 'CONTINUE' ) {
+                   $target = 'ACCEPT';
                } elsif ( $addresses eq 'detect' ) {
                    my $variable = get_interface_address $interface;
                    $target = "SNAT --to-source $variable";

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to