diff options
Diffstat (limited to 'manifests/implementations/shorewall')
4 files changed, 4 insertions, 4 deletions
diff --git a/manifests/implementations/shorewall/router/hairpinning.pp b/manifests/implementations/shorewall/router/hairpinning.pp index 21a8d9d..f78ebb4 100644 --- a/manifests/implementations/shorewall/router/hairpinning.pp +++ b/manifests/implementations/shorewall/router/hairpinning.pp @@ -1,5 +1,5 @@ # See http://www.shorewall.net/FAQ.htm#faq2 -define firewall::router::hairpinning($order = '5000', $proto = 'tcp', $port = 'www', +define firewall::implementations::shorewall::router::hairpinning($order = '5000', $proto = 'tcp', $port = 'www', $external_ip = '$ETH0_IP', $interface = 'eth1', $destination = '192.168.1.100', $source = 'eth1', $source_zone = 'loc', $dest_zone = 'loc', diff --git a/manifests/implementations/shorewall/router/munin.pp b/manifests/implementations/shorewall/router/munin.pp index 7ca136d..698c12b 100644 --- a/manifests/implementations/shorewall/router/munin.pp +++ b/manifests/implementations/shorewall/router/munin.pp @@ -1,4 +1,4 @@ -define firewall::router::munin($destination, $port_orig, $port_dest = '', $zone = 'loc', +define firewall::implementations::shorewall::router::munin($destination, $port_orig, $port_dest = '', $zone = 'loc', $order = '400', $originaldest = $ipaddress) { shorewall::rule { "munin-$name-1": action => 'DNAT', diff --git a/manifests/implementations/shorewall/router/ssh.pp b/manifests/implementations/shorewall/router/ssh.pp index a37b61f..9bdf69e 100644 --- a/manifests/implementations/shorewall/router/ssh.pp +++ b/manifests/implementations/shorewall/router/ssh.pp @@ -1,4 +1,4 @@ -define firewall::router::ssh($destination, $port_orig = '22', $port_dest = '', $zone = 'loc', +define firewall::implementations::shorewall::router::ssh($destination, $port_orig = '22', $port_dest = '', $zone = 'loc', $originaldest = $ipaddress) { shorewall::rule { "ssh-$name-1": action => 'DNAT', diff --git a/manifests/implementations/shorewall/router/tor.pp b/manifests/implementations/shorewall/router/tor.pp index cf5cc58..eae3775 100644 --- a/manifests/implementations/shorewall/router/tor.pp +++ b/manifests/implementations/shorewall/router/tor.pp @@ -1,4 +1,4 @@ -define firewall::router::tor($destination, $zone = 'loc', $originaldest = $ipaddress) { +define firewall::implementations::shorewall::router::tor($destination, $zone = 'loc', $originaldest = $ipaddress) { shorewall::rule { "tor-$name-1": action => 'DNAT', source => 'net', |