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

  • Author
2 hours ago, ideaman924 said:

 

Running the first command:


root@derrickserver:~# /etc/rc.d/rc.openvpnserver restart
Stoping Openvpnserver.....
... Stopped
Deleting iptables rule ....
Starting Openvpn server.....
nohup: redirecting stderr to stdout
OK... Started
Adding iptables rule .....
br0
11       0     0 MASQUERADE  all  --  *      br0     10.8.0.0/24          0.0.0.0/0
root@derrickserver:~#

Running the second command took a long time, but eventually:

 


root@derrickserver:~# /etc/rc.d/rc.openvpnserver getonlineversion

root@derrickserver:~#

So something's going funky with the second one. What's going on?

Second one was an unused function, this is now removed in latest update. Please try and let me know :-)

  • 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

8 hours ago, peter_sm said:

Second one was an unused function, this is now removed in latest update. Please try and let me know :-)

Update worked like a charm, it now loads correctly. Thank you so much! ;)

 

EDIT: I realized why it didn't work. I looked at your commit, and the function calls the OpenVPN site. China blocks all VPN sites and sends a TCP RST packet to the script, so it'll keep retrying until eventually timing out. Just in case you were wondering why that function stopped my specific use case. Thank you for fixing it!

Edited by Guest

I'm getting the following in my log and a connection timeout on the ios client:

 

Thu Apr 12 10:51:14 2018 111.111.11.11:3187 OpenSSL: error:140890C7:SSL routines:ssl3_get_client_certificate:peer did not return a certificate
Thu Apr 12 10:51:14 2018 111.111.11.11:3187 TLS_ERROR: BIO read tls_read_plaintext error
Thu Apr 12 10:51:14 2018 111.111.11.11:3187 TLS Error: TLS object -> incoming plaintext read error
Thu Apr 12 10:51:14 2018 111.111.11.11:3187 TLS Error: TLS handshake failed
Thu Apr 12 10:51:14 2018 111.111.11.11:3187 SIGUSR1[soft,tls-error] received, client-instance restarting

 

I'm not sure what I have wrong or how to troubleshoot from here

Edited by mostlydave
IP changed for safety

@peter_sm, I just created a PR on GitHub to disable "explicit-exit-notify" for TCP connections. You can find it here:

https://github.com/petersm1/openvpnserver/pull/1

 

The reason is being, OpenVPN doesn't support the parameter on TCP connections (it's UDP only.) Therefore, I get this error:

Options error: --explicit-exit-notify can only be used with --proto udp
Use --help for more information.

The commit might have typos or some other weird stuff in it so please test it before merging. Cheers!

On 4/12/2018 at 10:55 AM, mostlydave said:

I'm getting the following in my log and a connection timeout on the ios client:

 

Thu Apr 12 10:51:14 2018 111.111.11.11:3187 OpenSSL: error:140890C7:SSL routines:ssl3_get_client_certificate:peer did not return a certificate
Thu Apr 12 10:51:14 2018 111.111.11.11:3187 TLS_ERROR: BIO read tls_read_plaintext error
Thu Apr 12 10:51:14 2018 111.111.11.11:3187 TLS Error: TLS object -> incoming plaintext read error
Thu Apr 12 10:51:14 2018 111.111.11.11:3187 TLS Error: TLS handshake failed
Thu Apr 12 10:51:14 2018 111.111.11.11:3187 SIGUSR1[soft,tls-error] received, client-instance restarting

 

I'm not sure what I have wrong or how to troubleshoot from here

No one has seen this error or knows how to troubleshoot?

  • Author
No one has seen this error or knows how to troubleshoot?

Hi , have you looked at OpenVPN forum for help ? What you also could do is to post your server & client setting and what’s client software/version you have .


Skickat från min iPhone med Tapatalk
  • 1 month later...
On 3/22/2018 at 4:59 PM, huffsper said:

 

There's your problem. unRAID itself cannot access containers that have their own static IP.

 

Is there any workaround so we can use this plugin and see containers with own IPs?

(router redirect for example?)

  • 2 weeks later...

I'm sure this was probably asked already but can't seem to get it via search.


Is it possible Gateway via UnRAID (and in turn the OpenVPN tunnel) from another device on the network?

  • 2 weeks later...

I have installed your client and I've set it up to choose a config file, but where do i actually need to paste my .opvn configuration file? 

  • Author
I have installed your client and I've set it up to choose a config file, but where do i actually need to paste my .opvn configuration file? 

Hi, there is info on first post, please have look.

Hi Peter

Just a heads up that iOS seems to prefer a *.ovpn12 file now rather than the *.p12 file. No problem with renaming the generated *.p12 file and it then imports fine


Sent from my iPhone using Tapatalk

  • 1 month later...

Hi Peter,

 

I live in China and am having the same problem that ideaman924 had back in April, except with the Client plugin. When I try to open the settings page, all I get is the unraid interface header with a blank page below. Any solutions for this?

 

The server app works fine.

 

Thanks.

Edited by BeaverTerror

  • 2 weeks later...

Hi Peter,

Great plugin! Thanks for your work.

Is there an easy way to block LAN access without using iptables?

  • 2 weeks later...

 

On 5/30/2018 at 9:48 AM, karateo said:

 

Is there any workaround so we can use this plugin and see containers with own IPs?

(router redirect for example?)

I'm having the same issue. Is there a solution to this? @peter_sm

Has anyone run into an issue where the OpenVPN configuration completely disappears? I've had this happen twice now and am wondering if I should just look for another solution.

 

I am running unRAID 6.3.5.

 

Any help is greatly appreciated - thanks in advance!

Edited by QPlus7

38 minutes ago, QPlus7 said:

Has anyone run into an issue where the OpenVPN configuration completely disappears? I've had this happen twice now and am wondering if I should just look for another solution.

 

I am running unRAID 6.3.5.

 

Any help is greatly appreciated - thanks in advance!

I just updated OpenVPN and unRAID and guess what happened? Yup! My configuration is completely gone again.

 

Three strikes and you're out? 

12 hours ago, QPlus7 said:

I just updated OpenVPN and unRAID and guess what happened? Yup! My configuration is completely gone again.

 

Three strikes and you're out? 

I use the Openvpn-as server as a docker container (rather than the openvpn plugin) and have not had any problem with my configuration surviving updates.

  • 3 weeks later...

How would one go about setting this up for TAP mode instead of TUN?
I have tried every setting in TUN mode and cannot get hostname resolution and samba to perform correctly.

For example I can type \\<unraid>\share and it does not work, but \\<ip>\share does. However in browsers where HTTP requests are made http://unraid/ works fine since they are going through the DNS.   I figure this is only possible via TAP mode?

may a simple question but i couldnt find an info abut it here

 

im using currently binhex deluge vpn for the privoxy feature, as i dont use deluge ot bittorrent my question would be

 

can this vpn plugin used as vpn proxy only without putting the whole server behind the vpn ?

 

my usercase are just some apps using a proxy.

 

thanks ahead for an info

Unraid 6.6.1 here.

 

OpenVPN client plugin not working somehow. Start button tries to start, but the page becomes blank and browser keeps trying to connect.

 

Perhaps, the plugin needs an update, but github repo of peter_sm doesn't exist anymore.

4 minutes ago, sse450 said:

but github repo of peter_sm doesn't exist anymore

petersm1

16 hours ago, Squid said:

petersm1

I had quoted it in my post as the nick. I know that github repo link has "petersm1". Still, Peter's repo is not available anymore as given in the first post.

 

Do I have any other option for OpenVPN client in Unraid?

4 hours ago, sse450 said:

Still, Peter's repo is not available

Not quite sure what you mean though.  https://github.com/petersm1/openvpn_client_x64  And the plugin file (which is the only url listed in the OP) does install perfectly fine through the Apps tab.  (But I don't run a VPN that unRaid needs to connect to)

 

4 hours ago, sse450 said:

Do I have any other option for OpenVPN client in Unraid?

Doesn't look like it to attach the unRaid to a VPN network.  There are however VPN versions of the various "shady" apps to be able to connect to individually.

4 hours ago, Squid said:

Not quite sure what you mean though.  https://github.com/petersm1/openvpn_client_x64  And the plugin file (which is the only url listed in the OP) does install perfectly fine through the Apps tab.  (But I don't run a VPN that unRaid needs to connect to)

I am sorry. I tried the link in the first post which is broken. The one you supplied works.

 

I am trying to establish ssh link (without opening ssh port on router) to my second Unraid on a different location for backup purposes. Hence, I am after a VPN connection between 2 Unraid boxes.

may a simple question, what would be to change if i want LAN traffic only through VPN ?

 

whatever redirect option i choose, always complete traffic is through VPN.

 

for an tip, thanks ahead.

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.