diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-08-16 12:46:18 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-08-16 12:46:18 -0300 |
commit | c68c4a118a35d124079f79afc8db28bb455101b8 (patch) | |
tree | 74d23c1cde5d1ced878a98124f89e57f000dce7a | |
parent | e2c913347fe5675362f66d29777a3c7380958db0 (diff) | |
download | puppet-nodo-c68c4a118a35d124079f79afc8db28bb455101b8.tar.gz puppet-nodo-c68c4a118a35d124079f79afc8db28bb455101b8.tar.bz2 |
Parameter fix
-rw-r--r-- | manifests/subsystems/firewall/router.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/subsystems/firewall/router.pp b/manifests/subsystems/firewall/router.pp index 3a8b1af..a759ded 100644 --- a/manifests/subsystems/firewall/router.pp +++ b/manifests/subsystems/firewall/router.pp @@ -330,7 +330,7 @@ define firewall::router::hairpinning($order = '200', $proto = 'tcp', $port = 'ww $source_zone = 'loc', $dest_zone = 'loc') { shorewall::masq { "routeback-$name": interface => "$interface:$destination", - source => $source_zone, + source => $source, address => $external_ip, proto => $proto, port => $port, @@ -339,7 +339,7 @@ define firewall::router::hairpinning($order = '200', $proto = 'tcp', $port = 'ww shorewall::rule { "routeback-$name": action => 'DNAT', - source => $zone, + source => $source_zone, destination => "$dest_zone:$destination", proto => $proto, destinationport => $port, |