June 7, 201511 yr 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.
June 7, 201511 yr 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?
June 7, 201511 yr 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
June 7, 201511 yr 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
June 7, 201511 yr Author No output from that command on mine It you don't see anything, you have started a process of openvpn :-)
June 7, 201511 yr 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
June 7, 201511 yr 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.
June 8, 201511 yr Any chance of adding OpenVPN Connect Client (https://openvpn.net/index.php/access-server/docs/quick-start-guide.html#asclient)? As much as I can understand, it enable connecting to the VPN via a web browser, good for browsing through limited kiosks. Thanks in advance
June 8, 201511 yr 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.
July 27, 201510 yr 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
July 27, 201510 yr 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
July 27, 201510 yr 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
July 27, 201510 yr 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
July 28, 201510 yr 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?
July 28, 201510 yr 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
November 4, 201510 yr 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?
November 19, 201510 yr 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.
November 19, 201510 yr 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
November 19, 201510 yr 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.
December 11, 201510 yr I installed the Server plugin and have no "add client" button. The client tab is empty. unraid 6.1.6
December 11, 201510 yr 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.