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. Timeout error when using one cloudron to connect to another cloudron LDAP

Timeout error when using one cloudron to connect to another cloudron LDAP

Scheduled Pinned Locked Moved Solved Support
directoryserver
6 Posts 2 Posters 646 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.
    • C Offline
      C Offline
      cdrm
      wrote on last edited by girish
      #1

      Hello, I'm having trouble connecting one cloudron to another cloudron's LDAP server. I've configured the following so far:

      • Enable ipv6 on both servers.
      • Confirm they works via: curl -6 http://ifconfig.me
      • Enable ipv6 on the cloudron network page.
      • Add AAAA records for "my" (I don't know know how to get cloudron to automatically create this, so I did it manually.
      • Enable LDAP directory on cloudron A.
      • Whitelist the ipv4 and 6 addresses of cloudron B on cloudron A.
      • Attempt to connect cloudron B to cloudron A using the standard menus.

      I'm getting a timeout error. Using sudo tcpdump -i any port 389 or port 636, I've confirmed there's data going out from cloudron B, but the same command in cloudron A doesn't return anything.

      What am I missing here?

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

        If you do iptables -t filter -L CLOUDRON , do you see it added to the firewall? You should see a line like:

        ACCEPT     tcp  --  anywhere             anywhere             match-set cloudron_ldap_allowlist src tcp dpt:3004
        

        You can then do ipset list cloudron_ldap_allowlist to see it's members.

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

          Important consideration: is Cloudron A behind Cloudflare? Since then it won't work.

          1 Reply Last reply
          0
          • girishG girish marked this topic as a question on
          • C Offline
            C Offline
            cdrm
            wrote on last edited by
            #4

            Yes, the issue was due to the LDAP cloudron being behind cloudflare. Thanks for highlighting this.

            1 Reply Last reply
            0
            • girishG girish has marked this topic as solved on
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              Yup, cloudflare doesn't proxy LDAP...

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

                I have added a warning now to help remind:

                image.png

                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