summaryrefslogtreecommitdiff
path: root/manifests/shorewall.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/shorewall.pp')
-rw-r--r--manifests/shorewall.pp22
1 files changed, 22 insertions, 0 deletions
diff --git a/manifests/shorewall.pp b/manifests/shorewall.pp
new file mode 100644
index 0000000..114bda7
--- /dev/null
+++ b/manifests/shorewall.pp
@@ -0,0 +1,22 @@
+# manifests/shorewall.pp
+
+class resolvconf::shorewall {
+ include shorewall
+
+ shorewall::rule {
+ 'me-net-tcp_dns':
+ source => '$FW',
+ destination => 'net',
+ proto => 'tcp',
+ destinationport => '53',
+ order => 250,
+ action => 'ACCEPT';
+ 'me-net-udp_dns':
+ source => '$FW',
+ destination => 'net',
+ proto => 'udp',
+ destinationport => '53',
+ order => 251,
+ action => 'ACCEPT';
+ }
+}