Blame | Last modification | View Log | RSS feed
[Unit]Description=OpenVPN service for %IAfter=syslog.target network-online.targetWants=network-online.targetDocumentation=man:openvpn(8)Documentation=https://community.openvpn.net/openvpn/wiki/Openvpn24ManPageDocumentation=https://community.openvpn.net/openvpn/wiki/HOWTO[Service]Type=notifyPrivateTmp=trueWorkingDirectory=/etc/openvpnExecStart=/usr/sbin/openvpn --status %t/openvpn-server/status-%i.log --status-version 2 --suppress-timestamps --cipher AES-256-GCM --ncp-ciphers AES-256-GCM:AES-128-GCM:AES-256-CBC:AES-128-CBC:BF-CBC --config %i.confCapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_DAC_OVERRIDE CAP_AUDIT_WRITE#LimitNPROC=10DeviceAllow=/dev/null rwDeviceAllow=/dev/net/tun rwProtectSystem=trueProtectHome=trueKillMode=processRestartSec=5sRestart=on-failure[Install]WantedBy=multi-user.target