For anyone wanting to get WireGuard up and running in a few minutes with zero hassle, I usually use this excellent bash script [0] as my goto. Can be edited for DNS/subnet config, generates .conf files as needed and also handles QR code generation for adding mobile devices. Pair this with a $5 DO droplet and you're all set. [0] https://github.com/its0x08/wg-install
Wireguard-docs: Setup, usage, configuration, and a full example
71–80 of 96 posts
Re: Wireguard-docs: Setup, usage, configuration, and a full example
#72Earlier quoted context omitted.
Try setting 192.168.1.25/32 on your eth0 interface, you're in for a bad time.
2: eth0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 inet 192.168.101.12/24 brd 192.168.101.255 scope global eth0 valid_lft forever preferred_lft forever inet 192.168.1.25/32 scope global eth0 valid_lft forever preferred_lft forever inet 192.168.1.32/31 scope global eth0 valid_lft forever preferred_lft forever Seems to work fine, added a /31 just for fun.
Re: Wireguard-docs: Setup, usage, configuration, and a full example
#73Re: Wireguard-docs: Setup, usage, configuration, and a full example
#74I posted the link myself to my repo, 0 points 14 hours later someone else posts it: 260+ points
No hate towards you axiomdata316, thanks for posting it, I'm just childishly complaining about the unfairness of fake internet points :p
Re: Wireguard-docs: Setup, usage, configuration, and a full example
#75>IPSec (IKEv2)/strongSwan: lots of brittle config that's different for each OS, NAT busting setup is very manual and involves updating the central server and starting all the others in the correct order, not great at reconnecting after network downtime, had to be manually restarted often I don't follow, NAT traversal is integral to IKEv2 and pretty much "just works" [1]. Reconnecting after network downtime is not an…
Re: Wireguard-docs: Setup, usage, configuration, and a full example
#76Could Wireguard have been written in Rust or does it require C for some reason? We've seen CVEs in major libraries (e.g. openssl) and some of the guarantees Rust provides would prevent certain classes of vulnerabilities. Has the author not learnt from the past or does it actually need to be written in C for some reason?
The C version is still faster because it's a kernel module.
Re: Wireguard-docs: Setup, usage, configuration, and a full example
#77This looks like a very comprehensive guide with lots of practical examples. Good job! What I cannot see explicitly mentioned anywhere, is a full example of how to set up a central wireguard server which routes client traffic from the VPN subnet out to the Internet. Is this done automatically/implicitly? If so how? I don’t see enough commands to make this happen. Am I just stupid? What am I missing?
I'll add an example to the docs as well.
Re: Wireguard-docs: Setup, usage, configuration, and a full example
#78Gotta say, if you just want a VPN to work now, definitely check out Algo or Streisand. You can get a VPN running in an hour or less. Algo even supports wireguard. I currently have two VPNs — Algo Wireguard & iVPN. Anecdotally the wireguard VPN rocks— crazy fast in every way, including connection/disconnection. Sometimes YouTube is slow.. I just hop on WG and it’s fast again. I’ve achieved faster downloads via WG than…
My default-config Streisand server was compromised according to Vultr. Just a heads up because VPNs can’t really afford this.
I did the default Streisand install with all services, and disabled password based login on the box (keys only).
It seems Streisand has some issues updating some components according to their issues board and it seems like the maintainer might have abandoned it.
Next time I’ll probably use algo instead. I just need wireshark anyways ;)
Re: Wireguard-docs: Setup, usage, configuration, and a full example
#79Goddamn it, this happens literally every time I post my projects to HN :( I posted the link myself to my repo, 0 points 14 hours later someone else posts it: 260+ points No hate towards you axiomdata316, thanks for posting it, I'm just childishly complaining about the unfairness of fake internet points :p