since some month we watch that after reboot of iPFire-PC the service Web-Proxy is NOT ACTIV. We have to start it manual.
We hoped, that this is gone after an update, but there is no changing.
How we can find the reason ?
I’ve experienced issue too, but (temporarily) resolved by:
Menu Network > Web Proxy
Untick SquidClamAV, URL filter and Update accelerator (as required)
Press Save and Restart
Tick SquidClamAV, URL filter and Update accelerator (as required)
Press Save and Restart
Have not checked config files before/after, but assume just re-writing correct config(s).
UPDATE - still fails after reboot. Strange as not all my firewalls affected (all 2.27 cu 160)
After investigation of my firewalls, looks like the ones with problems have the wrong PAC file address. They have the Red WAN IP address for the file path, rather than Green LAN address.
Not sure where proxy getting that configuration from.
Menu: Network > Web Proxy, check Open PAC File: http://red-wan-ip-address:81/wpad.dat.
Having said that, some with incorrect address have proxy work after reboot.
Not consistent.
if (
(isInNet(myIpAddress(), “Green LAN”, “255.255.255.0”))
)
return “PROXY Green LAN:800”;
else
if (
(isInNet(myIpAddress(), “Blue LAN”, “255.255.255.0”))
)
return “PROXY Blue LAN:800”;
}
On my firewall which had Green LAN as the path to the file, the PAC file was:
function FindProxyForURL(url, host)
{
}
I have unchecked all Common settings and saved, checked service stopped, rechecked Transparent etc. and restarted. PAC file now populated correctly. PAC file path still Green LAN (haven’t rebooted yet).
All my firewall except one are PPPoE, so thought that might be related?
Hi Jon,
You hit the nail on the head!
When accessing from Red, path to file Red WAN, accessing from Green, path to file is Green LAN, from Blue, path is Blue LAN. Doh!
So a red Herring as far as failing to start concerned.
That means you get the IP address of your ‘native’ interface; green0 IP for LAN clients, blue0 IP for WLAN clients. If you opened your red interface for access to the WebGUI, clients from WAN get the WAN IP of IPFire.