mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 08:07:13 +02: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
@ -53,3 +53,5 @@ Changes since 2.0.1
|
|||||||
25) Added 'initialized' extension script.
|
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
|
chain=${zone}_dnat
|
||||||
|
|
||||||
if nat_chain_exists $chain; then
|
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
|
fi
|
||||||
#
|
#
|
||||||
# Insert new rules into the filter table for the passed interface
|
# 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
|
1) A missing '#' in the rules file caused errors when processing the
|
||||||
file.
|
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:
|
Issues when migrating from Shorewall 2.0.0 to Shorewall 2.0.1:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user