Support ipsets in the ORIGINAL DEST column for DNAT and REDIRECT rules.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-04-28 09:29:54 -07:00
parent 59024ff49d
commit e2b1069c1c

View File

@ -2013,6 +2013,7 @@ sub process_rule1 ( $$$$$$$$$$$$$$$$ ) {
$loglevel = ''; $loglevel = '';
$dest = $server; $dest = $server;
$action = 'ACCEPT'; $action = 'ACCEPT';
$origdest = ALLIP if $origdest =~ /[+]/;
} }
} elsif ( $actiontype & NONAT ) { } elsif ( $actiontype & NONAT ) {
# #