Hi,
I an currently trying to add remote access to 2 of my servers but didn’t manage to get a working setup as is.
Right now I want to access 2 servers:
- one is for media stuff (navidrome, jellyfin, managing the arr stack)
- one is for my data syncing with rsync and after set a backup from borg to another server not on my domain
I was trying at some point to add stuff such as tailscale, but somehow I always had issues with having both servers reachable within the IP range I use on my local network, so everything would work as is with the current config at home being away. I have also heard of cloudflare tunnels as well, but that I didn’t try yet. At some point I tried to do just a regular wireguard from my opnsense, but I would prefer not to have open ports to worry about (and also had issues with internal IP not being assigned from wireguard as well).
Does anyone here has experience with this? If so, what was your solution and/or caviats to it?
clifmo@programming.dev 6 hours ago
All you need is Wireguard with IP forwarding allowed on the host, maybe some firewall rules if you have one. You configure your wire guard client to only route traffic for your network IPs. I leave my wire guard client connected 100% of the time.
kalpol@lemmy.ca 53 minutes ago
This is the way. Quite secure and private. It is not complicated to set up, just have to get the keys and copy them in the right places (and protect the private keys) and do the forwarding to a VPN endpoint on your network.
clifmo@programming.dev 3 minutes ago
Yup. It gets more involved once you start adding DNS and SSL. But if you’re ok typing IPs and you’re not opening your firewall to the public, it’s all you really need.