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. Support
  3. serious Cloudflare goof

serious Cloudflare goof

Scheduled Pinned Locked Moved Solved Support
cloudflare
21 Posts 6 Posters 4.7k Views 7 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.
  • girishG girish

    I am not a Cloudflare customer, so I don't know the expectations of Cloudflare customers. Your recommendation is clear. Any other cloudflare customers here? Do you always proxy your sites via Cloudflare? Maybe we should add a checkbox to allow "proxied" setup at domain setup time.

    benborgesB Offline
    benborgesB Offline
    benborges
    wrote on last edited by benborges
    #10

    @girish I'm using cloudron + CF for osintukraine.com, these consideration are super important in adversarial environments, (the question here is not about CF ethics etc..I'm fully aware of them, but still had to use CF for a bunch of very valid reasons)

    So yes, the proxy at setup of the app itself would definitely help CF users, I can confirm that every installed app in a CF handled domains, requite to login to CF and manually set proxy enabled.

    Since cloudron has full access to CF via the API it would be perfect to allow to set the proxy from the get go, including for the my subdomain.

    The problem I'm seeing is that my subdomain is also the MX dns entry
    so even if all apps get proxied properly from the start, the MX entry in itself almost render the use of CF + Cloudron useless in a very critical environment.

    OSINTukraine will be moved back to registrar DNS because ultimately, my domain is already burned, the only thing that kinda save me is that I setup a system that redirect any direct targeting of the box IP back to CF, but again, my IP is burned.

    1 year after, I can say that the environment does not seem to be that dangerous for the project I'm running, hence considering to move back.

    BenB

    girishG 1 Reply Last reply
    1
    • benborgesB benborges

      @girish I'm using cloudron + CF for osintukraine.com, these consideration are super important in adversarial environments, (the question here is not about CF ethics etc..I'm fully aware of them, but still had to use CF for a bunch of very valid reasons)

      So yes, the proxy at setup of the app itself would definitely help CF users, I can confirm that every installed app in a CF handled domains, requite to login to CF and manually set proxy enabled.

      Since cloudron has full access to CF via the API it would be perfect to allow to set the proxy from the get go, including for the my subdomain.

      The problem I'm seeing is that my subdomain is also the MX dns entry
      so even if all apps get proxied properly from the start, the MX entry in itself almost render the use of CF + Cloudron useless in a very critical environment.

      OSINTukraine will be moved back to registrar DNS because ultimately, my domain is already burned, the only thing that kinda save me is that I setup a system that redirect any direct targeting of the box IP back to CF, but again, my IP is burned.

      1 year after, I can say that the environment does not seem to be that dangerous for the project I'm running, hence considering to move back.

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

      @benborges you can also consider moving the mail server to a separate Cloudron instance. There's no reason for all of it to be on a single server.

      benborgesB 2 Replies Last reply
      2
      • girishG girish

        @benborges you can also consider moving the mail server to a separate Cloudron instance. There's no reason for all of it to be on a single server.

        benborgesB Offline
        benborgesB Offline
        benborges
        wrote on last edited by
        #12

        @girish true, haven't explored that part yet, but I'll have a look and report back

        BenB

        1 Reply Last reply
        0
        • girishG girish

          @benborges you can also consider moving the mail server to a separate Cloudron instance. There's no reason for all of it to be on a single server.

          benborgesB Offline
          benborgesB Offline
          benborges
          wrote on last edited by benborges
          #13

          @girish on another note, I'm noticing serious issues with the cloudron mail server when used in conjunction with CF, emails sent to me bounce back and the contacts have no way to alert me that their email bounced back, it's still unclear to me why they bounce back, but Cloudron + CF + Self-hosted email server is definitely not working as it should : thunderbird or outlook autodiscovery of email setting fails and even they don't (not sure why in some case they fail and some case they don't) it's impossible to use thunderbird with CF + Cloudron, there is just no way to add the mailbox user.

          no issue sending emails, no issue with app emails sending emails to emails hosted by the cloudron, no issues sending emails outside.

          problem seems to be getting them. Took me months to notice this problem for instance because i wasn't keeping an eye on the Mail log.

          BenB

          1 Reply Last reply
          0
          • girishG girish

            Oh well, I added a checkbox to set the proxying flag for new DNS records. I was in two minds but "security" is plastered all over cloudflare's marketing and docs about this feature. So, people will always have whatever opinion that cannot be changed (including mine 🙂 ).

            It's disabled by default. From Cloudron's point of view, this is the secure default.

            382c4658-ae69-4f75-b017-7fc1ae82893d-image.png

            benborgesB Offline
            benborgesB Offline
            benborges
            wrote on last edited by
            #14

            @girish just thinking out loud but if this is implemented, then other areas where an action create a subdomain on the fly should also have this proxying option available, such as 4483cb84-3995-462f-b9b5-75a511c28e2b-image.png that is, if the domain is handled by CF dns.

            BenB

            girishG benborgesB 2 Replies Last reply
            0
            • benborgesB benborges

              @girish just thinking out loud but if this is implemented, then other areas where an action create a subdomain on the fly should also have this proxying option available, such as 4483cb84-3995-462f-b9b5-75a511c28e2b-image.png that is, if the domain is handled by CF dns.

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

              @benborges Setting the default proxying value in Domains view will essentially set up the domain in Cloudflare with/without proxying for new subdomains. The flag was added only because it's considered a "security" issue. I think adding options to add/remove CF settings per subdomain level should be done in CF itself. It will complicate things too much for us to add things in subdomain level (unless there is a good reason for this).

              benborgesB 1 Reply Last reply
              0
              • girishG girish

                @benborges Setting the default proxying value in Domains view will essentially set up the domain in Cloudflare with/without proxying for new subdomains. The flag was added only because it's considered a "security" issue. I think adding options to add/remove CF settings per subdomain level should be done in CF itself. It will complicate things too much for us to add things in subdomain level (unless there is a good reason for this).

                benborgesB Offline
                benborgesB Offline
                benborges
                wrote on last edited by
                #16

                @girish Yes that's I'm currently doing, I mean, heading to CF dns dashboard each time I add a new sub domain/app but this means that during a brief period of time, the IP leaks without being proxied.

                I understand if Cloudron does not want to head that way but this means that for high-threat level environments, cloudron should not be used behind CF.

                BenB

                girishG 1 Reply Last reply
                0
                • benborgesB benborges

                  @girish Yes that's I'm currently doing, I mean, heading to CF dns dashboard each time I add a new sub domain/app but this means that during a brief period of time, the IP leaks without being proxied.

                  I understand if Cloudron does not want to head that way but this means that for high-threat level environments, cloudron should not be used behind CF.

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

                  @benborges said in serious Cloudflare goof:

                  I understand if Cloudron does not want to head that way but this means that for high-threat level environments, cloudron should not be used behind CF.

                  I am confused. The default option which we added for next release should allow you to hide the IP of the server from the get go, no? Can you tell me which workflow it doesn't work for?

                  1 Reply Last reply
                  0
                  • girishG girish

                    Oh well, I added a checkbox to set the proxying flag for new DNS records. I was in two minds but "security" is plastered all over cloudflare's marketing and docs about this feature. So, people will always have whatever opinion that cannot be changed (including mine 🙂 ).

                    It's disabled by default. From Cloudron's point of view, this is the secure default.

                    382c4658-ae69-4f75-b017-7fc1ae82893d-image.png

                    benborgesB Offline
                    benborgesB Offline
                    benborges
                    wrote on last edited by
                    #18

                    @girish said in serious Cloudflare goof:

                    Oh well, I added a checkbox to set the proxying flag for new DNS records. I was in two minds but "security" is plastered all over cloudflare's marketing and docs about this feature. So, people will always have whatever opinion that cannot be changed (including mine 🙂 ).

                    It's disabled by default. From Cloudron's point of view, this is the secure default.

                    382c4658-ae69-4f75-b017-7fc1ae82893d-image.png

                    I think this one is great, it will already improve CF + Cloudron for tons of use cases

                    BenB

                    1 Reply Last reply
                    0
                    • benborgesB benborges

                      @girish just thinking out loud but if this is implemented, then other areas where an action create a subdomain on the fly should also have this proxying option available, such as 4483cb84-3995-462f-b9b5-75a511c28e2b-image.png that is, if the domain is handled by CF dns.

                      benborgesB Offline
                      benborgesB Offline
                      benborges
                      wrote on last edited by benborges
                      #19

                      @benborges said in serious Cloudflare goof:

                      @girish just thinking out loud but if this is implemented, then other areas where an action create a subdomain on the fly should also have this proxying option available, such as 4483cb84-3995-462f-b9b5-75a511c28e2b-image.png that is, if the domain is handled by CF dns.

                      Maybe I'm confused, but unless this logic isn't build at the app deployment too, then yes for the main deployment it will work, but not for individual app additions ?

                      Ideally, if the domain is handled by CF, having a check box to directly proxy the sub-domain installations through CF would be great, but I understand that would add to much CF specific things to the app deployment at cloudron level ?

                      BenB

                      girishG 1 Reply Last reply
                      0
                      • benborgesB benborges

                        @benborges said in serious Cloudflare goof:

                        @girish just thinking out loud but if this is implemented, then other areas where an action create a subdomain on the fly should also have this proxying option available, such as 4483cb84-3995-462f-b9b5-75a511c28e2b-image.png that is, if the domain is handled by CF dns.

                        Maybe I'm confused, but unless this logic isn't build at the app deployment too, then yes for the main deployment it will work, but not for individual app additions ?

                        Ideally, if the domain is handled by CF, having a check box to directly proxy the sub-domain installations through CF would be great, but I understand that would add to much CF specific things to the app deployment at cloudron level ?

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

                        @benborges said in serious Cloudflare goof:

                        Maybe I'm confused, but unless this logic isn't build at the app deployment too, then yes for the main deployment it will work, but not for individual app additions ?

                        Ah yes, that's what that flag does. I see now that the screeshot is not "complete". That UI is the domains view. If you set the flag, then when Cloudron adds a new domain to Cloudflare, it will set the proxying based on that value. Essentially, it's the default value of the proxying cloudflare bit for new subdomains (so, not just installation time). If you want to turn this off later, you can do so by going to the Cloudflare dashboard. Cloudron won't interfere with the "proxying" flag after the domain has been added (for the lifecycle of the app).

                        benborgesB 1 Reply Last reply
                        2
                        • girishG girish

                          @benborges said in serious Cloudflare goof:

                          Maybe I'm confused, but unless this logic isn't build at the app deployment too, then yes for the main deployment it will work, but not for individual app additions ?

                          Ah yes, that's what that flag does. I see now that the screeshot is not "complete". That UI is the domains view. If you set the flag, then when Cloudron adds a new domain to Cloudflare, it will set the proxying based on that value. Essentially, it's the default value of the proxying cloudflare bit for new subdomains (so, not just installation time). If you want to turn this off later, you can do so by going to the Cloudflare dashboard. Cloudron won't interfere with the "proxying" flag after the domain has been added (for the lifecycle of the app).

                          benborgesB Offline
                          benborgesB Offline
                          benborges
                          wrote on last edited by
                          #21

                          @girish Oh great, that seems good then, happy to test it when it's available !

                          BenB

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