From: Silvio Rhatto Date: Thu, 11 Aug 2011 19:41:11 +0000 (-0300) Subject: Minor fix X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=10ccc097eebbcc92199af00d3ab9631acb42a0ad;p=puppet-nodo.git Minor fix --- 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,