aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/firewall
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/firewall')
-rw-r--r--manifests/subsystems/firewall/router.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/subsystems/firewall/router.pp b/manifests/subsystems/firewall/router.pp
index 43a5a97..1e45be0 100644
--- a/manifests/subsystems/firewall/router.pp
+++ b/manifests/subsystems/firewall/router.pp
@@ -283,13 +283,14 @@ class firewall::router::torrent($destination, $zone = 'loc') {
}
}
+# See http://www.shorewall.net/FAQ.htm#faq2
class firewall::router::hairpinning($order = '200', $proto = 'tcp', $port = 'www',
$external_ip = '$ETH0_IP', $interface = 'eth1',
$destination = '192.168.1.100') {
shorewall::masq { "routeback-$name":
interface => '$interface:$destination',
source => '$interface',
- address => $external_ip'
+ address => $external_ip',
proto => $proto,
port => $port,
order => $order,