Bug #901 ยป squid-rdr-pptp-quick-0.1.patch
squid.inc 2010-09-17 12:53:28.000000000 -0400 | ||
---|---|---|
1266 | 1266 |
foreach ($ifaces as $iface) { |
1267 | 1267 |
$rules .= "no rdr on $iface proto tcp from any to { 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 } port 80\n"; |
1268 | 1268 |
} |
1269 |
$rules .= "no rdr on \$pptp proto tcp from any to { 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 } port 80\n"; |
|
1269 | 1270 |
} |
1270 | 1271 |
if (!empty($squid_conf['defined_ip_proxy_off'])) { |
1271 | 1272 |
$defined_ip_proxy_off = explode(";", $squid_conf['defined_ip_proxy_off']); |