summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/rc.firewall2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.firewall b/etc/rc.firewall
index fe678fc..df8a572 100644
--- a/etc/rc.firewall
+++ b/etc/rc.firewall
@@ -194,6 +194,7 @@ case ${firewall_type} in
${fwcmd} add deny tcp from any to any setup
# Allow DNS queries out in the world
+ ${fwcmd} add pass tcp from me to any 53 setup keep-state
${fwcmd} add pass udp from me to any 53 keep-state
# Allow NTP queries out in the world
@@ -294,6 +295,7 @@ case ${firewall_type} in
${fwcmd} add pass tcp from any to any setup
# Allow DNS queries out in the world
+ ${fwcmd} add pass tcp from ${oip} to any 53 setup keep-state
${fwcmd} add pass udp from ${oip} to any 53 keep-state
# Allow NTP queries out in the world
OpenPOWER on IntegriCloud