summaryrefslogtreecommitdiff
path: root/manifests/rules/dns.pp
diff options
context:
space:
mode:
authorMatt Taggart <taggart@riseup.net>2017-01-31 10:45:00 -0800
committerMatt Taggart <taggart@riseup.net>2017-01-31 10:45:00 -0800
commitff6c12482b812cdc262dabcd1faebc63e466087f (patch)
treeb82b60b4390763c7d805a37e40b67319641671c3 /manifests/rules/dns.pp
parent77ce0b926b7418703223b4a6c489067f9d9bc4f5 (diff)
parentf560a426885f0982cae39495321222158a69e895 (diff)
Merge remote-tracking branch 'shared/master' into merge
Conflicts: manifests/base.pp
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':
+ }
}