summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2009-11-14 21:10:38 -0500
committerChris Buechler <cmb@pfsense.org>2009-11-14 21:10:38 -0500
commit734f396630538eaf1340d822b9b6d7d27f355e3f (patch)
treea78b01c9b36737999bbc07ab8377a48d8b99fe08 /etc
parentd2307ffb56c8dcec16bff72ba6b0626a60a0652d (diff)
downloadpfsense-734f396630538eaf1340d822b9b6d7d27f355e3f.zip
pfsense-734f396630538eaf1340d822b9b6d7d27f355e3f.tar.gz
actually allow DNS to forwarder. CP is still broken, but this is closer at least.
pointy-hat-to: eri
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/captiveportal.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index e99d66c..40db3a5 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -387,6 +387,8 @@ EOD;
//# allow access to our DNS forwarder
$cprules .= "add {$rulenum} set 1 pass udp from {$cpip} to any 53 in \n";
$rulenum++;
+ $cprules .= "add {$rulenum} set 1 pass udp from any to {$cpip} 53 in \n";
+ $rulenum++;
$cprules .= "add {$rulenum} set 1 pass udp from {$cpip} 53 to any out \n";
$rulenum++;
# allow access to our web server
@@ -1094,4 +1096,4 @@ function portal_ip_from_client_ip($cliip) {
return false;
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud