aboutsummaryrefslogtreecommitdiff
path: root/manifests/rules/dns.pp
diff options
context:
space:
mode:
authorMicah <micah@riseup.net>2015-12-09 14:41:31 +0000
committerMicah <micah@riseup.net>2015-12-09 14:41:31 +0000
commitedd5db0159d5075609c545fb3ee10727a1cf5271 (patch)
treed6a923dd8aaeed28210272c1895d9f23d8b250d3 /manifests/rules/dns.pp
parent1cfb479d642bc106ea71596a49b3c152dcb2f64f (diff)
parent6bca4007a104cc7f1736613679b171f19a706685 (diff)
downloadpuppet-shorewall-edd5db0159d5075609c545fb3ee10727a1cf5271.tar.gz
puppet-shorewall-edd5db0159d5075609c545fb3ee10727a1cf5271.tar.bz2
Merge branch 'immerda_changes' into 'master' shared
Immerda changes See merge request !5
Diffstat (limited to 'manifests/rules/dns.pp')
-rw-r--r--manifests/rules/dns.pp20
1 files changed, 4 insertions, 16 deletions
diff --git a/manifests/rules/dns.pp b/manifests/rules/dns.pp
index 99311ca..e775eee 100644
--- a/manifests/rules/dns.pp
+++ b/manifests/rules/dns.pp
@@ -1,18 +1,6 @@
+# open dns port
class shorewall::rules::dns {
- shorewall::rule {
- 'net-me-tcp_dns':
- source => 'net',
- destination => '$FW',
- proto => 'tcp',
- destinationport => '53',
- order => 240,
- action => 'ACCEPT';
- 'net-me-udp_dns':
- source => 'net',
- destination => '$FW',
- proto => 'udp',
- destinationport => '53',
- order => 240,
- action => 'ACCEPT';
- }
+ shorewall::rules::dns_rules{
+ 'net':
+ }
}