summaryrefslogtreecommitdiff
path: root/puppet/modules/shorewall/manifests/rules/dns.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/shorewall/manifests/rules/dns.pp')
-rw-r--r--puppet/modules/shorewall/manifests/rules/dns.pp20
1 files changed, 4 insertions, 16 deletions
diff --git a/puppet/modules/shorewall/manifests/rules/dns.pp b/puppet/modules/shorewall/manifests/rules/dns.pp
index 99311cae..e775eeed 100644
--- a/puppet/modules/shorewall/manifests/rules/dns.pp
+++ b/puppet/modules/shorewall/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':
+ }
}