paperless-mobile
paperless-mobile copied to clipboard
[Feature]: Automatically Trigger Wireguard Tunnel
Description
The Wireguard App allows for starting VPN tunnels from other apps. A lot of people use Paperless with wireguard and I know it would be nice to start have the option to start a tunnel when the app opens and optionally close the tunnel when the app closes. The developer wrote a message about how to do this on reddit some years ago and it's still available here: Wireguard Intent
Wow, very cool, I also use WireGuard to access my self hosted services and didn't know that was a thing. I'll see if I can implement this in one of the next versions!
I wonder why "close" and "open" the "tunnel" in the first place? Wireguard is stateless and doesn't really have a "tunnel", compared to IPsec.
Unless one configures a persistent keepalive, it won't consume any battery or have any network performance impact while not being used and being configured as "always on VPN".