News for hackers. Stuff that matters.
Re:Ditching Obsidian and building my own by Arch-TK on Sunday May 18, 2025 @04:34PM (#44024126)
How did you automate it to start on networks which are not yours?

This is like the only piece of the puzzle for me.

Re:Ditching Obsidian and building my own by thequux on Sunday May 18, 2025 @05:22PM (#44024395)
Set the AllowedIPs wireguard setting (and/or the route, if you can set that separately) to one larger than your home network (i.e., if your home network is 192.168.1.0/24, use 192.168.0.0/23). Then, block wireguard packets from the internal network on your router. Then the tunnel will always be running; it just won't be used when you're at home because there's a more specific route
Re:Ditching Obsidian and building my own by Arch-TK on Monday May 19, 2025 @12:47PM (#44031749)
But this will also break whenever there's any more specific route, no?
Re:Ditching Obsidian and building my own by caconym_ on Sunday May 18, 2025 @05:59PM (#44024603)
All my regular mobile devices are Apple, so whoever said that has it right. I also have a Linux laptop but NetworkManager support for Wireguard was broken last I checked, and at the time I didn't care enough to set it up by hand.
Re:Ditching Obsidian and building my own by runjake on Sunday May 18, 2025 @05:17PM (#44024374)
For the Tailscale app on Apple platforms it’s called VPN On Demand. Here's how you can configure it.

https://tailscale.com/kb/1291/ios-vpn-on-demand

Re:Ditching Obsidian and building my own by sph on Monday May 19, 2025 @07:42AM (#44028762)
Does it still eat your battery? It used to, and it was so annoying I moved to Nebula
Re:Ditching Obsidian and building my own by Arch-TK on Monday May 19, 2025 @12:48PM (#44031758)
Tailscale is built on wireguard but it is not just wireguard. I want a wireguard only solution.
Re:Ditching Obsidian and building my own by runjake on Tuesday May 20, 2025 @10:23AM (#44042019)
Got it. The key there would be to find a WireGuard app that supports the "VPN on Demand" feature of iOS. It should be called out on their app page in the App Store, if not in their documentation.
Re:Ditching Obsidian and building my own by mcpeepants on Sunday May 18, 2025 @04:52PM (#44024237)
This is a built-in feature of the Wireguard app on iOS, not sure about other platforms.
Re:Ditching Obsidian and building my own by george_perez on Sunday May 18, 2025 @05:16PM (#44024365)
And specifically it's based on VPN On Demand. https://developer.apple.com/documentation/networkextension/v...
Re:Ditching Obsidian and building my own by Arch-TK on Monday May 19, 2025 @12:50PM (#44031782)
To answer my own question, looks like there's WG Tunnel[0] on android which does what I need.

[0]: https://play.google.com/store/apps/details?id=com.zaneschepk...