I want to move away from Cloudflare tunnels, so I rented a cheap VPS from Hetzner and tried to follow this guide. Unfortunately, the WireGuard setup didn’t work. I’m trying to forward all traffic from the VPS to my homeserver and vice versa. Are there any other ways to solve this issue?
VPS Info:
OS: Debian 12
Architecture: ARM64 / aarch64
RAM: 4 GB
Traffic: 20 TB
For single-port traffic with Docker containers (e.g. Plex running in Docker), this has worked great for me: https://github.com/DigitallyRefined/docker-wireguard-tunnel
I don’t have to fiddle with IPTables or PostUp / PostDown rules. I just run that container on both my local machine and the VPS, and use the wg0.conf and peer1.conf it spits out for me.