aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-08-11 16:41:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-08-11 16:41:11 -0300
commit10ccc097eebbcc92199af00d3ab9631acb42a0ad (patch)
treeab8b89405a62cc6b9be34ba4d39cd136759e7264
parentd936fafc8ff6ed3bbc6ede8512e60d4839ec49c9 (diff)
downloadpuppet-nodo-10ccc097eebbcc92199af00d3ab9631acb42a0ad.tar.gz
puppet-nodo-10ccc097eebbcc92199af00d3ab9631acb42a0ad.tar.bz2
Minor fix
-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,