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 Plugin : 32-bit and 64-bit Version

Featured Replies

  • Author

can you try this

/usr/sbin/openvpn --config /mnt/cache/VMs/Docker/Appdata/myVPNserver/openvpnserver.ovpn --script-security 2 --daemon

Then we might see what happens.

 

 

  • Replies 381
  • Views 87.2k
  • Created
  • Last Reply

can you try this

/usr/sbin/openvpn --config /mnt/cache/VMs/Docker/Appdata/myVPNserver/openvpnserver.ovpn --script-security 2 --daemon

Then we might see what happens.

 

Sorry, where do i put it, my go script?

No output from that command on mine

 

On the syslog posted there was a conflict with the VPN port 1194 preventing startup

 

Still checking my logs for errors, might reboot to make it easier to spot

No output from that command on mine

On the syslog posted there was a conflict with the VPN port 1194 preventing startup

Still checking my logs for errors, might reboot to make it easier to spot

 

Thats so weird, because when i manually click 'start' it works fine. Plus i don't think i have anything else running that would cause a conflict on that port  :-\

  • Author

No output from that command on mine

 

It you don't see anything, you have started a process of openvpn :-)

 

 

No output from that command on mine

On the syslog posted there was a conflict with the VPN port 1194 preventing startup

Still checking my logs for errors, might reboot to make it easier to spot

 

I just tried port 1199 instead and same problem

Seems like it's misreporting or not relevant

 

can you try this

/usr/sbin/openvpn --config /mnt/cache/VMs/Docker/Appdata/myVPNserver/openvpnserver.ovpn --script-security 2 --daemon

Then we might see what happens.

 

This didn't work for me.

 

The OpenVPN page still said not running, although Viscosity said it had connected, but i wasn't able to access anything.

What was the error ?

 

Sorry, i'm away with work for a while now, so won't be able to help until i get back.

As of RC6A, auto start after booting is no longer an issue for me.

Same here

  • 1 month later...

Hi, I've gone from Tuesday last week " What's a microserver & Unraid?" to 6 drives/sabnzb/sickbeard/couchpotato and frenziedly trying to get a vpn server going.

I'm finally stuck.

I have installed the x64 version which appears under settings. I have set my save dir to appdata on cache drive as I have with all my other plugings.

When I click 'Install RSA key' the script runs, makes the folder in appdata and then nothing. I see a split second error message

"20 bytes recieved 12 bytes 64.00bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (code 23) at main.c(1165)

 

No worries. A reboot sorted it out! 20 years of computing and it didn't occur to me to turn it on and off again!

 

I'm running Unraid 6.01

Any help would be great.

Thanks

  • Author

Same issue here ???

 

have these lines in my syslog, maybe LT can give some input what to do to fix this in the plugin ? all thes command works fine in the commad propt

 

Jul 27 18:32:36 Tower emhttp: unsupported cmd: /etc/rc.d/rc.openvpnclient start
Jul 27 18:32:38 Tower emhttp: unsupported cmd: /etc/rc.d/rc.openvpnclient start
Jul 27 18:32:41 Tower emhttp: unsupported cmd: /etc/rc.d/rc.openvpnclient start
Jul 27 18:33:45 Tower emhttp: unsupported cmd: /etc/rc.d/rc.openvpnserver download_easy-rsa
Jul 27 18:36:27 Tower emhttp: unsupported cmd: /etc/rc.d/rc.openvpnserver download_easy-rsa
Jul 27 18:36:30 Tower emhttp: unsupported cmd: /etc/rc.d/rc.openvpnserver create_server_cert
Jul 27 18:36:35 Tower emhttp: unsupported cmd: /etc/rc.d/rc.openvpnserver create_server_cert

Same issue here ???

 

have these lines in my syslog, maybe LT can give some input what to do to fix this in the plugin ? all thes command works fine in the commad propt

 

Jul 27 18:32:36 Tower emhttp: unsupported cmd: /etc/rc.d/rc.openvpnclient start
Jul 27 18:32:38 Tower emhttp: unsupported cmd: /etc/rc.d/rc.openvpnclient start
Jul 27 18:32:41 Tower emhttp: unsupported cmd: /etc/rc.d/rc.openvpnclient start
Jul 27 18:33:45 Tower emhttp: unsupported cmd: /etc/rc.d/rc.openvpnserver download_easy-rsa
Jul 27 18:36:27 Tower emhttp: unsupported cmd: /etc/rc.d/rc.openvpnserver download_easy-rsa
Jul 27 18:36:30 Tower emhttp: unsupported cmd: /etc/rc.d/rc.openvpnserver create_server_cert
Jul 27 18:36:35 Tower emhttp: unsupported cmd: /etc/rc.d/rc.openvpnserver create_server_cert

 

See my answer here: http://lime-technology.com/forum/index.php?topic=41783.msg397064#msg397064

 

Spoke too soon.

I have the server up and running. Generated the certs. installed to phone/chromebook/ipad but no joy. Checked the port (1194) and pptp forwarded in router.

Is there a guide or some wise guru to take me by the hand and show me the way?

 

Cheers

  • Author

Spoke too soon.

I have the server up and running. Generated the certs. installed to phone/chromebook/ipad but no joy. Checked the port (1194) and pptp forwarded in router.

Is there a guide or some wise guru to take me by the hand and show me the way?

 

Cheers

What is the IP address that you are connecting to from the client? and are the port open for the IP of unraid server in the router?

 

Yeah! did it!

My problem was I was trying to connect while using the same network. As soon as I switched my phone to mobile data it worked.

Thanks for the effort to make a great plugin.

 

Rick

  • 3 months later...

I had it working well, but now the client won't connect.    Oops my bad.....

 

Somehow the vpn server was stopped.  (settings -> OpenVPN )

 

But I do have a real question...  (ducking and hiding)

 

I get an IP address of 10.8.0.2 - and my network I am dialing into is 192.168.3.x

 

Is there a way to give myself an IP address in the 192.168.3.x range?

 

 

  • 3 weeks later...

Hey peter_sm thanks for the plugin. I have it all set up and running smoothly. One thing that I'm missing after using openVPN on my old windows server is support for

auth-user-pass-verify

(Crtl-f, 3rd result). I used it in conjunction with 2 step verification to prevent stolen keys from being able to access the server. Users enter their username and the rotating key as the password.

 

In an attempt to add the functionality my self I forked your code on Github and as far as I can everything should be implemented to use an external sh file to authenticate. However when it comes to unraid plugins and git I'm totally lost. I have no real way to test the code I created. The branch is located here. If this is something that you think is a worth addition feel free to take (and I assume proofread) the changes I made.

  • Author

Hey peter_sm thanks for the plugin. I have it all set up and running smoothly. One thing that I'm missing after using openVPN on my old windows server is support for

auth-user-pass-verify

(Crtl-f, 3rd result). I used it in conjunction with 2 step verification to prevent stolen keys from being able to access the server. Users enter their username and the rotating key as the password.

 

In an attempt to add the functionality my self I forked your code on Github and as far as I can everything should be implemented to use an external sh file to authenticate. However when it comes to unraid plugins and git I'm totally lost. I have no real way to test the code I created. The branch is located here. If this is something that you think is a worth addition feel free to take (and I assume proofread) the changes I made.

 

I fixed to missing line on your fork, still looking how to use this :-)

 

//Peter

 

auth-user-pass-verify

requires the client to have a username as password addition to the having a valid certificate when connecting. When the server passes the credentials to another program (usually something like a bash script). The program then exits with either code 0 (credentials correct) or code 1 (credentials incorrect).

 

Also when generating the user files

auth-user-pass

is added so the clients know they need to collect a username and pass word before connecting.

  • 3 weeks later...

I installed the Server plugin and have no "add client" button. The client tab is empty. unraid 6.1.6

I installed the Server plugin and have no "add client" button. The client tab is empty. unraid 6.1.6

 

I am having the same issue....

Archived

This topic is now archived and is closed to further replies.

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.