Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

WireGuard on a Raspberry Pi for accessing network when unRAID server is down

Featured Replies

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

image.thumb.png.6d4656cefb4785bd69399ca8d3779c6b.png

 

 

Static routes RPi WireGuard and unRAID server WireGuard

image.thumb.png.7b84a507eaa4a95ec3041791085693ac.png

 

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 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.