paperless-mobile icon indicating copy to clipboard operation
paperless-mobile copied to clipboard

[Feature]: Automatically Trigger Wireguard Tunnel

Open jrpetersjr opened this issue 1 year ago • 2 comments

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

image

jrpetersjr avatar Feb 23 '24 07:02 jrpetersjr

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!

astubenbord avatar Feb 26 '24 14:02 astubenbord

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".

eliasp avatar Mar 24 '24 23:03 eliasp