September 19, 201411 yr That is one of the settings available when OpenVPN is stopped? I don't remember it, but that's likely not saying much.
September 19, 201411 yr Thanks. Do you know if there is any way to update this via Putty? I looked at the config file and see reference to IPP: # openvpnserver plugin configuration file INSTALL_ON_BOOT="enable" DISCONNECT_ON_UMOUNT="no" SERVER_PATH=/mnt/cache/appdata/OpenVPN NETWORK=10.8.0.0 NETMASK=255.255.255.0 SERVER_PORT=994 CANONICAL= PROTOCOL=udp CIPHER="" CLIENT="Enable" HASH_ALGO="" GATEWAY="Disable" SUBNET="Disable" LAN_SUBNET="Enable" COMP_LZO="comp-lzo" IPP="ipp.txt" DHCP_1="dhcp-option DNS 8.8.8.8" TELNET_CONSOLE="No" VERB="verb 3" I don't see an option to disable it though. Any suggestions? Or do I likely need to be on-site so I can stop OpenVPN to make the change?
September 19, 201411 yr Remove ipp.txt IPP="" Thanks. I connected in and killed the PID, and lost remote connectivity, so ended up swinging by and rebooting without this option. Good to know just in case though.
December 30, 201411 yr Author New version released for 64Bit Old link will not longer work! see info - > http://lime-technology.com/forum/index.php?topic=35435.msg345589#msg345589 //Peter
January 23, 201511 yr In the settings of openvpn it says that I have no config file so I can't start openvpn, am I missing something? Edit: Never mind, I didn't click save under the config tab.
January 27, 201511 yr I had real trouble getting this to install. wget wouldn't download the additional packages and images. I could manually download them and put them in the right folders but now I'm stuff at installed easy-rsa. I click the button and nothing happens. Do you have the link for the easy-rsa so I can manually install it?
February 27, 201511 yr Hi all, I've set up and installed OpenVPN server (64-bit), and I'm able to connect. When I try to access anything on my network (ex. my Unraid box IP), it simply tells me it cannot find anything. I'm able to access the internet, just nothing locally. I have done a bunch of searching in the forum, and I'm sure I'm missing something, I just don't know what. I have tried creating a couple routes and ip tables rules, but no luck. Anybody have any idea what I need to do to allow the VPN to access my local network? Edit: I guess the better question here is: how do I set up bridge mode? It seems I have routing mode working, but I'd like to set up bridge mode instead but cannot figure it out. Thanks!
March 11, 201511 yr I'm trying to get the VPN serever up and running. Plugin version 1.1.34 OpenVPN version 2.3.6 Unraid 5.0.6 I have installed the cert software, Created certs and config files, and created server config file. When I attempt to add a client, I get the following error Adding client: test /etc/rc.d/rc.openvpnserver: line 305: cd: /mnt/cache/OVPN/easy-rsa-master/easy-rsa/2.0/: No such file or directory /etc/rc.d/rc.openvpnserver: line 332: cd: /mnt/cache/OVPN/easy-rsa-master/easy-rsa/2.0/: No such file or directory /etc/rc.d/rc.openvpnserver: line 334: ./vars: No such file or directory Sure enough the listed directory doesn't exist in my file system. I do have /mnt/cache/OVPN/easy-rsa-master/ but the closest subdirectory is easyrsa3. If I click on start, it shows "Start...OK" but nothing actually happens. Any help would be greatly appreciated.
April 4, 201511 yr what android app are you guys using to connect fo the server? I use OpenVPN Connect
April 17, 201511 yr Is there any advantage to using the 64bit version vs the 32bit version? I'm running unraid v6 latest beta. Thanks!
April 17, 201511 yr Is there any advantage to using the 64bit version vs the 32bit version? I'm running unraid v6 latest beta. Thanks! V6 is 64bit so you can only use the 64bit version
June 7, 201511 yr Hi All, I've installed the 64bit server version of this plugin and it works brilliantly for me (rc4). The only thing is that the VPN doesn't start (the plugin does) when i boot the server, meaning i have to go to the server GUI and click 'Start' in the OpenVPN settings. I have 'Start OpenVPN server during array mount' selected and if i stop the array and start it again (not reboot), OpenVPN will stop and start, but i would like it to also start automatically after a reboot. Is there something i can put in my go script for this? Thank you, Rich
June 7, 201511 yr I have had the same issue in RC3 and RC4. Not sure if it's linked to the RC3 issue for the APCUPSD plugin in which there was a missing executable attribute in the script for the plugin to remember the settings. Might require Petersm to update his script to follow the unRAID changes from RC3
June 7, 201511 yr Author On RC4, after a boot, my server are online, dont need to do anytrhing. Sun Jun 7 14:03:52 2015 OpenVPN 2.3.6 x86_64-slackware-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on Dec 10 2014 Sun Jun 7 14:03:52 2015 library versions: OpenSSL 1.0.1m 19 Mar 2015, LZO 2.03 Sun Jun 7 14:03:52 2015 NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet. Sun Jun 7 14:03:52 2015 Diffie-Hellman initialized with 2048 bit key Sun Jun 7 14:03:52 2015 WARNING: file '/mnt/cache/myVPNserver/server.key' is group or others accessible Sun Jun 7 14:03:52 2015 WARNING: file '/mnt/cache/myVPNserver/ta.key' is group or others accessible Sun Jun 7 14:03:52 2015 Control Channel Authentication: using '/mnt/cache/myVPNserver/ta.key' as a OpenVPN static key file Sun Jun 7 14:03:52 2015 Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication Sun Jun 7 14:03:52 2015 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication Sun Jun 7 14:03:52 2015 Socket Buffers: R=[212992->131072] S=[212992->131072] Sun Jun 7 14:03:52 2015 TUN/TAP device tun0 opened Sun Jun 7 14:03:52 2015 TUN/TAP TX queue length set to 100 Sun Jun 7 14:03:52 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0 Sun Jun 7 14:03:52 2015 /usr/sbin/ip link set dev tun0 up mtu 1500 Sun Jun 7 14:03:52 2015 /usr/sbin/ip addr add dev tun0 10.22.0.1/24 broadcast 10.22.0.255 Sun Jun 7 14:03:52 2015 GID set to users Sun Jun 7 14:03:52 2015 UID set to nobody Sun Jun 7 14:03:52 2015 UDPv4 link local (bound): [AF_INET]192.168.0.190:1194 Sun Jun 7 14:03:52 2015 UDPv4 link remote: [undef] Sun Jun 7 14:03:52 2015 MULTI: multi_init called, r=256 v=256 Sun Jun 7 14:03:52 2015 IFCONFIG POOL: base=10.22.0.2 size=252, ipv6=0 Sun Jun 7 14:03:52 2015 Initialization Sequence Completed //Peter
June 7, 201511 yr Is there something i can add to my go script to start the VPN on boot then? Either way, autostart its not working for me atm
June 7, 201511 yr You could try putting the start command into the go file /etc/rc.d/rc.openvpnserver start 2>&1 But really need to find out why this isn't starting automatically. Will see if I can look at it tonight
June 7, 201511 yr Author from my syslog ....... Jun 7 16:51:01 Tower logger: Starting OpenVPN Server Jun 7 16:51:01 Tower logger: Starting Openvpn server..... Jun 7 16:51:02 Tower sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/sbin/openvpn --writepid /var/run/openvpnserver/openvpnserver.pid --config /mnt/cache/myVPNserver/openvpnserver.ovpn --script-security 2 --daemon Jun 7 16:51:03 Tower logger: OK... Started Jun 7 16:51:03 Tower logger: Adding iptables rule ..... Jun 7 16:51:03 Tower kernel: ip_tables: (C) 2000-2006 Netfilter Core Team Jun 7 16:51:03 Tower logger: 1 0 0 MASQUERADE all -- * br0 10.22.0.0/24 0.0.0.0/0
June 7, 201511 yr You could try putting the start command into the go file /etc/rc.d/rc.openvpnserver start 2>&1 But really need to find out why this isn't starting automatically. Will see if I can look at it tonight Cool, thank you.
June 7, 201511 yr Author You could try putting the start command into the go file /etc/rc.d/rc.openvpnserver start 2>&1 But really need to find out why this isn't starting automatically. Will see if I can look at it tonight Cool, thank you. can you post the config files for the openvpn server, and the syslog ? maybe there is something in these that can point to whats wrong ? without these is difficult to know what might be wrong, since all is good here. //Peter
June 7, 201511 yr can you post the config files for the openvpn server, and the syslog ? maybe there is something in these that can point to whats wrong ? without these is difficult to know what might be wrong, since all is good here. //Peter Thank you, i've attached them. This is my unRAID syslog (at boot) as well... Jun 7 12:23:35 Moore logger: Starting OpenVPN Server Jun 7 12:23:35 Moore logger: Starting Openvpn server..... Jun 7 12:23:35 Moore dhcpcd[1273]: eth0: sending DISCOVER (xid 0xbfea2fc1), next in 7.25 seconds Jun 7 12:23:35 Moore sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/sbin/openvpn --writepid /var/run/openvpnserver/openvpnserver.pid --config /mnt/cache/VMs/Docker/Appdata/myVPNserver/openvpnserver.ovpn --script-security 2 --daemon Jun 7 12:23:36 Moore logger: An error occurred, server not started!. More info in /var/log/openvpnserver.log or /var/local/emhttp/plugins/openvpnserver/openvpnserver.out Jun 7 12:23:36 Moore emhttp: shcmd (23): :>/etc/samba/smb-shares.conf Jun 7 12:23:36 Moore emhttp: Restart SMB... syslog.txt openvpnserver_cert.cfg openvpnserver.cfg
Archived
This topic is now archived and is closed to further replies.