How to configure openvpn plugin
-
-
openvpn --config /etc/openvpn/server.conf --crl-verify /etc/openvpn/pki/crl.pem --log /var/log/openvpn.log
root@raspberrypi:~#
What next ?
-
I thought that you are little bit experienced... Is openvpn running? Can you connect? post what is in /var/log/openvpn.log
-
I removed the openvpn plugin installes it. No error message but the syslog says:
Nov 21 21:05:52 raspberrypi systemd[1]: openvpn@server.service: Scheduled restart job, restart counter is at 37.
Nov 21 21:05:52 raspberrypi systemd[1]: Stopped OpenVPN connection to server.
Nov 21 21:05:52 raspberrypi systemd[1]: Starting OpenVPN connection to server...
Nov 21 21:05:52 raspberrypi systemd[1]: Started OpenVPN connection to server.
Nov 21 21:05:52 raspberrypi systemd[1]: openvpn@server.service: Main process exited, code=exited, status=1/FAILURE
Nov 21 21:05:52 raspberrypi systemd[1]: openvpn@server.service: Failed with result 'exit-code'.
-
omg.... do you read, what I am writing? You are doing things I am not asking you to do...
-
thsis is what /var/log/openvpn.log says
Sat Nov 21 21:08:40 2020 OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSS$
Sat Nov 21 21:08:40 2020 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10
Sat Nov 21 21:08:40 2020 NOTE: your local LAN uses the extremely common subnet $
Sat Nov 21 21:08:40 2020 OpenSSL: error:0909006C:PEM routines:get_name:no start$
Sat Nov 21 21:08:40 2020 Cannot load DH parameters from /etc/openvpn/pki/dh.pem
Sat Nov 21 21:08:40 2020 Exiting due to fatal error
This is longer (i dont know how to copy this file)
Sat Nov 21 21:08:40 2020 OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019
Sat Nov 21 21:08:40 2020 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10
Sat Nov 21 21:08:40 2020 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 interne$
Sat Nov 21 21:08:40 2020 OpenSSL: error:0909006C:PEM routines:get_name:no start line
Sat Nov 21 21:08:40 2020 Cannot load DH parameters from /etc/openvpn/pki/dh.pem
Sat Nov 21 21:08:40 2020 Exiting due to fatal error
-
Sorry i thought that this was good to do
-
-
/var/log/openvpn.log
Sat Nov 21 21:43:55 2020 OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019
Sat Nov 21 21:43:55 2020 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10
Sat Nov 21 21:43:55 2020 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 V$
Sat Nov 21 21:43:55 2020 OpenSSL: error:0909006C:PEM routines:get_name:no start line
Sat Nov 21 21:43:55 2020 Cannot load DH parameters from /etc/openvpn/pki/dh.pem
Sat Nov 21 21:43:55 2020 Exiting due to fatal error
-
hmm.... Cant help you more. Something strange is happening, cant resolve. Sorry.
-
That is a pity. So the openvpn plugin is not working for the raspberry at this moment.
-
That is a pity. So the openvpn plugin is not working for the raspberry at this moment.
I don't know much about openvpn but the plugin not working should have nothing to do with the RPi. The openvpn package wouldn't be provided if it didn't work on arm devices like the RPi. And the plugin doesn't do anything architecture specific.
-
Its strange what he send yesterday - there is openvpn process runing, but parameters are really strange.
for example:
--config /etc/openvpn/openvpn.conf (cannot find /etc/openvpn/openvpn.conf anywhere in github sourcecode of plugin)
--client-config-dir /etc/openvpn/ccd (cannot find /etc/openvpn/ccd anywhere in github sourcecode of plugin)
--crl-verify /etc/openvpn/crl.pem (cannot find /etc/openvpn/crl.pem anywhere in github sourcecode of plugin)
These parameters are not set by OMV plugin imho...
Are you sure "Birdybird" you didn't try to install OpenVPN on you own and then installed as OMV plugin? Are you trying this plugin on clean installation of OMV?
root@raspberrypi:~# ps aufx | grep openvpn
nobody 1378 0.0 0.0 4236 3612 ? Ss Nov20 0:00 \_ openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd --crl-verify /etc/openvpn/crl.pem
root 30060 0.0 0.0 6536 560 pts/0 S+ 09:15 0:00 \_ grep openvpn
root@raspberrypi:~#
Is it running ?
I cannot see it
-
no only i use now opvpn via portainer which i had stopped. I only installed minidlna and
And openvpn via plugins which doesnot work.
-
so where are these parameters taken from?
-
pcmag.biz i beliefe. I googled openvpn on omv5 with portainer. There is a complete manual online. But problem is i have no access to local files. Also i have a sdcard with
Raspian buster with desktop with minidlna
And pivpn where i can access the local files.
So i hoped that omv5 with openvpn has also access to local files.
-
Do a clean installation of "OMV" and "OMVExtras OpenVPN" nothing else. And you will see...
-
Btw, it's a bit like hijkacking his thread, but as i have OpenVPN-as installed via Portainer (i guess similarly to OP), running but malfunctionning (i can connect to the VPN from outside, but i can't reach anything through the VPN, and i haven't yet taken the time to correct it), is there any major difference between the plugin and the docker container ?
Is the plugin a VPN client or a server ?
Thx
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!