March 30, 20224 yr WireGuard is a great VPN built into unRAID. I have used it several times to access my unRAID server and LAN devices remotely. However, it is dependent on the unRAID server being running. Usually, this is not an issue as I run mine 24/7; however, in the event of a server crash, there is no way to get in remotely and see what is going on unless a VPN is running elsewhere on the network. My LAN: Main unRAID server with IPMI running 24/7 Backup unRAID server with IPMI which is powered off until needed (some scripts power it on for backup purposes) Docker Container VLAN Ubiquiti Unifi USG router Raspberry Pi running PiHole Several other client machines that are not always running To ensure access to my LAN even when the main unRAID server is down to either bring it back up or start the backup server, I needed WireGuard running on either the USG Router or the Raspberry Pi. USG Ubiquiti appears to be getting rid of .json config capabilities in future routing products and that is currently the only way to get WireGuard running on the USG. Although I gave it a try, I eliminated that possibility. RPi The Raspberry Pi seemed like a good choice as it runs PiHole and is always running. It was easy to get WireGuard running on it and install a WireGuard tunnel on my phone via a QR code. I will next get it installed to my laptops. I followed an excellent WireGuard on a Raspberry Pi tutorial and had it running rather quickly. Of course the standard port forwarding to the RPi and a static route are needed in your router for RPi VPN subnet. Port forward rules: unRAID WireGuard, Plex and RPi WireGuard Static routes RPi WireGuard and unRAID server WireGuard By following these instructions, I was able to do the following: Access the GUI of my running main unRAID server Access the IPMI HTML 5 webpage of the running main unRAID server and power it off (could have also done this through unRAID GUI) Access the IPMI HTML 5 webpage of my backup server and power it on Access the webUI of a couple of docker containers on the VLAN (different subnet than the unRAID servers) Although I can usually rely on WireGuard on my main unRAID server for LAN access, having it running on the RPi gives me a great fallback solution if there are server issues. Edited April 5, 20224 yr by Hoopster
March 30, 20224 yr Author If anyone is interested in getting WireGuard running on a USG or USG Pro4, a good tutorial can be found here: https://ilar.in/wireguard-with-unifi-usg/ Latest releases for both (as well as other Ubiquiti devices) can be found here: https://github.com/WireGuard/wireguard-vyatta-ubnt/releases Edited March 30, 20224 yr by Hoopster
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.