top | item 33652853

(no title)

mlangenberg | 3 years ago

At first it felt ‘magical’ being able to reach self-hosted services from my phone regardless of my location, but I quickly noticed the battery drain as well. I believe it has to do with an always-on ‘VPN’ and I don’t expect any improvements soon.

I’ve decided that Tailscale works perfect for all my computers (e.g., Raspberry Pi, Synology NAS, laptop and VPS), but not for my mobile devices. To mitigate this I use cloudflared on my VPS to route internet traffic over tailscale to any internal services that I often use on my phone.

Cloudflared has good options for securing a tunnel by using MFA methods, for example Google authentication.

For the rare occasion that I need to access something else I can always temporary join the Tailscale network from my phone.

discuss

order

greenicon|3 years ago

It is not caused by an always-on VPN, but by Tailscale. Having e.g. plain Wireguard enabled 24/7 doesn't cause the battery drain or the other issues Tailscale on iOS has.

Unfortunately, Wireguard on iOS doesn't work very well with dyndns, as it doesn't re-resolve dns and thus silently loses the connection when public home IPs change.

anderspitman|3 years ago

What are you hosting from your phone? Personally, I think upcycled phones plugged into USB drives are the future of selfhosting, but the software's not there yet.