• 0 Posts
  • 9 Comments
Joined 2 years ago
cake
Cake day: July 23rd, 2023

help-circle

  • Oisteink@feddit.nltohomeassistant@lemmy.worldSecure remote access
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 day ago

    Theres a subscription for this that works kinda like that.

    Otherwise a vpn into your hone network gives you access from your devices. Maybe your router already supports this, otherwise tailscale or zerotier and similar can be a good solution.

    I dont have issues exposing my ha to the internet through caddy, but i filter traffic based on country of origin (geoip2). Used to have separate auth in front but i removed that a few months ago

    Edit: not too much use of running two containers if you expose the same storage to both. Better option would be to have two reverse proxies, one for local and one for internet, both proxyinf the same ha instance. That way you can get ha on normal https port with certs.

    Imo you are pretty safe with a reverse proxy with an extra layer of security.



  • There are other solutions than docker for that use-case that I think are better fits. It probably works fine, but for me other drivers including host mode and ipvlan seems to have been introduced to solve the wrong thing. Like how it needs privilege for them to work and how it exposes the containers network interface. For me it kinda breaks parts of why i would use docker.

    Its my personal opinion and how i like to work.

    You could probably make your setup work but it seems too complicated for me when you introduce a bridge as the root interface. Maybe with macvlan adapters on the host instead or in addition.





  • There are other things to consider as well. Nfsv3 is good for large sequential reads/writes. There are no multichannel in nfs3 and no caching , and you should adapt technology to the use-case. For vm storage nfs sucks while for movie storage it works great.

    For general file storage I would pick smbv3 for speed and ease of user/security