Squid proxy not working after boot/WAN reconnect
-
After boot or if my WAN connection drops and recovers I've found that my squid proxy isn't proxying. Changing the config (disabling and re-enabling transparent proxy, for example) kick starts it.
I found that the "pfctl -sn" command reports the following when it's running:
rdr on msk2 inet proto tcp from any to ! (msk2) port = http -> 127.0.0.1 port 3128
but not when it isn't. After some googling I found that the service would be started if I executed the following:
/etc/rc.filter_configure_sync
I've now set this up as a cron job that runs every 15 minutes, but that's distinctly sub-optimal.
Why is this necessary? Is this expected behaviour? Am I simply being impatient and it would recover in time?
I'm running the nanobsd version; not sure if that's relevant.
Steve
-
What squid version are you using?
-
2.7.9 pkg v.4.3.3
Is this a known problem?
I was a bit hesitant to try other versions as I've tweaked the web interface somewhat as shown HERE.
Thanks,
Steve