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

However, the connection to the server through OpenVPN was capped at 2Mbps, resulting in a choppy playback of any video, even ones that were only a few hundred megabytes.

 

My server has a Gigabit NIC, and my connection to the outside world is 100Mbps. Below is a diagram

 

Server <----1000Mbps Gigabit NIC ----> Home Router <---- 100Mbps --> Internet <--- 25Mbps ----> Nexus 5X LTE connection

 

However, OpenVPN speed is capped at 2Mbps.

Do you have symmetric 100Mbps at your home? Most US internet connections are asymmetric, and offer much lower transmit than receive speeds. Try running a speed benchmark (speedtest.net) behind your home router to check what speed you are actually able to transmit.
  • 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

However, the connection to the server through OpenVPN was capped at 2Mbps, resulting in a choppy playback of any video, even ones that were only a few hundred megabytes.

 

My server has a Gigabit NIC, and my connection to the outside world is 100Mbps. Below is a diagram

 

Server <----1000Mbps Gigabit NIC ----> Home Router <---- 100Mbps --> Internet <--- 25Mbps ----> Nexus 5X LTE connection

 

However, OpenVPN speed is capped at 2Mbps.

Do you have symmetric 100Mbps at your home? Most US internet connections are asymmetric, and offer much lower transmit than receive speeds. Try running a speed benchmark (speedtest.net) behind your home router to check what speed you are actually able to transmit.

 

I am having a really similar issue, if we can solve it, a beer is all yours.

 

Any help or ideas would be appreciated...

 

Do you think this applies??

http://winaero.com/blog/speed-up-openvpn-and-get-faster-speed-over-its-channel/

 

Thanks again.

  • Author

However, the connection to the server through OpenVPN was capped at 2Mbps, resulting in a choppy playback of any video, even ones that were only a few hundred megabytes.

 

My server has a Gigabit NIC, and my connection to the outside world is 100Mbps. Below is a diagram

 

Server <----1000Mbps Gigabit NIC ----> Home Router <---- 100Mbps --> Internet <--- 25Mbps ----> Nexus 5X LTE connection

 

However, OpenVPN speed is capped at 2Mbps.

Do you have symmetric 100Mbps at your home? Most US internet connections are asymmetric, and offer much lower transmit than receive speeds. Try running a speed benchmark (speedtest.net) behind your home router to check what speed you are actually able to transmit.

 

I am having a really similar issue, if we can solve it, a beer is all yours.

 

Any help or ideas would be appreciated...

 

Do you think this applies??

http://winaero.com/blog/speed-up-openvpn-and-get-faster-speed-over-its-channel/

 

Thanks again.

Can you manually add this to server ovpn file and to the client file and test?  :)

//Peter

  • Author

However, the connection to the server through OpenVPN was capped at 2Mbps, resulting in a choppy playback of any video, even ones that were only a few hundred megabytes.

 

My server has a Gigabit NIC, and my connection to the outside world is 100Mbps. Below is a diagram

 

Server <----1000Mbps Gigabit NIC ----> Home Router <---- 100Mbps --> Internet <--- 25Mbps ----> Nexus 5X LTE connection

 

However, OpenVPN speed is capped at 2Mbps.

Do you have symmetric 100Mbps at your home? Most US internet connections are asymmetric, and offer much lower transmit than receive speeds. Try running a speed benchmark (speedtest.net) behind your home router to check what speed you are actually able to transmit.

 

I am having a really similar issue, if we can solve it, a beer is all yours.

 

Any help or ideas would be appreciated...

 

Do you think this applies??

http://winaero.com/blog/speed-up-openvpn-and-get-faster-speed-over-its-channel/

 

Thanks again.

Try also modify only the server ovpn file with this lines.

 

sndbuf 0
rcvbuf 0
push "sndbuf 393216"
push "rcvbuf 393216"

Try also modify only the server ovpn file with this lines.

 

sndbuf 0
rcvbuf 0
push "sndbuf 393216"
push "rcvbuf 393216"

 

I am going to go with no change... if anything maybe worse..

Tried both server/client, server only and client only.

 

This is my home internet connection where my Unraid Server lives...

5573401245.png

 

This is my Samsung Galaxy S7 on a 4G network with good reception using the VPN on "redirect-gateway def1"

0tQqzDB.png

 

I normally get about 50 each way on 4G.

 

For the life of my I can't figure out what is bottle necking it, I don't have any special QoS or anything.

Hi Again Peter,

 

I just noticed that whenever I connect to the openvpn server, it docent change my ip address on sites like "whatismyipadress.com". I read on other sites that whenever you connect to a openvpn server it is supposed to change your ip address to the same one as your home network.

 

Also I tried reinstalling the plugin but that doesn't seem to help.

 

Please help,

Thanks!

Hi,

 

Thanks for the quick reply.

 

Even if the wan ip doesn't change dose that still mean all the traffic is router though the Von?

For the wan ip will it not change even if I use a different openvon server or is the wan ip not changing only for your plugin?

 

Thanks again,

 

  • Author

Hi , are you talking about routing all client traffic through OpenVPN server ?

 

//Peter

 

  • Author

I have tested different settings and verified with my Mobile over 3G

 

This setting didn't change my Mobile IP

Redirect-gateway = No
Push LAN subnet to the clients  = No

 

This settings give my mobile samer IP as my WAN

Redirect-gateway = redirect-gateway def1
Push LAN subnet to the clients  = Yes

 

Hi thanks a lot those setting worked for me.

 

But I have one question, even if turn those settings on (where my mobile ip is my home wan ip) will all the traffic from my client (my phone) still go though the server?

 

Thanks again,

 

  • Author

These settings are in my plugin and shall rout all client traffic (including web-traffic) through the VPN

 

push "redirect-gateway def1"

 

And iptables rule

iptables -t nat -A POSTROUTING -s <VPN server IP>/24 -o eth0 -j MASQUERADE

 

 

One thing I'm not sure about is DNS settings, need to get this verify.

one of these should be fine, or all variants is OK?

 

push "dhcp-option DNS <VPN server IP>"
push "dhcp-option DNS <UNRAID IP>"
push "dhcp-option DNS <ROUTER IP>"
push "dhcp-option DNS <GOOGLE>"

 

 

We can try this as well  on client-side

redirect-gateway def1

So I didn't understand the 3rd code block,

 

I currently have this:

remote [WAN IP]
cipher aes-256-cbc
auth sha512
client
dev tun
proto udp
port 80
resolv-retry infinite
tls-client
nobind
persist-key
persist-tun
remote-cert-tls server
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-128-GCM-SHA256:TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA:TLS-DHE-RSA-WITH-AES-128-CBC-SHA:TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA
comp-lzo adaptive
verb 3
route-delay 2
key-direction 1

 

Should I do this?

 

remote [WAN IP]
cipher aes-256-cbc
auth sha512
client
dev tun
proto udp
port 80
resolv-retry infinite
tls-client
nobind
persist-key
persist-tun
remote-cert-tls server
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-128-GCM-SHA256:TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA:TLS-DHE-RSA-WITH-AES-128-CBC-SHA:TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA
comp-lzo adaptive
verb 3
route-delay 2
key-direction 1
redirect-gateway def1
push "dhcp-option DNS 10.8.0.1"
push "dhcp-option DNS 192.168.3.111"
push "dhcp-option DNS 192.168.3.1"
push "dhcp-option DNS 8.8.8.8"

 

or should I only add one of the lines with push "dhcp-option DNS ....."

 

Thanks,

  • Author

Only one line at the time :-)

 

Can you easily verify IF ALL traffic are going trough the VPN server ?

No, I can't really verify that all traffic is going though the vpn. However I want to make sure that as much of it is going though it since I will have to go to a place where there is a web filter. I want to make sure I do everything I can to make sure I can access my home network since once I get there since I won't come back(to my home network to change vpn settings) for a couple months. The only thing is know is that port 80 and port 443 are open.

 

Any suggestions to improve my chances?

 

Thanks again,

I have the OpenVPN-AS docker installed on my server.  What are the benefits to using this plugin over my current setup?  I had one hell of a time getting everything set up with the docker, as there is no generating a cert or anything.  Is this a pretty simple setup?

  • Author

Try the plugin and use default values, create some clients and you are ready to go [emoji41] info will be on the first settings page after installed the plugin.

  • 2 weeks later...

openVPN client hanging webui

 

unRAID 6.2 rc5

browser - Chrome (latest)

Set to connect and mount

 

i have a problem and i have had it before with previous version of unRAID but it came right about a prolong period of time 30+ mins.

 

when i try an enter the settings page for openVPN under settings it just hangs for a long time, the up time of the server is about 5 days at the moment, i have currently been waiting for about 30min.

if i try to go to another unRAID tab its still hung.

i can close the browser and reopen and its still not responding when trying to get to the unRAID gui, tried another browser and its the same

 

I can access the server via putty.

 

with out restating the server can i do anything else and also why am i having this problem?

 

At the moment the server has no internet access

  • Author

openVPN client hanging webui

 

unRAID 6.2 rc5

browser - Chrome (latest)

Set to connect and mount

 

i have a problem and i have had it before with previous version of unRAID but it came right about a prolong period of time 30+ mins.

 

when i try an enter the settings page for openVPN under settings it just hangs for a long time, the up time of the server is about 5 days at the moment, i have currently been waiting for about 30min.

if i try to go to another unRAID tab its still hung.

i can close the browser and reopen and its still not responding when trying to get to the unRAID gui, tried another browser and its the same

 

I can access the server via putty.

 

with out restating the server can i do anything else and also why am i having this problem?

 

At the moment the server has no internet access

 

The plugin looking for your WAN IP. If yo don't have any internet it will be stuck while perform this command.

 

//Peter

openVPN client hanging webui

 

unRAID 6.2 rc5

browser - Chrome (latest)

Set to connect and mount

 

i have a problem and i have had it before with previous version of unRAID but it came right about a prolong period of time 30+ mins.

 

when i try an enter the settings page for openVPN under settings it just hangs for a long time, the up time of the server is about 5 days at the moment, i have currently been waiting for about 30min.

if i try to go to another unRAID tab its still hung.

i can close the browser and reopen and its still not responding when trying to get to the unRAID gui, tried another browser and its the same

 

I can access the server via putty.

 

with out restating the server can i do anything else and also why am i having this problem?

 

At the moment the server has no internet access

 

The plugin looking for your WAN IP. If yo don't have any internet it will be stuck while perform this command.

 

//Peter

Right, so the only option is to restart the server?

Is there a way I can kill the running service?

 

Sent from my Nexus 6P using Tapatalk

 

 

  • Author

Create a folder /boot/openvpn and then copy your files to that folder. Start the plugin.

Create a folder /boot/openvpn and then copy your files to that folder. Start the plugin.

 

I must be doing something wrong.  I copied the files, entered my details but it didn't connect.  The southampton file has:

 

client
proto udp
dev tun5
remote uk-southampton.privateinternetaccess.com 1198
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-128-cbc
auth sha1
tls-client
remote-cert-tls server
comp-lzo
verb 1
reneg-sec 0
crl-verify crl.rsa.2048.pem
ca ca.rsa.2048.crt
disable-occ

auth-user-pass /boot/config/plugins/openvpnclient/password.txt

status /tmp/openvpn/openvpn-status.log

openvpn.png.9a1e48c25e9d3669883aeaffc26125cb.png

  • Author

After you have saved the settings and started the client, did you see any error log?

After you have saved the settings and started the client, did you see any error log?

Options error: --ca fails with 'ca.rsa.2048.crt': No such file or directory
Options error: --crl-verify fails with 'crl.rsa.2048.pem': No such file or directory
Options error: Please correct these errors.
Use --help for more information.

 

I've installed the client and my pia file from the link above - do I get the missing files from above from your server plugin, or elsewhere?  Sorry if not understanding, but new to setting up a VPN this way

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.