Fix ALL INTERFACES column edit

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1305 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-05-03 23:44:36 +00:00
parent e56b4abda6
commit 8014f3a824
2 changed files with 6 additions and 1 deletions

View File

@ -1847,7 +1847,7 @@ setup_nat() {
run_and_save_command qt ip addr del $external dev $iface run_and_save_command qt ip addr del $external dev $iface
fi fi
if [ "x$allints" = "xYes" -o "$xallints" = "xyes" ]; then if [ "x$allints" = "xYes" -o "x$allints" = "xyes" ]; then
addnatrule nat_in -d $external -j DNAT --to-destination $internal addnatrule nat_in -d $external -j DNAT --to-destination $internal
addnatrule nat_out -s $internal -j SNAT --to-source $external addnatrule nat_out -s $internal -j SNAT --to-source $external

View File

@ -12,6 +12,11 @@ Problems Corrected since 2.0.1
2) A meaningless warning message out of the proxyarp file processing 2) A meaningless warning message out of the proxyarp file processing
has been eliminated. has been eliminated.
Problems Corrected since 2.0.2 Beta 1
1) The ALL INTERFACES column in the /etc/shorewall/nat file may now
once again be entered as "yes".
----------------------------------------------------------------------- -----------------------------------------------------------------------
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: