diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-02 21:50:54 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-02 21:50:54 +0000 |
commit | 534ceb5f9968fc2c123c84ec8a0c335d86d5cdf0 (patch) | |
tree | 3f4916ebd52dad32c58bc13fa2ee095ba15dc09d /etc | |
parent | 40697dbfd825be20c2aa751bd92d1d2457594f1d (diff) | |
download | pfsense-534ceb5f9968fc2c123c84ec8a0c335d86d5cdf0.zip pfsense-534ceb5f9968fc2c123c84ec8a0c335d86d5cdf0.tar.gz |
Be more specific on no rdr rule so squid can work
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 1ca424f..b0b7fca 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -868,7 +868,7 @@ function filter_nat_rules_generate() { if(isset($config['captiveportal']['enable'])) { $cp_interface = filter_translate_type_to_real_interface($config['captiveportal']['interface']); $lan_ip = $config['interfaces']['lan']['ipaddr']; - $natrules .= "no rdr on {$cp_interface} from <captiveportal> to any\n"; + $natrules .= "no rdr on {$cp_interface} from <captiveportal> to any port { 80 443 } -> {$lan_ip} port 8000\n"; $natrules .= "rdr on " . $cp_interface . " proto tcp from any to any port { 80 443 } -> {$lan_ip} port 8000\n\n"; } |