I’ve added some additional subnets to my “Allowed subnets (one per line):” of my IPFire proxy:
192.168.0.0/255.255.255.0
192.168.1.0/255.255.255.0
192.168.2.0/255.255.255.0
192.168.3.0/255.255.255.0
However, after I “Save and Restart” the web proxy, the wpad.dat file contains:
if (
(isInNet(myIpAddress(), “192.168.0.0”, “255.255.255.0”)) ||
(isInNet(myIpAddress(), “192.168.1.0”, “”)) ||
(isInNet(myIpAddress(), “192.168.2.0”, “”)) ||
(isInNet(myIpAddress(), “192.168.3.0”, “”))
)
The subnet masks are missing. If I add them manually, then whenever I “Save and Restart” IPFire’s proxy they get removed.
Clients on the subnets with missing netmasks don’t pick up their proxy configs properly. But after I manually change the wpad.dat file, they do correctly pick up their proxy configs, at least until the next time I “Save and Restart” the proxy.
This looks a bit like a bug to me. Or am I just doing it wrong?