OpenVPN: Difference between revisions

DHCP (talk | contribs)
m VPN Client: improve style
DHCP (talk | contribs)
m VPN Client: $ -> # to indicate root; replace backticks with <code>
 
Line 18: Line 18:
Ensure you use absolute paths for any files such as certificates and keys referenced from the configuration files.
Ensure you use absolute paths for any files such as certificates and keys referenced from the configuration files.


Use <em>systemctl</em> to start/stop VPN service. Each generated service will have a prefix `openvpn-`:  
Use <em>systemctl</em> to start/stop VPN service. Each generated service will have a prefix <code>openvpn-</code>:  
<syntaxHighlight lang=console>
<syntaxHighlight lang=console>
$ systemctl start openvpn-officeVPN.service
# systemctl start openvpn-officeVPN.service
</syntaxHighlight>
</syntaxHighlight>