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.
  • 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
          • iamthefijI iamthefij

            @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 Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #41

            @iamthefij For OpenVPN, I started a new thread - https://forum.cloudron.io/topic/3139/openvpn-admin-ui

            1 Reply Last reply
            1
            • iamthefijI Offline
              iamthefijI Offline
              iamthefij
              App Dev
              wrote on last edited by
              #42

              Cool! Do apps already have access to each other through the bridge? Or would that need to be made possible as well?

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

                While there is network connectivity between the apps (docker's icc is true), the apps do not know the internal IPs and thus cannot easily discover each other. We have to come up with some sort of standard hostname naming mechanism to allow easy configurability.

                1 Reply Last reply
                2
                • iamthefijI iamthefij

                  Cool! Do apps already have access to each other through the bridge? Or would that need to be made possible as well?

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

                  Being able to host Cloudron behind Wireguard in a way where apps would only be accessed through WG would be a nice feature for security-demanding deployments.

                  Edit: Sorry, wrong thread.

                  1 Reply Last reply
                  2
                  • S Offline
                    S Offline
                    savity
                    wrote on last edited by
                    #45

                    Are there any news Regarding Wireguard and Pihole in Cloudron?

                    girishG 1 Reply Last reply
                    1
                    • 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. 😉

                      murgeroM Offline
                      murgeroM Offline
                      murgero
                      App Dev
                      wrote on last edited by
                      #46

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

                      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.

                      This is a common misconception - Just because you are using a VPN does not mean you are completely safe. Sure you maybe safe from traffic sniffers at your local mcdonalds or starbucks, but a VPN that is tied to your name and a device that has other software on it like facebook, twitter, etc still makes you vulnerable to data leakage, tracking and more.

                      --
                      https://urgero.org
                      ~ Professional Nerd. Freelance Programmer. ~

                      marcusquinnM 1 Reply Last reply
                      0
                      • murgeroM murgero

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

                        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.

                        This is a common misconception - Just because you are using a VPN does not mean you are completely safe. Sure you maybe safe from traffic sniffers at your local mcdonalds or starbucks, but a VPN that is tied to your name and a device that has other software on it like facebook, twitter, etc still makes you vulnerable to data leakage, tracking and more.

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

                        @murgero Exactly that! There's a reason why not one single bank in the world has "Login with Google/Facebook/Twitter" etc.

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

                        1 Reply Last reply
                        1
                        • S savity

                          Are there any news Regarding Wireguard and Pihole in Cloudron?

                          girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by girish
                          #48

                          @savity I did give pi-hole a try but it was really hard to package from source easily. I managed to instead package the new kid in the block - AdGuard. Some reviews here https://home-assistant-guide.com/2020/09/26/adguard-home-vs-pi-hole-2020-two-ad-and-internet-tracker-blockers-compared/ and https://mariushosting.com/synology-adguard-vs-pi-hole/ . It requires some support from the platform, depending on time we might add it to Cloudron 6 (or the release after). https://forum.cloudron.io/topic/3075/adguard-network-wide-ads-trackers-blocking-dns-server is the forum topic for that.

                          S murgeroM 2 Replies Last reply
                          2
                          • girishG girish

                            @savity I did give pi-hole a try but it was really hard to package from source easily. I managed to instead package the new kid in the block - AdGuard. Some reviews here https://home-assistant-guide.com/2020/09/26/adguard-home-vs-pi-hole-2020-two-ad-and-internet-tracker-blockers-compared/ and https://mariushosting.com/synology-adguard-vs-pi-hole/ . It requires some support from the platform, depending on time we might add it to Cloudron 6 (or the release after). https://forum.cloudron.io/topic/3075/adguard-network-wide-ads-trackers-blocking-dns-server is the forum topic for that.

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

                            @girish Sad to hear thath Pi-hole didn't workout but lets see how AdGuard is 😉 Thanks for your Work

                            1 Reply Last reply
                            1
                            • girishG girish

                              @savity I did give pi-hole a try but it was really hard to package from source easily. I managed to instead package the new kid in the block - AdGuard. Some reviews here https://home-assistant-guide.com/2020/09/26/adguard-home-vs-pi-hole-2020-two-ad-and-internet-tracker-blockers-compared/ and https://mariushosting.com/synology-adguard-vs-pi-hole/ . It requires some support from the platform, depending on time we might add it to Cloudron 6 (or the release after). https://forum.cloudron.io/topic/3075/adguard-network-wide-ads-trackers-blocking-dns-server is the forum topic for that.

                              murgeroM Offline
                              murgeroM Offline
                              murgero
                              App Dev
                              wrote on last edited by
                              #50

                              @girish I have adguard installed via homeassistant on a RPi4 and it works just as pi-hole does. Admin UI looks similar as well. I'd suspect you will find little to no complaints on packaging adg or pih.

                              --
                              https://urgero.org
                              ~ Professional Nerd. Freelance Programmer. ~

                              girishG 1 Reply Last reply
                              1
                              • murgeroM murgero

                                @girish I have adguard installed via homeassistant on a RPi4 and it works just as pi-hole does. Admin UI looks similar as well. I'd suspect you will find little to no complaints on packaging adg or pih.

                                girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #51

                                @murgero Yes, it also seems adh has some important features like DoH.

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

                                  Adguard Home will be available in Cloudron 6 - https://forum.cloudron.io/topic/3075/adguard-network-wide-ads-trackers-blocking-dns-server . It is similar to pi hole (and more feature rich).

                                  1 Reply Last reply
                                  3
                                  • girishG girish

                                    @murgero Yes, it also seems adh has some important features like DoH.

                                    varunsridharanV Offline
                                    varunsridharanV Offline
                                    varunsridharan
                                    wrote on last edited by
                                    #53

                                    @girish i would love to see PI-Hole in Cloudron.

                                    And option to setup Pihole with Android Private DNS which requires DNS-over-TLS

                                    and i wrote a quick setup script for Pihole DNS-over-TLS

                                    https://github.com/varunsridharan/pi-hole-android-private-dns/blob/main/pi-hole5.sh

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

                                      I have added an option to make the DNS server of the OpenVPN app configuration - https://forum.cloudron.io/topic/3875/adding-custom-dns-server . So, you can install AdGuard Home and OpenVPN and then make OpenVPN use AdGuard as the DNS server.

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

                                        Just leaving a note here for people looking into pi-hole. Starting 6.2, Cloudron also supports DoT (DNS over TLS) in AdGuard Home. This makes it work out of the box in Android phones.

                                        jdaviescoatesJ 1 Reply Last reply
                                        1
                                        • girishG girish

                                          Just leaving a note here for people looking into pi-hole. Starting 6.2, Cloudron also supports DoT (DNS over TLS) in AdGuard Home. This makes it work out of the box in Android phones.

                                          jdaviescoatesJ Offline
                                          jdaviescoatesJ Offline
                                          jdaviescoates
                                          wrote on last edited by
                                          #56

                                          @girish so if I've got this right, I could AdGuard to stop any ads ever being shown on the Android tablet my kids use? (most are blocked already either using uBlock Origin in the browsers or e.g. NewPipe instead of YouTube - although I can't uninstall YT on this machine and no doubt the kids will find and open it at some point)

                                          Could I somehow achieve that using a Cloudron installed on a VPS, or is AdGuard something I'd need running on a machine at home? Thanks!

                                          I use Cloudron with Gandi & Hetzner

                                          necrevistonnezrN 1 Reply Last reply
                                          0
                                          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