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

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

That is one of the settings available when OpenVPN is stopped? I don't remember it, but that's likely not saying much.

 

Yes about halfway down on the right hand side when openvpn server is stopped51c47dc46035f71d06f01ce052594200.jpg

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?

 

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.

  • 1 month later...

Can we get a tutorial on how to setup OpenVPN and Plex?

  • 1 month later...
  • 4 weeks later...

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. :)

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?

  • 5 weeks later...

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!

  • 2 weeks later...

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.

  • 4 weeks later...

what android app are you guys using to connect fo the server?

what android app are you guys using to connect fo the server?

I use OpenVPN Connect

  • 2 weeks later...

Is there any advantage to using the 64bit version vs the 32bit version?  I'm running unraid v6 latest beta.

 

Thanks!

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

  • 1 month later...

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

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

 

 

  • 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

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  :(

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

  • 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           

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.

  • 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

 

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.

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.