mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-16 01:39:53 +01:00
Applied Stijn Jonker's fix for shorewall add
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1319 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
8dba29c478
commit
84858b81f5
@ -52,4 +52,6 @@ Changes since 2.0.1
|
||||
|
||||
25) Added 'initialized' extension script.
|
||||
|
||||
26) Renamed 'initialized' to 'initdone'
|
||||
26) Renamed 'initialized' to 'initdone'
|
||||
|
||||
27) Applied Stijn Jonker's fix for "shorewall add"
|
||||
|
@ -5616,7 +5616,7 @@ add_to_zone() # $1 = <interface>[:<hosts>] $2 = zone
|
||||
chain=${zone}_dnat
|
||||
|
||||
if nat_chain_exists $chain; then
|
||||
do_iptables -t nat -A $(dynamic_in) -s $host -j $chain
|
||||
do_iptables -t nat -A $(dynamic_in $interface) -s $host -j $chain
|
||||
fi
|
||||
#
|
||||
# Insert new rules into the filter table for the passed interface
|
||||
|
@ -24,6 +24,10 @@ Problems Corrected since 2.0.2 Beta 2
|
||||
1) A missing '#' in the rules file caused errors when processing the
|
||||
file.
|
||||
|
||||
2) "shorewall add" returns an error if there are DNAT rules whose
|
||||
source zone is the zone being added to. Thanks to Stijn Jonker for
|
||||
providing this correction.
|
||||
|
||||
-----------------------------------------------------------------------
|
||||
Issues when migrating from Shorewall 2.0.0 to Shorewall 2.0.1:
|
||||
|
||||
@ -223,4 +227,4 @@ New Features:
|
||||
at the same point as the 'common' script was previously and is useful for
|
||||
users who mis-used that script under Shorewall 1.x (the script was intended
|
||||
for adding rules to the 'common' chain but many users treated it as a script
|
||||
for adding rules before Shorewall's).
|
||||
for adding rules before Shorewall's).
|
||||
|
Loading…
Reference in New Issue
Block a user