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 12.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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #4

    For "Pi Hole" read "Pi-hole"

    1 Reply Last reply
    0
    • girishG girish

      Looks like this can be easily packaged as an app once we have UDP support in Cloudron. https://git.cloudron.io/cloudron/box/issues/504

      necrevistonnezrN Offline
      necrevistonnezrN Offline
      necrevistonnezr
      wrote on last edited by
      #5

      @girish said in Pi Hole - network-wide ad blocking:

      Looks like this can be easily packaged as an app once we have UDP support in Cloudron. https://git.cloudron.io/cloudron/box/issues/504

      Since this issue has been closed - can we now have pi-hole on Cloudron?

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

        This is easy to get on Cloudron indeed. Two outstanding issues are:

        • Cloudron currently does not allow apps to use port < 1024. DNS requires port 53. This is fixable, I guess.
        • Exposing Pi-Hole on port 53 would mean, anyone can access it, not just you. DNS has no auth mechanism afaik. So, I can start using your Pi-Hole server as well as the DNS. Not sure if that is good/bad. Maybe with some firewall rules we can make it so that it is IP locked.
        O 1 Reply Last reply
        2
        • girishG girish

          This is easy to get on Cloudron indeed. Two outstanding issues are:

          • Cloudron currently does not allow apps to use port < 1024. DNS requires port 53. This is fixable, I guess.
          • Exposing Pi-Hole on port 53 would mean, anyone can access it, not just you. DNS has no auth mechanism afaik. So, I can start using your Pi-Hole server as well as the DNS. Not sure if that is good/bad. Maybe with some firewall rules we can make it so that it is IP locked.
          O Offline
          O Offline
          odie
          wrote on last edited by
          #7

          @girish Would be nice to either have the possibility of keeping it open, or (my preferred option) to be able to add IP rules for oneself (ie. add rules so I can choose IPs/IP-ranges that could access this Pi-Hol).

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

            @girish it would be great to have Pi-hole in Cloudron and I agree with you it should be save so it would be great to have it together with WireGuard.

            Is it possible to make a Cloudron-app with Pi-hole in VPN so you can make use of it anywhere AND safe!?

            Kind regards,
            Marcel.

            1 Reply Last reply
            3
            • hiyukoimH Offline
              hiyukoimH Offline
              hiyukoim
              translator
              wrote on last edited by
              #9

              Upvoted! I'd love to see Pi-hole on Cloudron.

              imc67I 1 Reply Last reply
              2
              • M Offline
                M Offline
                Marta Hernández
                wrote on last edited by girish
                #10

                I love getting to know more about Pi Hole: blocking ads throughout the network, it is very useful for me that I am starting in this. Thank you

                1 Reply Last reply
                0
                • hiyukoimH hiyukoim

                  Upvoted! I'd love to see Pi-hole on Cloudron.

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

                  @hiyukoim this is only possible/safe behind a VPN server like OpenVPN or even better WireGuard. I would really like to see an app with Pi-Hole and WireGuard.

                  1 Reply Last reply
                  2
                  • luckowL Offline
                    luckowL Offline
                    luckow
                    translator
                    wrote on last edited by
                    #12

                    Sorry to ask. I don't understand the use case. Why do you need Pi-hole on Cloudron?
                    For your local network and 53 portforward?
                    For (potential) ads/bugs inside apps from the appstore?
                    For your local network with a local Cloudron instance?
                    ???

                    Pronouns: he/him | Primary language: German

                    yusfY 1 Reply Last reply
                    0
                    • luckowL luckow

                      Sorry to ask. I don't understand the use case. Why do you need Pi-hole on Cloudron?
                      For your local network and 53 portforward?
                      For (potential) ads/bugs inside apps from the appstore?
                      For your local network with a local Cloudron instance?
                      ???

                      yusfY Offline
                      yusfY Offline
                      yusf
                      wrote on last edited by yusf
                      #13

                      @luckow said in Pi Hole - network-wide ad blocking:

                      For your local network with a local Cloudron instance?

                      I think this, as I’ve read about several home-hosters.

                      luckowL 1 Reply Last reply
                      0
                      • yusfY yusf

                        @luckow said in Pi Hole - network-wide ad blocking:

                        For your local network with a local Cloudron instance?

                        I think this, as I’ve read about several home-hosters.

                        luckowL Offline
                        luckowL Offline
                        luckow
                        translator
                        wrote on last edited by
                        #14

                        @yusf Ok. That makes sense. (but it's not my use case) 🙂

                        Pronouns: he/him | Primary language: German

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

                          We can also use it on a VPS and point the DNS to the VPS. Sure, dns queries are a bit slower but maybe websites load faster because of the ad block 🙂

                          luckowL 1 Reply Last reply
                          1
                          • girishG girish

                            We can also use it on a VPS and point the DNS to the VPS. Sure, dns queries are a bit slower but maybe websites load faster because of the ad block 🙂

                            luckowL Offline
                            luckowL Offline
                            luckow
                            translator
                            wrote on last edited by
                            #16

                            @girish yep. Perfectly understandable. But a raspberry pi costs $50, and you can install your smarthome system (e.g. homeassistant or openHAB.) on the same pi. And then it runs on your local network. I'm just thinking. 🙂

                            Pronouns: he/him | Primary language: German

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

                              Pi-Hole on Cloudron is useless IMHO for only internal "filtering".

                              Only in combination with a VPN like WireGuard it's a perfect combination to be online, outside of your 'safe home wifi', without sniffing of mobile providers proxies and "free open wifi", and with a kind of safetynet by Pi-Hole.

                              @luckow yes I do have a RaspberryPi with Wireguard AND Pi-Hole at home, but as an extra "external" backup its very welcome (and very easy) to have Pi-Hole+WireGuard in a Cloudron app. 😉

                              MallewaxM murgeroM 2 Replies Last reply
                              2
                              • doodlemania2D Offline
                                doodlemania2D Offline
                                doodlemania2
                                App Dev
                                wrote on last edited by
                                #18

                                Actually, one could do this (if you know what you're doing) by offering the pihole externally. In order to be safe, you would want to make sure to whitelist ONLY the IPs coming in to connect to it you intend to allow, otherwise you open your self up to DNS hijacking. I do this now by exposing a pihole on Azure that only my home router can connect to. Works great. FWIW, I took a look at packaging pihole the other day, cause of my use case. It looks...possible, but there are a LOT of moving parts and it really wants some pretty low level access, so, challenges will persist.

                                1 Reply Last reply
                                0
                                • S Offline
                                  S Offline
                                  savity
                                  wrote on last edited by
                                  #19

                                  looking really forward for PI-Hole and Wireguard really 🙂

                                  1 Reply Last reply
                                  2
                                  • imc67I imc67

                                    Pi-Hole on Cloudron is useless IMHO for only internal "filtering".

                                    Only in combination with a VPN like WireGuard it's a perfect combination to be online, outside of your 'safe home wifi', without sniffing of mobile providers proxies and "free open wifi", and with a kind of safetynet by Pi-Hole.

                                    @luckow yes I do have a RaspberryPi with Wireguard AND Pi-Hole at home, but as an extra "external" backup its very welcome (and very easy) to have Pi-Hole+WireGuard in a Cloudron app. 😉

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

                                    @imc67 @doodlemania2 Right now I am using this setup on a separate, cloud hosted VM. Wireguard and Pihole, configured so that the system can only be accessed over VPN, not by external parties. Works beautifully and would be so cool, if this was working on Cloudron.

                                    https://www.sethenoka.com/build-your-own-wireguard-vpn-server-with-pi-hole-for-dns-level-ad-blocking/

                                    Excellent idea and request. Thanks for bringing this up.

                                    1 Reply Last reply
                                    3
                                    • 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
                                          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