Hacker News new | past | comments | ask | show | jobs | submit login

Is there any "easy" algo-like setup? I've checked but all of them still seem to involve a lot of steps. I could do it but I'd prefer if there's some quick start to test it out.



Algo supports it, without being super-obvious about it. When it's done doing its thing, fish out the generated wireguard client config from

algo/configs/your.server.ip/wireguard/uname.conf

Add

    PersistentKeepalive = 25
as the last line (should be in the [Peer] section).

Feed the conf file to your client. That's it.


I've been using WireGuard via algo for a few months and love it. What does PersistentKeepalive do?


Sends a tiny bit of dummy traffic every N seconds, keeps a NAT router from just forgetting about your client's state. I imagine Algo doesn't include that line because the generated config is for Android phones but for a laptop or desktop behind NAT, you pretty much always want it. This is especially true for things like public WiFi where the routers can be particularly keen to forget you.

Edit: There's a blurb about it on the website as well that is a little less handwavey than what I typed:

https://www.wireguard.com/quickstart/#nat-and-firewall-trave...


Please submit an issue and I'll fix it! -AlgoVPN developer


What Algo does now seems technically correct (the best kind of correct!) since it essentially says WG is for Android. I've added the issue though, for when more desktop-y clients are officially supported.

https://github.com/trailofbits/algo/issues/1068

Thanks!


I wrote a guide, you can just copy my configs: https://www.stavros.io/posts/how-to-configure-wireguard/


It's a nice enough guide but its default set up is something 97.30133% (recurring, of course) users aren't trying to do with a VPN - reach a home computer from their server. What most people want is to shovel all their client's traffic through the server. This is also described as a sort of afterthought, but I think for most people, it's the thing they're trying to accomplish when they want to set up a VPN.


Algo already supports it




Registration is open for Startup School 2019. Classes start July 22nd.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: