Squid non-transparent mode: apple iphone siri problem
-
I've been using squid in transparent mode for several months now and it has been working just fine on all my computers and also my iphonex. However, I've just set up squid in non-transparent mode using wpad where my proxy files are served up from a raspberry pi running nginx.
Again all seems to be working fine with the exception of my iphonex where siri fails to get a connection whilst on the non-transparent proxy. Siri works in transparent mode.
Any suggestions on how I might fix this problem would be greatly appreciated.
Thanks
PS I believe that I need to run squid in non-transparent mode as I ultimately hope to set up a radius server for authentication purposes.
-
iphone seems to require a .PAC file instead of the usual wpad.dat.
https://findproxyforurl.com/apple-ios/
Utilizing a PAC File
Click the ‘Settings’ icon.
Click the arrow to view ‘Wi-Fi’ options.
For the wireless connection you wish to configure, press the blue icon.
Scroll to the bottom and choose ‘Auto’.
Enter the location of your PAC file in the format: http://domain.com/filename.pac -
Thank you KOM for your quick reply. Much appreciated.
I have however just tried explicitly pointing the url to the proxy.pac file but siri still fails to function. Everything but siri works correctly whilst connected to the proxy. I test my connection using http://www.lagado.com/proxy-test.
It's just siri which fails to get a connection.
-
No idea then. Maybe an Apple forum might be more helpful.
-
I got Siri to work by adding the following to my wpad files:
if (shExpMatch(url, "guzzoni.apple.com")) ||
shExpMatch(url, ".guzzoni-apple.com.akadns.net"))
return "DIRECT";Basically, it's bypassing the proxy but that's all I could find.
This is where I found it:
https://apple.stackexchange.com/questions/253843/siri-on-macos-behind-a-corporate-proxy#253947and
https://blog.mansshardt.net/siri-ios-macos-hinter-squid-proxy-zum-laufen-bringen/
You will need to use google translate unless you know how to read German.