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

    Unofficial WPAD package for pfSense software

    Cache/Proxy
    18
    51
    14.8k
    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.
    • marcellocM
      marcelloc
      last edited by

      @techbee:

      Hi Marcelloc,

      Can you possible give us a full install documentation of this https filtering using wpad. I mean the whole setup.  I have not followed this topic since I am new here and I want to know more about this.  Thanks

      The first topic has the install instructions. I prefer enabling the Unofficial repo and installing it using GUI, then access services -> wpad and configuring it typing suggested default settings.

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • J
        jopeme
        last edited by

        After configuring wpad it is necessary to configure something more like for example dns host overrides, dhcp, firewall rules or the package takes care of all that?

        I am testing it from a subnet called vlan102 and if I configure it in the proxy configuration of url browsers http://pfsense.domain.local/proxy.pac file it works perfectly, but if I activate the autodectection in these browsers then it does not work.
        In /usr/local/etc/nginx/nginx_wpad0.conf i see this:

        server {
                        listen 10.0.0.1:80;
                        server_name wpad.localdomain
                        server name 127.0.0.1
                        client_max_body_size 200m;

        I think it is stranger that server name is wpad.localdomain? and 127.0.0.1 ? My lan ip address is 10.0.0.1

        These are my rules in this interface (second rule is necessary to load http://pfsense.domain.local/proxy.pac) and all http and https go to 3128 squid port:

        Thanks.

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          For autodetect, you need to configure wpad.your.domain.local to resolve fw ip address and also define wpad records on dns.

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • J
            jopeme
            last edited by

            I know how to setting dns records on dns resolver services -> hosts overrides and i write :
            host: wpad
            domain: domain.local
            ip: 10.0.0.1

            I don't understand what do you mean "you need to configure wpad.your.domain.local to resolve fw ip address". How to ?

            Sorry for my english.

            Thanks again.

            1 Reply Last reply Reply Quote 0
            • marcellocM
              marcelloc
              last edited by

              That's exactly what you did. Client's browsers will look for proxy.pac file under wpad.you.domain.local/proxy.pac

              Treinamentos de Elite: http://sys-squad.com

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • T
                techbee
                last edited by

                I hope it would have been a full documented setup configuration and not only this unofficial wpad install because subsequently there will be follow up questions related to this setup which will be answered one by one which is unproductive.

                ofcourse we do appreciate this wpad easily install.

                1 Reply Last reply Reply Quote 0
                • J
                  jetberrocal
                  last edited by

                  @marcelloc:

                  For autodetect, you need to configure wpad.your.domain.local to resolve fw ip address and also define wpad records on dns.

                  Marcelloc.  Please when you have the time, add a note to the Install instructions that we have to make the DNS or DHCP settings for auto-detection.  If possible giving an example for the sake of novice users.

                  1 Reply Last reply Reply Quote 0
                  • C
                    Cino
                    last edited by

                    @jetberrocal:

                    @marcelloc:

                    For autodetect, you need to configure wpad.your.domain.local to resolve fw ip address and also define wpad records on dns.

                    Marcelloc.  Please when you have the time, add a note to the Install instructions that we have to make the DNS or DHCP settings for auto-detection.  If possible giving an example for the sake of novice users.

                    This should help:

                    https://doc.pfsense.org/index.php/WPAD_Autoconfigure_for_Squid

                    https://forum.pfsense.org/index.php?topic=112335.0

                    1 Reply Last reply Reply Quote 0
                    • J
                      jopeme
                      last edited by

                      If you would please, we would be very grateful for a more detailed guide.
                      Thanks.

                      1 Reply Last reply Reply Quote 0
                      • B
                        Bigdaddy168
                        last edited by

                        Nice! Can you make this package official?

                        1 Reply Last reply Reply Quote 0
                        • marcellocM
                          marcelloc
                          last edited by

                          @Bigdaddy168:

                          Nice! Can you make this package official?

                          I can submit a pull request to oficial repo. But need core team review to get merged.

                          Treinamentos de Elite: http://sys-squad.com

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • B
                            Bigdaddy168
                            last edited by

                            @marcelloc:

                            @Bigdaddy168:

                            Nice! Can you make this package official?

                            I can submit a pull request to oficial repo. But need core team review to get merged.

                            That would be great!

                            1 Reply Last reply Reply Quote 0
                            • M
                              muhammet
                              last edited by

                              Thanks, great !

                              1 Reply Last reply Reply Quote 0
                              • W
                                warmadmax
                                last edited by

                                any news on if this will make it to official package status?

                                1 Reply Last reply Reply Quote 0
                                • X
                                  xchaz
                                  last edited by

                                  Hi,

                                  squid+WPAD bypasses my captive portal. Is there any other way?

                                  Thanks,
                                  Chaz

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

                                    @marcelloc:

                                    @Bigdaddy168:

                                    Nice! Can you make this package official?

                                    I can submit a pull request to oficial repo. But need core team review to get merged.

                                    Great work here marcelloc. Finally I have wpad hosted with webconfigurator on https.

                                    Any update on the pull request to official repo?

                                    1 Reply Last reply Reply Quote 0
                                    • V
                                      vicpome
                                      last edited by

                                      Hi, Marcelloc , Is there a step-by-step manual or instuctions for config the GUI of the "wpad" after it is installed?.
                                      Thanks.

                                      C 1 Reply Last reply Reply Quote 0
                                      • C
                                        chicago_cs @vicpome
                                        last edited by

                                        @vicpome , check out this topic

                                        V 1 Reply Last reply Reply Quote 0
                                        • kklouzalK
                                          kklouzal
                                          last edited by kklouzal

                                          @marcelloc said in Unofficial WPAD package for pfSense software:

                                          fetch -q -o /usr/local/etc/pkg/repos/Unofficial.conf https://raw.githubusercontent.com/marcelloc/Unofficial-pfSense-packages/master/Unofficial.24.conf

                                          I logged into SSH, opened Shell, pasted in the 2.4 unofficial repo command and hit enter.

                                          Now when I go to my package manager inside web gui there are no available packages being listed, none at all.

                                          Going to Diagnostics->Edit File and saving "/usr/local/etc/pkg/repos/Unofficial.conf" as a blank file brings my official packages back thankfully.

                                          EDIT:

                                          Solved it, a little searching found that the github repo supplies a patch you must apply so PfSense can display unofficial repos. Check the main page on the github page for more info.

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

                                            That's a lot of hassle with the potential to break pfSense just to configure WPAD, which is simple to configure by hand.

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