diff options
author | mfuchs <martin.fuchs@trendchiller.com> | 2009-04-15 13:32:10 +0200 |
---|---|---|
committer | mfuchs <martin.fuchs@trendchiller.com> | 2009-04-15 13:32:10 +0200 |
commit | 7e02319e28ee89c64841f1c5698b6b763ecee81d (patch) | |
tree | c6c8ea6f8b26e5ae2b142437b3c51986465f316f /config/squid | |
parent | ff7de863b4c1af89ff7c0a036e6a052ccadeccfb (diff) | |
download | pfsense-packages-7e02319e28ee89c64841f1c5698b6b763ecee81d.tar.gz pfsense-packages-7e02319e28ee89c64841f1c5698b6b763ecee81d.tar.bz2 pfsense-packages-7e02319e28ee89c64841f1c5698b6b763ecee81d.zip |
fix squid pptp error (http://forum.pfsense.org/index.php/topic,15579.0.html)
Diffstat (limited to 'config/squid')
-rw-r--r-- | config/squid/squid.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc index 113bc09f..a819318e 100644 --- a/config/squid/squid.inc +++ b/config/squid/squid.inc @@ -1248,7 +1248,9 @@ function squid_generate_rules($type) { $rules .= "rdr on \$pppoe proto tcp from any to !(\$pppoe) port 80 -> 127.0.0.1 port 80\n"; } /* Handle PPTP case */ - if($config['pptpd']['mode'] != "off") { +// if($config['pptpd']['mode'] != "off") { +// mode is not present after disabling "redir" + if($config['pptpd']['mode'] == "server") { $rules .= "rdr on \$pptp proto tcp from any to !(\$pptp) port 80 -> 127.0.0.1 port 80\n"; } $rules .= "\n"; |