diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-08-11 18:17:45 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-08-11 18:17:45 -0300 |
commit | 8084ddc710cf0792294b2ec92d7452608b67b05e (patch) | |
tree | 398ceb7e04328b8ae5921c8469d2426c98ad74f1 /manifests/subsystems/firewall/router.pp | |
parent | 675748b6984599298155c284fad4a8ec8a280a65 (diff) | |
download | puppet-nodo-8084ddc710cf0792294b2ec92d7452608b67b05e.tar.gz puppet-nodo-8084ddc710cf0792294b2ec92d7452608b67b05e.tar.bz2 |
Fixing firewall::router::hairpinning definition
Diffstat (limited to 'manifests/subsystems/firewall/router.pp')
-rw-r--r-- | manifests/subsystems/firewall/router.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/subsystems/firewall/router.pp b/manifests/subsystems/firewall/router.pp index 9092fbb..2780098 100644 --- a/manifests/subsystems/firewall/router.pp +++ b/manifests/subsystems/firewall/router.pp @@ -164,7 +164,7 @@ 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', +define firewall::router::hairpinning($order = '200', $proto = 'tcp', $port = 'www', $external_ip = '$ETH0_IP', $interface = 'eth1', $destination = '192.168.1.100') { shorewall::masq { "routeback-$name": |