Live data from Hacker News

Building a Simple VPN with WireGuard with a Raspberry Pi as Server

snikt.net

21–30 of 126 posts

Re: Building a Simple VPN with WireGuard with a Raspberry Pi as Server

#21
post #8

Would a Pi4 be able to handle being both a VPN and a pihole, or should these be two separate boxes?

Yes.

Being a VPN and a DNS server are both extremely light weight tasks that use (mostly) orthogonal resources (VPN = IO, DNS ~ fairly small IO and CPU).

Re: Building a Simple VPN with WireGuard with a Raspberry Pi as Server

#25
post #23

Are there any commercial products available for this or Pi-holes?

Yes, I'm also waiting for a lightweight Wireguard/pi-hole appliance.

I've thought about trying to build a commercial pi-hole product. Anyone else?

Re: Building a Simple VPN with WireGuard with a Raspberry Pi as Server

#26
post #23

Earlier quoted context omitted.

Yes, I'm also waiting for a lightweight Wireguard/pi-hole appliance.

I've thought about trying to build a commercial pi-hole product. Anyone else?

I've also thought about this. But basically it will be re-packaging a modern linux kernel, giving some support w/ key management and packaging it in a nice case.

I think there is definitely a market for it.

Re: Building a Simple VPN with WireGuard with a Raspberry Pi as Server

#27
post #14

I have beeen looking at setting up a vpn to be able to hook up my pc to the office network. I don't know a whole lot about it but I ended up trying out Softether for the job just this weekend. It's a free and opensource project from the University of Tsukuba, Japan. It promises that it can achieve speeds far higher than Openvpn. It was really just a click next, next type setup both on client and server which was the…

It looks like softether is just a management GUI / framework that handles a bunch of different underlying VPN products/standards? The README says the following are supported "SSL-VPN, OpenVPN, IPsec, L2TP, MS-SSTP, L2TPv3 and EtherIP by the single SoftEther VPN Server program." Looking at the documentation for client setup it looks like you just setup an IPSEC client.

Re: Building a Simple VPN with WireGuard with a Raspberry Pi as Server

#28
post #13
post #10

Earlier quoted context omitted.

Here is someone's benchmark from reddit: https://www.reddit.com/r/WireGuard/comments/eeafds/wireguard... (tl;dr "Avg: 829 Mbps")

That's for a Raspberry Pi 4, which should have a pretty drastic performance difference from the Raspberry Pi 3 mentioned in the article since only one of those has proper gigabit Ethernet. It does seem pretty good though. I'm having trouble getting past 25 Mb/s in, 100 Mb/s out on my Edgerouter X.

Rpi 3b has proper gigabit Ethernet though.

Edit: 3B+. My bad.

Re: Building a Simple VPN with WireGuard with a Raspberry Pi as Server

#29
post #27
post #14

I have beeen looking at setting up a vpn to be able to hook up my pc to the office network. I don't know a whole lot about it but I ended up trying out Softether for the job just this weekend. It's a free and opensource project from the University of Tsukuba, Japan. It promises that it can achieve speeds far higher than Openvpn. It was really just a click next, next type setup both on client and server which was the…

It looks like softether is just a management GUI / framework that handles a bunch of different underlying VPN products/standards? The README says the following are supported "SSL-VPN, OpenVPN, IPsec, L2TP, MS-SSTP, L2TPv3 and EtherIP by the single SoftEther VPN Server program." Looking at the documentation for client setup it looks like you just setup an IPSEC client.

I believe SoftEther has its own userspace implementation of all of these protocols + NAT.
Post reply on HN