diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/subsystems/firewall/router.pp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/manifests/subsystems/firewall/router.pp b/manifests/subsystems/firewall/router.pp index 4a01403..9384849 100644 --- a/manifests/subsystems/firewall/router.pp +++ b/manifests/subsystems/firewall/router.pp @@ -1,4 +1,4 @@ -class firewall::router::http($destination, $zone = 'vm') { +class firewall::router::http($destination, $zone = 'loc') { shorewall::rule { 'http-route': action => 'DNAT', source => 'all', @@ -10,7 +10,7 @@ class firewall::router::http($destination, $zone = 'vm') { } } -class firewall::router::https($destination, $zone = 'vm') { +class firewall::router::https($destination, $zone = 'loc') { shorewall::rule { 'https-route': action => 'DNAT', source => 'all', @@ -22,7 +22,7 @@ class firewall::router::https($destination, $zone = 'vm') { } } -class firewall::router::puppetmaster($destination, $puppetmaster_port = '8140', $puppetmaster_nonssl_port = '8141', $zone = 'fw') { +class firewall::router::puppetmaster($destination, $puppetmaster_port = '8140', $puppetmaster_nonssl_port = '8141', $zone = 'loc') { shorewall::rule { 'puppetmaster-1': action => 'DNAT', source => 'all', @@ -64,7 +64,7 @@ class firewall::router::puppetmaster($destination, $puppetmaster_port = '8140', } } -class firewall::router::gitd($destination, $zone = 'fw') { +class firewall::router::gitd($destination, $zone = 'loc') { shorewall::rule { 'git-daemon': action => 'DNAT', source => 'net', @@ -76,7 +76,7 @@ class firewall::router::gitd($destination, $zone = 'fw') { } } -class firewall::router::icecast($destination, $zone = 'fw') { +class firewall::router::icecast($destination, $zone = 'loc') { shorewall::rule { 'icecast-1': action => 'DNAT', source => 'net', @@ -99,7 +99,7 @@ class firewall::router::icecast($destination, $zone = 'fw') { } } -class firewall::router::mail($destination, $zone = 'fw') { +class firewall::router::mail($destination, $zone = 'loc') { shorewall::rule { 'mail-1': action => 'DNAT', source => 'all', @@ -121,7 +121,7 @@ class firewall::router::mail($destination, $zone = 'fw') { } } -define firewall::router::ssh($destination, $port_orig = '22', $port_dest = '', $zone = 'vm') { +define firewall::router::ssh($destination, $port_orig = '22', $port_dest = '', $zone = 'loc') { shorewall::rule { "ssh-$name": action => 'DNAT', source => 'all', @@ -136,7 +136,7 @@ define firewall::router::ssh($destination, $port_orig = '22', $port_dest = '', $ } } -define firewall::router::munin($destination, $port_orig, $port_dest = '', $zone = 'fw') { +define firewall::router::munin($destination, $port_orig, $port_dest = '', $zone = 'loc') { shorewall::rule { "munin-$name": action => 'DNAT', source => 'all', @@ -151,7 +151,7 @@ define firewall::router::munin($destination, $port_orig, $port_dest = '', $zone } } -class firewall::router::torrent($destination, $zone = 'fw') { +class firewall::router::torrent($destination, $zone = 'loc') { shorewall::rule { "torrent-tcp": action => 'DNAT', source => 'all', |