aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/firewall
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/firewall')
-rw-r--r--manifests/subsystems/firewall/router.pp4
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,