-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 10/30/2016 01:18 PM, Steven Jan Springl wrote:
> Tom
>
> Sorry, I forgot include the original masq file entry:
>
> eth0,eth1,br0::!1.1.1.1 10.11.11.0/11
> 10.1.1.1-10.1.1.4:500-600:persistent tcp
> 110,1,2,34,5,6,:2,65000:,200:210
>
The attached simple patch seems to correct the problem.
Thanks Steven,
- -Tom
- --
Tom Eastep \ When I die, I want to go like my Grandfather who
Shoreline, \ died peacefully in his sleep. Not screaming like
Washington, USA \ all of the passengers in his car
http://shorewall.net \________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: GPGTools - http://gpgtools.org
iQIcBAEBCAAGBQJYFoDnAAoJEJbms/JCOk0QlS0QAMHBFR4bDwy2WwbLOhx4cf+i
b0G0x1L7bkcX+bKrLXNpXaC6c78X5eXIfx+8Bg4WmdJc3VXREiCRTrj2pV+h5aRL
NuzNPeBXScYmn/v7ZE+T4cHpwM1B5ADvlysnSy4sDcPSiVaVC0lSJsvIutyWJBCW
in1l/O4EesQkSNgySo6i7Qkgh8PyixnhGEgT5jgRcJfJwa720KIapg9fQAKAruQ9
yxw6kufgBI2g4tSR3fP4XC1icjPUPFXM2YYWF/BdGDjJyoSfV1F9n89v5/rFIJ/D
5xt2ceM2HTObJ29IldqvXb0o8eQrrQFP7UpXAkqQgUwgiwYBzWLsniXfHab6Qlz2
WSOwPvxCqlvUwAgrSaFWbYU5uzqOgmkpLocZItyBjSVA1JNoBUmEJfRr6pWEEF9R
78ZZQvNnBmBQYWFSEcJqEU33QdRl6hp912QPjfTWA07ELyAtwNlj1nRsi4fr2Uhv
FMIVVMQqHiS12wVa4LJpNzayZdbNonubuVFyMiyMYrhhspbpERrjZZu4t/kUCEDn
exYFUI5pZAk8Rz1jX3/lxjfwkwDc+ebSVwK5vJ5N0XxFqqNwgzDI9oPSao57szxq
/Ubsy3b8bCO4Iyt1J3rSgJ5vkFbwawiZ2wco0Bq5PGfOwonX82GSQREnVU5eYcoA
pt+qtAldo3lxhDuqmAXc
=WE+K
-----END PGP SIGNATURE-----
diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm
index 68aa119..61d0a67 100644
--- a/Shorewall/Perl/Shorewall/Rules.pm
+++ b/Shorewall/Perl/Shorewall/Rules.pm
@@ -5455,6 +5455,7 @@ sub process_snat1( $$$$$$$$$$$$ ) {
my $rule = '';
my $saveaddresses = $addresses;
+ my $savetarget = $target;
my $interface = $fullinterface;
$interface =~ s/:.*//; #interface name may include 'alias'
@@ -5722,6 +5723,7 @@ sub process_snat1( $$$$$$$$$$$$ ) {
}
$addresses = $saveaddresses;
+ $target = $savetarget;
}
progress_message " Snat record \"$currentline\" $done"
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel