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

    WPAD Help

    Scheduled Pinned Locked Moved Cache/Proxy
    14 Posts 4 Posters 2.7k 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.
    • K
      killmasta93
      last edited by

      I think the issue is your lightppd if you let pfSense handle WPAD files and the DHCP and DNS either pfSense or windows server your good to go. Why dont you start first doing exactly from the guide that aGeekHere shows.

      Tutorials:

      https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

      1 Reply Last reply Reply Quote 0
      • F
        fifouch
        last edited by

        @killmasta93:

        I think the issue is your lightppd if you let pfSense handle WPAD files and the DHCP and DNS either pfSense or windows server your good to go. Why dont you start first doing exactly from the guide that aGeekHere shows.

        thank's for your replay
        As i have already said before i did try his solution before i post here but i got the same issue
        Client dont auto detect proxy

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

          Create a firewall rule to prevent browsing via the usual HTTP and HTTPS port 80 445 ensuring all browsing is via proxy

          It's ports 80 and 443, not 445.

          Can your clients resolve wpad.yourdomain.tld?  Can your browsers fetch http://wpad.yourdomain.tld/wpad.dat?  What is the contents of your wpad.dat file?

          Bear in mind that wpad.dat must be served from an HTTP server, not HTTPS.

          1 Reply Last reply Reply Quote 0
          • F
            fifouch
            last edited by

            @KOM:

            Create a firewall rule to prevent browsing via the usual HTTP and HTTPS port 80 445 ensuring all browsing is via proxy

            It's ports 80 and 443, not 445.

            Can your clients resolve wpad.yourdomain.tld?  Can your browsers fetch http://wpad.yourdomain.tld/wpad.dat?  What is the contents of your wpad.dat file?

            Bear in mind that wpad.dat must be served from an HTTP server, not HTTPS.

            Thank's for replay yea sorry its port 443 and yea client can resolve wpad.mydomain.local also wpad they can also download the 3 files
            the content of my wpad.dat files is

            function FindProxyForURL(url, host) 
            { 
                if (isPlainHostName(host) ||
                    shExpMatch(host, "*.local") ||
                    isInNet(dnsResolve(host), "192.168.1.0",  "255.255.255.0"))
                    return "DIRECT";
            
                return "PROXY 192.168.1.1:3128";
            }
            
            1 Reply Last reply Reply Quote 0
            • A
              aGeekhere
              last edited by

              Try clearing web browser cache

              Bear in mind that wpad.dat must be served from an HTTP server, not HTTPS.

              Very important and can be easily missed.

              Never Fear, A Geek is Here!

              1 Reply Last reply Reply Quote 0
              • F
                fifouch
                last edited by

                @aGeekHere:

                Try clearing web browser cache

                Bear in mind that wpad.dat must be served from an HTTP server, not HTTPS.

                Very important and can be easily missed.

                Well
                I did install new clean pfsense follow all your setps
                Clear cache in web browsers
                I have some client who can autodetect and others who still have the same issue  :o

                1 Reply Last reply Reply Quote 0
                • A
                  aGeekhere
                  last edited by

                  I have some client who can autodetect and others who still have the same issue

                  Are these other people using firefox? then add automatic proxy configuration url to the url of the wpad (like http://pfsense.mylocaldomain.local/wpad.dat) etc

                  Never Fear, A Geek is Here!

                  1 Reply Last reply Reply Quote 0
                  • F
                    fifouch
                    last edited by

                    @aGeekHere:

                    I have some client who can autodetect and others who still have the same issue

                    Are these other people using firefox? then add automatic proxy configuration url to the url of the wpad (like http://pfsense.mylocaldomain.local/wpad.dat) etc

                    Thank's for your replay again
                    Those clients users are using Chrome and IE

                    1 Reply Last reply Reply Quote 0
                    • K
                      killmasta93
                      last edited by

                      hmm..what operating system? the clients that have the issue can they resolve wpad? are these clients in a GPO environment? If so Could you try pushing them the proxy settings though GPO?

                      Tutorials:

                      https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

                      1 Reply Last reply Reply Quote 0
                      • F
                        fifouch
                        last edited by

                        @killmasta93:

                        hmm..what operating system? the clients that have the issue can they resolve wpad? are these clients in a GPO environment? If so Could you try pushing them the proxy settings though GPO?

                        hey the users are using windows 7, 8 and 10 (x64) and they are not in gpo environment
                        thank's for reply

                        1 Reply Last reply Reply Quote 0
                        • K
                          killmasta93
                          last edited by

                          But you know whats odd…If i put pfSense as HTTPS internet explorer keeps blocking the sites but not chrome or firefox soo odd..but anyway Also which computers exactly are not auto detecting? WPAD is pretty powerful and forces all client to the proxy ONLY IF the auto detect proxy settings is checked

                          Tutorials:

                          https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

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