5 ms·
WireGuard Performance with a Pi Zero (2019)
- ThePowerOfFuet 2y agoSaved you a click: >As expected, the speed is around 90 megabits per second, as the Pi Zero has a USB 2.0 OTG port, and I’m using a 100mb ethernet adapter for it.
- ZeKK14 2y agoThat's the result without wireguard. With wireguard: > depending on the use case for a Pi Zero WireGuard server, it could get the job done with ~30-40 megabits per second speed capabilities.
- ThePowerOfFuet 2y agoRight you are! Was not clear at all at first glance.
- flemhans 2y agoAnyone got any opinions on max number of tunnels? How does performance degrade as you have thousands of simultaneous tunnels?
- TomK32 2y agoThis from 2018 says the max number per interface is 2^20 for the kernel module but it can be raised. https://news.ycombinator.com/item?id=17093621 https://news.ycombinator.com/item?id=17093621
- yamrzou 2y agoDoes anyone have suggestions for the smallest physical device that can function as a WireGuard server or a Tailscale exit node with decent performance?
- deleted 2y ago[deleted]
- twic 2y agoI run a WireGuard server on my wireless router. The router itself is not tiny, the size of a two-inch-thick trade paperback. But the marginal size of the WireGuard device is zero, because i need the router anyway.
- toomuchtodo 2y agoI have had great luck with https://www.gl-inet.com/ https://www.gl-inet.com/ travel routers as line speed Wireguard endpoints. Works on fiber and StarLink equally well.
- aborsy 2y agoThey have also Tailscale plug-in. You have to trust the company out of China or HK, though.
- dbrueck 2y agoI agree with this recommendation - they work great with Wireguard. And if you're travelling, some of the features like handling captive portals are handy.
- yamrzou 2y agoThey are good wireguard clients but not servers
- issafram 2y agoI have a Pi 4 and ran Wireguard/PiHole on it for a few years before the SD card died. I decided to install Ubuntu on a 6 year old Dell XPS computer. I now run Wireguard/PiHole strictly on docker and it is incredibly fast. Changed my settings to auto start the PC after a power loss. I haven't had any downtime for the containers. I'll stick to my custom docker compose file forever.
- chao- 2y agoWould you share said compose file?
- stavros 2y agoI can't speak to the Compose file itself, but I use Compose to run stuff myself on an intel NUC and it has been amazing. Orders of magnitude faster than a Pi, super stable, tiny, I just love it. I even wrote a utility to manage the bunch of Compose files via git and automatically update them when I push changes to the repo: https://harbormaster.readthedocs.io/en/latest/ https://harbormaster.readthedocs.io/en/latest/
- disqard 2y agoThank You For Making And Sharing :D
- ycuser2 2y agoThe only thing is the higher energy consumption.
- ignoramous 2y agoWireGuard shouldn't consume energy when idle. Turn off KeepAlive, if your network setup allows for it (on most platforms, the official WireGuard implementation can roam just fine).
- abound 2y ago
- fnord77 2y ago> I’d say that if you’re planning on using WireGuard on an iOS device with the On-Demand Activation for untrusted wi-fi networks when away from the house, this should get the job done to protect you on public wi-fi networks. If the goal is permanent, high throughput usage, I would recommend a more powerful box to run WireGuard. A zoom meeting on a phone is pretty high throughput...
- PhilipRoman 2y agoIs it really? For personal use I find that anything except file transfers uses a tiny amount of bandwidth (few MBit/s at most). That includes stuff like video calls, remote desktop, youtube, etc.
- EasyMark 2y agoNot when most households are getting 30Mbps up and 300Mbps down or more. Now several at once would strain it for sure.
- whatevermom 2y agoHas someone a recommendation for a travel router where I could 1/ setup a WG VPN to encapsulate all my traffic 2/ connect to a Tailscale network?
- abound 2y agoOne of the GL.iNet travel routers [1] would probably work for you. They run OpenWRT (or a thin veneer around it), so you can SSH in and install packages and whatnot. They explicitly advertise Wireguard-based VPN support. I don't have one of their travel routers, but I have a Flint 2. [1] https://store.gl-inet.com/collections/travel-ac-router https://store.gl-inet.com/collections/travel-ac-router
- tarruda 2y agoI recommend installing tailscale client on your devices instead of carrying an additional device/router
- ssl-3 2y agoI'll go ahead and install Tailscale on my PS5, then. Thanks!
- throw4950sh06 2y agoWhy would you need it there? Serious question, would love the use case inspiration.
- Sanzig 2y agoI have an old Pi 3 installed at my mother-in-law's house running Tailscale (which uses WireGuard as its actual VPN layer). It is connected to my Tailnet along with my Jellyfin server, and I have nginx set up as a reverse proxy to expose the Jellyfin server on the LAN IP of the Pi. This way, she and her sons can access my Jellyfin server as if it were on their LAN - great option for non technical relatives. This setup has been in place about a year now and just works. The Pi can handle about 50 Mbit bidirectional over WireGuard, which is suffient even for a couple of 4K media streams. I am planning to duplicate this setup at some other relatives' homes.
- yamrzou 2y agoIs it a Pi 3 B+?
- sweeter 2y agoany advice setting something like this up? Also, wouldn't that get expensive?
- NavinF 2y agoWhy would it be expensive?
- telgareith 2y agoBecause an 8gb rpi4 costs close to $160. You can buy a m920q i3 with more compute- and with a similar amount of RAM (Conversion losses, Storage, and then Cooling or RAM(a few watts per 8gb) are the largest power consumers) and it can do a lot more than 50mbit. It might actually use less power than the rpi4. And, it could replace whatever is powering the TV display. Of course, choose your power supply badly and both those sub 10W machines will be 50W at the wall.
- sweeter 2y agoI also thought that Tailscale would probably incur some type of charges after using it that much, though Im not super familiar with their free tier policies and how sustainable they are in the long-term.