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. VPN
  3. Adding custom dns server

Adding custom dns server

Scheduled Pinned Locked Moved VPN
10 Posts 3 Posters 1.8k Views 2 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.
    • S Offline
      S Offline
      savity
      wrote on last edited by
      #1

      @girish regarding this i would use my internal openvpn APP to use the DNS server from ADGuard where i only whitelist the openVPN client ip.

      But in the documentation there is a link regarding internal DNS, witch is not working:
      https://docs.cloudron.io/apps/openvpn/

      Still you know i have made server topics regarding WireGuard and Raspberry PI, still thinks its better.

      But id like to try first oPenVPN with Ad Guard

      BR

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

        @savity Should be fixed now, it should point to https://docs.cloudron.io/networking/#internal-dns-server .

        About pi-hole, I have looked into it before and it's too much work to package for Cloudron. So, I don't see it being packaged in the short term. AdGuard Home is functionally equivalent and also has DoH and DoTLS support which pi-hole last I checked didn't have.

        S 1 Reply Last reply
        0
        • girishG girish

          @savity Should be fixed now, it should point to https://docs.cloudron.io/networking/#internal-dns-server .

          About pi-hole, I have looked into it before and it's too much work to package for Cloudron. So, I don't see it being packaged in the short term. AdGuard Home is functionally equivalent and also has DoH and DoTLS support which pi-hole last I checked didn't have.

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

          @girish I think i explained it wrong 🙂 I have 2 Apps openVPN and and ADGuard what is the correct way to tell openVPN to use the dns from the ADGuard service ?

          girishG 1 Reply Last reply
          0
          • S savity

            @girish I think i explained it wrong 🙂 I have 2 Apps openVPN and and ADGuard what is the correct way to tell openVPN to use the dns from the ADGuard service ?

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

            @savity Got it! I pushed a new package. With that you can put custom config in /app/data/dnsmasq.conf. I have updated https://docs.cloudron.io/apps/openvpn/#dns-server . Can you try?

            S 1 Reply Last reply
            0
            • girishG girish

              @savity Got it! I pushed a new package. With that you can put custom config in /app/data/dnsmasq.conf. I have updated https://docs.cloudron.io/apps/openvpn/#dns-server . Can you try?

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

              @girish Thanks id like to but changing the password , does not work in ADGuard

              1.)htpasswd -nbB admin mypassword -> Creating a password
              2.) copying my result to /app/data/AdGuardHome.yaml restarting the app

              Is there any issue ? i have reproduced it several times, can't change it

              Normally i don't post passwords but in this case you can test it with 7uxY@UbvhF9Q4rANNGLxSSG#s2bg29$j

              Because its not productiv enviroment.

              This app packages AdGuard Home 0.104.3.

              BR

              girishG 2 Replies Last reply
              0
              • S savity

                @girish Thanks id like to but changing the password , does not work in ADGuard

                1.)htpasswd -nbB admin mypassword -> Creating a password
                2.) copying my result to /app/data/AdGuardHome.yaml restarting the app

                Is there any issue ? i have reproduced it several times, can't change it

                Normally i don't post passwords but in this case you can test it with 7uxY@UbvhF9Q4rANNGLxSSG#s2bg29$j

                Because its not productiv enviroment.

                This app packages AdGuard Home 0.104.3.

                BR

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

                @savity I tried this on a new install now and it works fine. Note that the command literally sets your password to "mypassword".

                root@c85c74de-6f14-4bba-a969-a19853a6b7e2:/app/code# htpasswd -nbB admin mypassword
                admin:$2y$05$htn2iYlLUABe5F3Vefz6humD1fdTfbhvnz2vSH220bdmaca1qyqSK
                
                root@c85c74de-6f14-4bba-a969-a19853a6b7e2:/app/code# cat /app/data/AdGuardHome.yaml | grep password
                  password: $2y$05$htn2iYlLUABe5F3Vefz6humD1fdTfbhvnz2vSH220bdmaca1qyqSK
                

                I am not able to login as admin/mypassword.

                1 Reply Last reply
                0
                • S savity

                  @girish Thanks id like to but changing the password , does not work in ADGuard

                  1.)htpasswd -nbB admin mypassword -> Creating a password
                  2.) copying my result to /app/data/AdGuardHome.yaml restarting the app

                  Is there any issue ? i have reproduced it several times, can't change it

                  Normally i don't post passwords but in this case you can test it with 7uxY@UbvhF9Q4rANNGLxSSG#s2bg29$j

                  Because its not productiv enviroment.

                  This app packages AdGuard Home 0.104.3.

                  BR

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

                  @savity BTW, where did you run htpasswd? Run it in the Web Terminal of the app. Somehow 7uxY@UbvhF9Q4rANNGLxSSG#s2bg29$j seems very little characters compared to what I generated.

                  S 1 Reply Last reply
                  0
                  • girishG girish

                    @savity BTW, where did you run htpasswd? Run it in the Web Terminal of the app. Somehow 7uxY@UbvhF9Q4rANNGLxSSG#s2bg29$j seems very little characters compared to what I generated.

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

                    @girish installed new 🙂 did not work with the password 7uxY@UbvhF9Q4rANNGLxSSG#s2bg29$j but it worked with password123! maybe a bug....

                    Yeah i know on the terminal

                    Looks like this pw works
                    7uxY@UbvhF9Q4rANNGLxSSG#s2bg29
                    and this not
                    7uxY@UbvhF9Q4rANNGLxSSG#s2bg29$j

                    girishG 1 Reply Last reply
                    0
                    • S savity

                      @girish installed new 🙂 did not work with the password 7uxY@UbvhF9Q4rANNGLxSSG#s2bg29$j but it worked with password123! maybe a bug....

                      Yeah i know on the terminal

                      Looks like this pw works
                      7uxY@UbvhF9Q4rANNGLxSSG#s2bg29
                      and this not
                      7uxY@UbvhF9Q4rANNGLxSSG#s2bg29$j

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

                      @savity Can you try quoting the password ? Like

                      password: "$2y$05$htn2iYlLUABe5F3Vefz6humD1fdTfbhvnz2vSH220bdmaca1qyqSK"
                      

                      Maybe characters like # interfere with yaml syntax (because it starts a comment) ?

                      1 Reply Last reply
                      0
                      • robiR Offline
                        robiR Offline
                        robi
                        wrote on last edited by
                        #10

                        avoid the $

                        Conscious tech

                        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