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.

OpenVPN Server & Client for unRAID 6.2+ (6.1 are still supported)

Featured Replies

On 6/15/2021 at 8:41 PM, itimpi said:

Not quite the question you asked but is there any reason to not use the WireGuard VPN that is built into recent UnRaid releases.    That can be used regardless of whether the array is started or not.

I have a homogenous OpenVPN everywhere setup. I have not yet looked into wireguard configuration, nor do I know if I can use it on a couple slightly restricted machines. I will look into it though.

  • 4 weeks later...
  • Replies 967
  • Views 269.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Had the same issue, you need to edit that line and replace "-f16" with "-f14". Install works great after this edit. Github probably modified its HTML.

  • Serenity_Duck
    Serenity_Duck

    Hi,   I changed from OpenVPN AS from Linuxservers to yours. At first, good job Everything is working fine for me at the moment.   But I have one question, maybe I oversee som

  • jonathansayeb
    jonathansayeb

    It worked perfect. Thanks Peter, now it's time to try to get your plugin working lol

Posted Images

Anyone has a mirror of the last (or any!) "openvpn_client_x64.plg" File? I have it running on 3 boxes and it works great.

Im building a new box so I need to install it.

 

Is there another openvpn client for the bare metal unraid?

  • 2 weeks later...
On 6/14/2021 at 2:37 AM, metabubble said:

Since this one is basically dead, is there any OpenVPN server for unraid that will work on a stopped array? I use encryption and I would love to be able to recover in case my battery power ran out and the server had to be shut down.

 

Oh my. This is some really bad news as far as I am concerned. I heavily rely on the possibility to have en OpenVPN server running on Unraid (not the OpenVPN-server-AS docker container).

 

Is there any way I can backup the plugin from my machine where it is already installed so that I can reinstall it in case I need to ?

  • 4 weeks later...

I wrote a tutorial on how to manually install an OpenVPN server on Unraid if anyone is interested:

 

Best,

OP

  • 5 weeks later...
On 12/9/2020 at 3:43 PM, LeoRX said:

- ssh in and run chmod +x /mnt/user/appdata/openvpn-server/easy-rsa/easyrsa to make it executable.

 

I've had OpenVPN installed and running for a couple of years. Somehow I had lost the x attribute and wasn't able to add new clients. Your post hinted me to check it and it fixed my issue.

  • 1 month later...

Hi there,

I would like to point out again that I forked the petersm1 project on GitHub a long time ago.

I modified the plugin, It now uses Layer 2 (tab device) by default, i.e. a network bridge to the existing br0 in Unraid.

 

If you prefer layer 3, i.e. a routed network, you should switch to Wireguard or something similar.

 

Layer 2 has the advantage that it is seen like a "real" LAN cable, broadcast etc. comes through,

I personally use it to connect with my friends online and to be able to play classic "LAN" Games together.

 

However, if you want to access with Android, you need the app "openvpn pro", because android can only emulate tap without being routed, which is also the only app that I know of.

Windows, Linux and Mac have no problems whatsoever.

 

openvpn 2.4.9 is used,

The easyrsa installation has also been fixed.

 

who wants to start openvpn automatically after a system restart (without a started array because it is encrypted) can add that to /boot/config/go :

 

##OPENVPN-SERVER
source /boot/config/plugins/openvpnserver/openvpnserver_cert.cfg
logger "Starting OpenVPN Server"
/usr/local/emhttp/plugins/openvpnserver/scripts/rc.openvpnserver start | logger

 

https://github.com/DeBaschdi/openvpnserver

 

Plugin :

https://raw.githubusercontent.com/DeBaschdi/openvpnserver/master/openvpn_server_x64.plg

 

Edited by DeBaschdi

Unfortunately, petersm1 deleted his github repository, which is a shame. I would also like to keep the client alive as a plugin. Has anyone still installed it by any chance and can I make it available to me for a reborn?

 

**edit

got it

Edited by DeBaschdi

  • 1 month later...
On 11/3/2021 at 10:12 AM, DeBaschdi said:

Hi there,

I would like to point out again that I forked the petersm1 project on GitHub a long time ago.

I modified the plugin, It now uses Layer 2 (tab device) by default, i.e. a network bridge to the existing br0 in Unraid.

Thank you so much for doing this! I did have quite a bit of TLS friction with this plugin without any obvious ways to fix it except disabling TLS outright (oof), but at least I finally have a server running again :D

The first TLS error I ran into was telling me that client (open vpn 2.4.9 windows client) and server had no ciphersuites in common with the suggestion to relax --tls-cipher options. Any plans to maybe expose that? I guess I can always telnet in and do that stuff in the consol, but your plugin is so user friendly otherwise ❤️ 

23 minutes ago, ChalkyChalkson said:

Thank you so much for doing this! I did have quite a bit of TLS friction with this plugin without any obvious ways to fix it except disabling TLS outright (oof), but at least I finally have a server running again :D

The first TLS error I ran into was telling me that client (open vpn 2.4.9 windows client) and server had no ciphersuites in common with the suggestion to relax --tls-cipher options. Any plans to maybe expose that? I guess I can always telnet in and do that stuff in the consol, but your plugin is so user friendly otherwise ❤️ 

 

Hi, i can´t confirm an tls Problem with Linux and / or Windows Client´s, check my Settings :

My Win 10 OVPN Client :

https://swupdate.openvpn.org/community/releases/openvpn-install-2.4.9-I601-Win10.exe

 

Unbenannt.thumb.png.fb21ea61efac699d534ce79a512a2055.png

 

 

  • 3 months later...

hi @DeBaschdi, I did the install the plugin and everything seemed to be going well but when I get to START THE SERVER it jusut not happening. Any clue? Thanks.

image.png.ec0c0d3874670ecc47b4fd6d893610ef.png

Your Lan Gateway should be your Router (Single IP)

And your Client DHCP Range need to be in the same Subnet.

Try DHCP Range 192.168.10.200 192.168.10.254. Please take a look at your dhcp Range from your Router and Free that Range.

  • 1 month later...

I had to change my Unraid USB drive and I lost my OpenVPN setup. I managed to grab and install the forked (TAP) server plugin linked a few post above. It's been running fine for a month or so. Yesterday I rebooted the Unraid server and now OpenVPN won't start. The logs showed no error, but I copied the startup command shown in the log

/usr/sbin/openvpn --writepid /var/run/openvpnserver/openvpnserver.pid --config 
/mnt/user/appdata/openVPNserver/openvpnserver.ovpn --script-security 2 --daemon

and ran it in shell. It gave an error: 

/usr/sbin/openvpn: error while loading shared libraries: libcrypto.so.1: cannot
open shared object file: No such file or directory

 

I created a symbolic link for the file in '/usr/lib64'. It then complained about another file:

/usr/sbin/openvpn: error while loading shared libraries: libssl.so.1: cannot open 
shared object file: No such file or directory

 

Again I created a symbolic link for it. Then it gave an error:

/usr/sbin/openvpn: symbol lookup error: /usr/sbin/openvpn: undefined symbol: 
SSL_library_init

 

This I don't know how to fix. I'm guessing it's some kind of library mismatch.

 

I don't remember updating anything related to either Unraid or OpenVPN. So I don't understand what broke or why.

This Plugin is only fpr Unraid stable, are u on 6.10 RC ?

 

3 minutes ago, DeBaschdi said:

This Plugin is only fpr Unraid stable, are u on 6.10 RC ?

 

 

No, I'm running 6.9.2.

  • 3 weeks later...

This Plugin now requies Unraid >=6.10.0

  • 3 months later...

New Version is online, 

 - Fix again for RSA-Download,

- i added some more Options in cert settings to adjust expire days.

 

1016194846_Screenshot2022-09-21093410.thumb.png.5d76568dff3b866d20f5fa68dcfa6beb.png

Edited by DeBaschdi

  • 11 months later...

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.