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

    Dedicated IP for App

    Support
    5
    8
    274
    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.
    • M
      moonmeister last edited by

      I'm not sure if this is possible but I'd like to be able add a second IP to my cloudron instance and add it to a specific App. My specific use case is for Ad guard. many devices (Windows, macOS) don't support DNS over HTTP so I want to be able to give them an IP address. But it seems this doesn't work cause Cloudron currently relies on domain for routing to containers. Anyway, if this better for Feature Requests please move it, but I thought I'd ask if it was possible. Thanks!

      1 Reply Last reply Reply Quote 0
      • murgero
        murgero App Dev last edited by

        for windows, supposedly, this works for 10, 11, and 2019/2022 server:

        https://docs.microsoft.com/en-us/windows-server/networking/dns/doh-client-support

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

        1 Reply Last reply Reply Quote 1
        • robi
          robi last edited by

          The alternative to a dedicated public IP is to get per App VPN/tunneling working, which can then use the private IP of the App.

          Also, v6 networking will have plenty of v6 IPs to go around.

          Life of Advanced Technology

          1 Reply Last reply Reply Quote 0
          • mehdi
            mehdi App Dev last edited by

            @moonmeister said in Dedicated IP for App:

            cause Cloudron currently relies on domain for routing to containers

            Actually, this is only for HTTP stuff : if you open a port for an app, everything that hits the server on that port should be redirected to the app. You should not need a dedicated IP for this. Actually, it would not change anything.

            M 1 Reply Last reply Reply Quote 1
            • M
              moonmeister @mehdi last edited by

              @mehdi said in Dedicated IP for App:

              @moonmeister said in Dedicated IP for App:

              cause Cloudron currently relies on domain for routing to containers

              Actually, this is only for HTTP stuff : if you open a port for an app, everything that hits the server on that port should be redirected to the app. You should not need a dedicated IP for this. Actually, it would not change anything.

              You're a genius! Thanks, so I had all the ports open and still couldn't figure out why this wasn't working. Long story short....the AdGuard panel displays your computer's IP address, not the servers...I had just assumed it was correct.

              07e031d3-2d5f-49f1-ad74-d5bd77ae81c2-image.png

              Maybe this can be fixed? 🤔

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

                @moonmeister Since we run apps in a container, AdGuard is unable to detect the IP address (and there is no way afaict to make it display the correct IP). So, you can just ignore that setup page. Just use your server's external IP as the DNS server and it should work.

                robi 1 Reply Last reply Reply Quote 1
                • robi
                  robi @girish last edited by

                  @girish said in Dedicated IP for App:

                  AdGuard is unable to detect the IP address

                  Could it not do an external check?

                  Life of Advanced Technology

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

                    @robi I guess it could but the app doesn't (maybe for privacy reasons).

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