OpenVPN autostart massacre

OpenVPN autostart massacre

Postby kermi » Aug 9th, '24, 14:11

I failed to set up an OpenVPN server based on the original Mageia packages. I used the openvpn sources, compiled, configured, ran and I thought that was most of the work. Unfortunately, I failed to set up the openvpn.service service, after starting the service ended with an error. I wrote a simple script "/etc/openvpn/openvpn.sh" where there is one entry "openvpn server.conf&". In previous systems, you simply placed a link to this script and everything worked. Currently, I have no idea how to make the openvpn server start on startup. The command sudo /etc/openvpn/openvpn.sh starts, but the server does not work. Does anyone have any ideas? Thanks in advance,

Moved to appropriate forum. ~Germ
kermi
 
Posts: 3
Joined: Aug 21st, '17, 15:29

Re: OpenVPN autostart massacre

Postby doktor5000 » Aug 9th, '24, 15:51

kermi wrote:I failed to set up an OpenVPN server based on the original Mageia packages. I used the openvpn sources, compiled, configured, ran and I thought that was most of the work.

Why do you need to compile it?

kermi wrote:Unfortunately, I failed to set up the openvpn.service service, after starting the service ended with an error.

What error?

kermi wrote:I wrote a simple script "/etc/openvpn/openvpn.sh" where there is one entry "openvpn server.conf&". In previous systems, you simply placed a link to this script and everything worked. Currently, I have no idea how to make the openvpn server start on startup. The command sudo /etc/openvpn/openvpn.sh starts, but the server does not work. Does anyone have any ideas? Thanks in advance,

What is the actual output from openvpn? Or do you expect us to guess remotely why it's not working without any further details ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18013
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron