diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-08-11 16:41:11 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-08-11 16:41:11 -0300 |
commit | 10ccc097eebbcc92199af00d3ab9631acb42a0ad (patch) | |
tree | ab8b89405a62cc6b9be34ba4d39cd136759e7264 | |
parent | d936fafc8ff6ed3bbc6ede8512e60d4839ec49c9 (diff) | |
download | puppet-nodo-10ccc097eebbcc92199af00d3ab9631acb42a0ad.tar.gz puppet-nodo-10ccc097eebbcc92199af00d3ab9631acb42a0ad.tar.bz2 |
Minor fix
-rw-r--r-- | manifests/subsystems/firewall/router.pp | 3 |
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, |