Hey everyone,
I’m in the process of setting up my Home Assistant to have read-only access to shared folders on my remote Synology NAS through its VPN tunnel. The OpenVPN server is up and running on the NAS, and I can connect to it using Tunnelblick on my MacBook.
Steps in my mind:
- Configuring Home Assistant to connect to the VPN tunnel and only redirect traffic with the target IP address to the tunnel.
- Automating the mounting process so that these folders are always accessible to Home Assistant. (e.g. can survive after restart)
- Limiting access to these folders to a specific add-on in Home Assistant (e.g. only allowing Immich add-on to read photos from the NAS).
I believe 2 can be done with the “Add network storage” feature but I am not sure if 1 and 3 are achievable. If anyone has experience or advice on setting this up, particularly with NAS over a VPN tunnel, I’d really appreciate your input!
Thanks in advance!