Template:VPN/Setup/Systemd

From Kicksecure
Revision as of 19:06, 9 June 2016 by imported>Patrick (Created page with "Create the OpenVPN systemd service file. <pre> sudo cp /lib/systemd/system/openvpn@.service /lib/systemd/system/openvpn@openvpn.service </pre> Enable the OpenVPN systemd ser...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Create the OpenVPN systemd service file.

sudo cp /lib/systemd/system/openvpn@.service /lib/systemd/system/openvpn@openvpn.service

Enable the OpenVPN systemd service file.

sudo systemctl enable openvpn@openvpn

Start the OpenVPN systemd service.

sudo service openvpn@openvpn start

Check the OpenVPN systemd service status.

sudo service openvpn@openvpn status