summaryrefslogtreecommitdiff
path: root/puppet/modules/site_shorewall
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-05-21 17:35:20 -0400
committerMicah Anderson <micah@leap.se>2013-07-25 15:07:57 -0400
commit1c9c5a5fec51919a8e9ec14f5fe9b16c538bb4fa (patch)
treedbd74b22f7d76dbdfc518dc2c7bcde0190e47586 /puppet/modules/site_shorewall
parenta1d8ec10bd7d7ac4a146222010cf5a6862e45869 (diff)
initial soledad configuration
Change-Id: I19e91887c3f8e90764b4baef8c5e29e25658e190
Diffstat (limited to 'puppet/modules/site_shorewall')
-rw-r--r--puppet/modules/site_shorewall/manifests/soledad.pp20
1 files changed, 20 insertions, 0 deletions
diff --git a/puppet/modules/site_shorewall/manifests/soledad.pp b/puppet/modules/site_shorewall/manifests/soledad.pp
new file mode 100644
index 00000000..f3272c04
--- /dev/null
+++ b/puppet/modules/site_shorewall/manifests/soledad.pp
@@ -0,0 +1,20 @@
+class site_shorewall::soledad {
+
+ include site_shorewall::defaults
+
+ # define macro for incoming services
+ file { '/etc/shorewall/macro.leap_soledad':
+ content => 'PARAM - - tcp 2424',
+ notify => Service['shorewall'],
+ require => Package['shorewall']
+ }
+
+ shorewall::rule {
+ 'net2fw-soledad':
+ source => 'net',
+ destination => '$FW',
+ action => 'leap_soledad(ACCEPT)',
+ order => 200;
+ }
+}
+