Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Pi Hole - network-wide ad blocking

Pi Hole - network-wide ad blocking

Scheduled Pinned Locked Moved App Wishlist
59 Posts 19 Posters 10.8k Views 20 Watching
  • 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.
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by girish
      #21

      Currently, what is holding back pi-hole is a couple of Cloudron limitations:

      • Cloudron reserves port 53 (dns) on the server. Have to fix unbound to listen only on internal interfaces (we listen on 0.0.0.0 and rely on firewall and access control policies to block requests).

      • Some IP based firewall as @savity has been requesting in another thread. This is required to block requests to pi-hole to just your machines/network.

      imc67I 1 Reply Last reply
      1
      • girishG girish

        Currently, what is holding back pi-hole is a couple of Cloudron limitations:

        • Cloudron reserves port 53 (dns) on the server. Have to fix unbound to listen only on internal interfaces (we listen on 0.0.0.0 and rely on firewall and access control policies to block requests).

        • Some IP based firewall as @savity has been requesting in another thread. This is required to block requests to pi-hole to just your machines/network.

        imc67I Offline
        imc67I Offline
        imc67
        translator
        wrote on last edited by
        #22

        @girish you don't have these issues if you combine with Wireguard.

        1 Reply Last reply
        3
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #23

          @imc67 indeed. If we bundle them together, it's not a problem. Is this the "preferred" way to package pi-hole?

          MallewaxM imc67I 2 Replies Last reply
          5
          • S Offline
            S Offline
            savity
            wrote on last edited by savity
            #24

            yeah i mean it would be for me 🙂 i would never create pihole acessable for others its for private reasons vpn+pihole. So pihole would be listening, lets say on 10.9.0.0

            Maybe in the future the idea could to configure other apps only availaie in the same VPN Network

            1 Reply Last reply
            2
            • girishG girish

              @imc67 indeed. If we bundle them together, it's not a problem. Is this the "preferred" way to package pi-hole?

              MallewaxM Offline
              MallewaxM Offline
              Mallewax
              wrote on last edited by
              #25

              @girish @imc67 Same here, I think the combination is awesome and makes a lot of sense. PLEASE, PLEASE...Yes...:-)

              S 1 Reply Last reply
              2
              • MallewaxM Mallewax

                @girish @imc67 Same here, I think the combination is awesome and makes a lot of sense. PLEASE, PLEASE...Yes...:-)

                S Offline
                S Offline
                savity
                wrote on last edited by
                #26

                @Mallewax i think this would lead also to new people using cloudron 🙂

                MallewaxM 1 Reply Last reply
                2
                • S savity

                  @Mallewax i think this would lead also to new people using cloudron 🙂

                  MallewaxM Offline
                  MallewaxM Offline
                  Mallewax
                  wrote on last edited by
                  #27

                  @savity couldn’t agree more. For me it would be a killer feature. And would make for a nice campaign on Twitter, Reddit et. all. Just look how many people google this and try to establish it manually....this is a mainstream feature, that would be appreciated by the entire user base, much more than specific applications that appeal only to certain users.... my opinion

                  1 Reply Last reply
                  2
                  • girishG girish

                    @imc67 indeed. If we bundle them together, it's not a problem. Is this the "preferred" way to package pi-hole?

                    imc67I Offline
                    imc67I Offline
                    imc67
                    translator
                    wrote on last edited by
                    #28

                    @girish definately! 🙂

                    1 Reply Last reply
                    1
                    • marcusquinnM Offline
                      marcusquinnM Offline
                      marcusquinn
                      wrote on last edited by
                      #29

                      Haha, Pie Hole / Cake Hole is British for your mouth, as in; shut your pie hole 😮

                      https://www.urbandictionary.com/define.php?term=Pie Hole

                      Web Design https://www.evergreen.je
                      Development https://brandlight.org
                      Life https://marcusquinn.com

                      ? 1 Reply Last reply
                      0
                      • marcusquinnM marcusquinn

                        Haha, Pie Hole / Cake Hole is British for your mouth, as in; shut your pie hole 😮

                        https://www.urbandictionary.com/define.php?term=Pie Hole

                        ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #30

                        @marcusquinn
                        Pi-hole, not Pie hole

                        marcusquinnM 1 Reply Last reply
                        0
                        • ? A Former User

                          @marcusquinn
                          Pi-hole, not Pie hole

                          marcusquinnM Offline
                          marcusquinnM Offline
                          marcusquinn
                          wrote on last edited by
                          #31

                          @Hillside502 3.14159265359... hole 🙂

                          Web Design https://www.evergreen.je
                          Development https://brandlight.org
                          Life https://marcusquinn.com

                          1 Reply Last reply
                          0
                          • ? Offline
                            ? Offline
                            A Former User
                            wrote on last edited by
                            #32

                            How is the progress here?

                            S 1 Reply Last reply
                            1
                            • ? A Former User

                              How is the progress here?

                              S Offline
                              S Offline
                              savity
                              wrote on last edited by
                              #33

                              @timbo Yeah any information this ?

                              1 Reply Last reply
                              0
                              • girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #34

                                Last I checked it was quite tricky to deploy pi-hole with docker. Does anyone have experience with this style of deployment? It was really made like a "distribution"/"OS" instead of a separate app.

                                iamthefijI 1 Reply Last reply
                                0
                                • girishG girish

                                  Last I checked it was quite tricky to deploy pi-hole with docker. Does anyone have experience with this style of deployment? It was really made like a "distribution"/"OS" instead of a separate app.

                                  iamthefijI Offline
                                  iamthefijI Offline
                                  iamthefij
                                  App Dev
                                  wrote on last edited by
                                  #35

                                  @girish It's pretty straightforward as far as I can tell. I've got two instances hosted via Docker on Raspberry Pis at my home.

                                  I agree with folks above suggesting though that it'd be best to expose only to internal services and likely inside a VPN. There is probably a decent way to do this in a single app, but I wonder if there is value in creating a new way to expose particular Apps to other apps via a shared network.

                                  This would allow exposing a Pi-Hole app that has no "public" ports to any VPN app (OpenVPN, Wireguard, etc) with an internal hostname (app name?).

                                  1 Reply Last reply
                                  0
                                  • girishG Offline
                                    girishG Offline
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #36

                                    @iamthefij So, let's say the VPN app had a way to set a custom name server and one could just edit some file and set it to the pi-hole app, would this be good enough already? Given that the OpenVPN app is custom anyway, we can even add a simple UI that allows a user to set the DNS server IP (as you say, this might be the internal host name since IP might be dynamic actually).

                                    This seems quite doable.

                                    iamthefijI 1 Reply Last reply
                                    0
                                    • doodlemania2D Offline
                                      doodlemania2D Offline
                                      doodlemania2
                                      App Dev
                                      wrote on last edited by
                                      #37

                                      I've got one up and running on a public endpoint, no sweat. I just set the server to only allow queries from my IP range, deny all by default.

                                      iamthefijI 1 Reply Last reply
                                      0
                                      • girishG girish

                                        @iamthefij So, let's say the VPN app had a way to set a custom name server and one could just edit some file and set it to the pi-hole app, would this be good enough already? Given that the OpenVPN app is custom anyway, we can even add a simple UI that allows a user to set the DNS server IP (as you say, this might be the internal host name since IP might be dynamic actually).

                                        This seems quite doable.

                                        iamthefijI Offline
                                        iamthefijI Offline
                                        iamthefij
                                        App Dev
                                        wrote on last edited by
                                        #38

                                        @girish yea, that's pretty much all that should be required. As long as the two containers can communicate via their internal host names, it should be sufficient.

                                        The other advantage here is that it enables you to use the DNS from a mobile phone. Otherwise whenever you switch to a new network you receive the networks DNS via DHCP.

                                        girishG 1 Reply Last reply
                                        0
                                        • doodlemania2D doodlemania2

                                          I've got one up and running on a public endpoint, no sweat. I just set the server to only allow queries from my IP range, deny all by default.

                                          iamthefijI Offline
                                          iamthefijI Offline
                                          iamthefij
                                          App Dev
                                          wrote on last edited by
                                          #39

                                          @doodlemania2 I'm not sure exactly what you've configured, but many folks do not have static IP addresses to do this with. Not only does my home network frequently change IP addresses, but my mobile network does as well.

                                          1 Reply Last reply
                                          0
                                          • imc67I Offline
                                            imc67I Offline
                                            imc67
                                            translator
                                            wrote on last edited by
                                            #40

                                            @Mallewax said in AdGuard - Network-wide ads & trackers blocking DNS server:

                                            Pihole plus Wireguard

                                            Let's vote more here: https://forum.cloudron.io/topic/1355/pi-hole-network-wide-ad-blocking

                                            In short why:

                                            WireGuard is a very fast, safe and stateless VPN, great with mobile apps to be ALWAYS CONNECTED via your own VPN & covered by the Pi-hole adfilter & security platform. Faster (mobile) connections (no more ads and bulky stuff) to your own safe VPN (no more sniffing by mobile providers or obscure VPN providers).

                                            Need to say more 😉

                                            1 Reply Last reply
                                            1
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes


                                              • Login

                                              • Don't have an account? Register

                                              • Login or register to search.
                                              • First post
                                                Last post
                                              0
                                              • Categories
                                              • Recent
                                              • Tags
                                              • Popular
                                              • Bookmarks
                                              • Search