summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-16 01:07:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-16 01:07:21 +0000
commit192a080a93b99f619fa1b2ae9abb733d890920b2 (patch)
tree4887ff0dda12b47c7f3dafd08f60aa7b1a050e0b
parent625dda09c1b996728caf0296d1aa702eaf8ca584 (diff)
downloadpfsense-192a080a93b99f619fa1b2ae9abb733d890920b2.zip
pfsense-192a080a93b99f619fa1b2ae9abb733d890920b2.tar.gz
Do not handle captive portal in filter.inc any longer. It's done in ipfw.
-rw-r--r--etc/inc/filter.inc11
1 files changed, 0 insertions, 11 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 9a0f372..5725aa8 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1043,17 +1043,6 @@ function filter_nat_rules_generate() {
$natrules .= "\n# Load balancing anchor - slbd updates\n";
$natrules .= "rdr-anchor \"slb\"\n";
- /* captive portal redirects */
- if(isset($config['captiveportal']['enable'])) {
- $natrules .= "# Captive Portal\n";
- $cp_interface = filter_translate_type_to_real_interface($config['captiveportal']['interface']);
- $cp_ip = $config['interfaces'][$config['captiveportal']['interface']]['ipaddr'];
- if($cp_ip == "dhcp")
- $cp_ip = find_interface_ip($cp_interface);
- $natrules .= "no rdr on {$cp_interface} proto tcp from <captiveportal> to any \n";
- $natrules .= "rdr on {$cp_interface} proto tcp from any to any port { 80 443 } -> {$cp_ip} port 8000\n\n";
- }
-
if(!isset($config['system']['disableftpproxy'])) {
$optcfg = array();
generate_optcfg_array($optcfg);
OpenPOWER on IntegriCloud