Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3560

System and Network configuration • [Solved] OpenVPN works from command line, but not as service.

$
0
0
Hello,
I focused on the passphrase messages and found some posts talking about parsing the passphrase. Some of them (eg. here) suggested to add the argument "askpass <file>" to the config file of the server. One hast to put the passphrase in a text file, protect it with "chmod 400 <file>" and add "askpass file.txt" to the server configuration file. It worked for me. The service now loads correctly, the openvpn tunnel appears (when check with "ip a") and if I restart the pc it automatically loads well. I checked that I can connect from the client.
I'm glad you sorted it out. :)

Please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message.

Thanks.

Happy Debian ! :)

Statistics: Posted by Aki — 2025-02-10 22:04 — Replies 9 — Views 329



Viewing all articles
Browse latest Browse all 3560

Trending Articles