I would like the Android devices which connect to WiFi networks to be automatically configured to proxy their HTTP(S) traffic through a web proxy.
There is a PAC file available though an URL, which points to a squid
proxy.
The PAC URL manually configured via Advanced Options - Automatic Configuration
on Android devices works fine: the web traffic is correctly proxified.
I tried to send this PAC configuration via the DHCP server (ISC
) by adding
option auto-proxy-config code 252 = text;
option auto-proxy-config "http://10.10.10.254:81.pac";
to its configuration file but the Android devices do not take this setting into account. The setting is correctly sent by the DHCP server as part of its DHCP Offer
packet (checked with Wireshark).
Is there something specific to configure on the DHCP server for Android devices or does this approach does not work with them?