Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid non-transparent mode: apple iphone siri problem

    Scheduled Pinned Locked Moved Cache/Proxy
    5 Posts 3 Posters 982 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      simon.lock
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • S
          simon.lock
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            No idea then.  Maybe an Apple forum might be more helpful.

            1 Reply Last reply Reply Quote 0
            • U
              User43617
              last edited by User43617

              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#253947

              and

              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.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.