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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Home Assistant
  3. Reaching out to the local network from an HA container?

Reaching out to the local network from an HA container?

Scheduled Pinned Locked Moved Home Assistant
4 Posts 2 Posters 48 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.
  • jadudmJ Offline
    jadudmJ Offline
    jadudm
    wrote last edited by jadudm
    #1

    A question of HA and (Docker) networking...

    I successfully installed the container, and passed a Zigbee dongle through. Yay!

    However, I then realized that when I wanted to talk to a device on my network, the HA container was in a different network from my devices.

    Or, if you prefer:

                                                      
                                                      
                                                            
                 home     ◄───── cloudron ◄──── HA container
              10.0.0.0/24       10.0.0.xyz      172.X.Y.Z   
                                                            
                                                            
                                                      
    

    For some integrations, HA wants to reach out from the container to talk to devices in my home network. Is there anything in the Cloudron model that would let me do this? Or, is the Docker network locked down to explicitly prohibit this for (say) security reasons?

    I use Cloudron on a DXP2800 NAS w/ 8TB in ZFS RAID1

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

      Should just work.. can you device reach HA?

      Conscious tech

      1 Reply Last reply
      0
      • jadudmJ Offline
        jadudmJ Offline
        jadudm
        wrote last edited by jadudm
        #3

        No, it shouldn't just work. For a device to see HA, it can leave the Docker network, hit my external DNS provider, and talk to the Docker instance by being passed through by Cloudron. The devices, on the other hand, are issued internal/private IP addresses by my local DHCP server. The HA instance is further removed; while the Cloudron server is on the same network as the devices, the container is not; it, instead, is on an internal, private network on the Cloudron host.

        Hence my question.

        I use Cloudron on a DXP2800 NAS w/ 8TB in ZFS RAID1

        robiR 1 Reply Last reply
        0
        • jadudmJ jadudm

          No, it shouldn't just work. For a device to see HA, it can leave the Docker network, hit my external DNS provider, and talk to the Docker instance by being passed through by Cloudron. The devices, on the other hand, are issued internal/private IP addresses by my local DHCP server. The HA instance is further removed; while the Cloudron server is on the same network as the devices, the container is not; it, instead, is on an internal, private network on the Cloudron host.

          Hence my question.

          robiR Offline
          robiR Offline
          robi
          wrote last edited by
          #4

          @jadudm So your Cloudron is missing routes for your home LAN?

          Conscious tech

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          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