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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Adding custom dns server

    OpenVPN
    3
    10
    513
    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.
    • S
      savity last edited by

      @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 Reply Quote 0
      • girish
        girish Staff last edited by

        @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 Reply Quote 0
        • S
          savity @girish last edited by

          @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 ?

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @savity last edited by

            @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 Reply Quote 0
            • S
              savity @girish last edited by 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

              girish 2 Replies Last reply Reply Quote 0
              • girish
                girish Staff @savity last edited by

                @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 Reply Quote 0
                • girish
                  girish Staff @savity last edited by

                  @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 Reply Quote 0
                  • S
                    savity @girish last edited by 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

                    girish 1 Reply Last reply Reply Quote 0
                    • girish
                      girish Staff @savity last edited by

                      @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 Reply Quote 0
                      • robi
                        robi last edited by

                        avoid the $

                        Life of Advanced Technology

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Powered by NodeBB