[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:network_services:openvpn [2016/08/08 12:14 (UTC)] – [7. Port Forwarding] Removed extra "Y" bassmadrigalhowtos:network_services:openvpn [2018/03/02 00:04 (UTC)] – Add a note that 'daemon' can initially be left out. bifferos
Line 70: Line 70:
 <code> <code>
 # cd # cd
-# git clone git://github.com/OpenVPN/easy-rsa+# git clone http://github.com/OpenVPN/easy-rsa
 </code> </code>
  
Line 168: Line 168:
 # cp $HOME/easy-rsa/easyrsa3/pki/private/server1.key \ # cp $HOME/easy-rsa/easyrsa3/pki/private/server1.key \
 > /etc/openvpn/keys/ > /etc/openvpn/keys/
 +</code>
 +
 +If you want to run the server as a daemon on system boot, it's necessary to remove the pass-phrase from the server1.key file first.  Don't forget to set permissions on the key to avoid it being world-readable.
 +
 +<code>
 +# cd /etc/openvpn/keys
 +# openssl rsa -in server1.key -out tmp.key
 +# mv tmp.key server1.key
 +# chmod 600 server1.key
 </code> </code>
  
Line 230: Line 239:
 daemon daemon
 </code> </code>
 +
 +<note>It may be useful to leave off the 'daemon' option while getting things up and running so you can see useful messages in the foreground.</note>
  
 My full server.conf is the following: My full server.conf is the following:
 howtos:network_services:openvpn ()