mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-18 11:38:14 +01:00
Fix default ALL INTERFACES value in /etc/shorewall/nat
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1222 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
d95f629b62
commit
6f5fc129de
@ -70,3 +70,5 @@ Changes since 1.4.10
|
||||
34) Eliminate Warning about Policy as rule when using actions.
|
||||
|
||||
35) Implement Sean Mathews's fix for Proxy ARP/IPSEC.
|
||||
|
||||
36) Fix default value of ALL INTERFACES in /etc/shorewall/nat.
|
||||
|
@ -1577,7 +1577,7 @@ setup_nat() {
|
||||
qt ip addr del $external dev $iface
|
||||
fi
|
||||
|
||||
if [ -z "$allints" -o "$allints" = "Yes" -o "$allints" = "yes" ]; then
|
||||
if [ "$allints" = "Yes" -o "$allints" = "yes" ]; then
|
||||
addnatrule nat_in -d $external -j DNAT --to-destination $internal
|
||||
addnatrule nat_out -s $internal -j SNAT --to-source $external
|
||||
|
||||
|
@ -30,9 +30,14 @@ Problems Corrected since 2.0.0
|
||||
1) Using actions in the manner recommended in the documentation
|
||||
results in a Warning that the rule is a policy.
|
||||
|
||||
2) Thanks to Sean Mathews, a long-time problem with Proxy ARP and IPSEC
|
||||
Problems Corrected since 2.0.0a
|
||||
|
||||
1) Thanks to Sean Mathews, a long-time problem with Proxy ARP and IPSEC
|
||||
has been corrected.
|
||||
|
||||
2) The Default value for ALL INTERFACES in the /etc/shorewall/nat file
|
||||
is supposed to be 'no' but it remained 'yes' as in 1.4.
|
||||
|
||||
-----------------------------------------------------------------------
|
||||
Issues when migrating from Shorewall 1.4.x to Shorewall 2.0.0:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user