Skip to content

Instantly share code, notes, and snippets.

@Fastidious
Created July 23, 2019 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fastidious/070743e99107252b31ec37252831501a to your computer and use it in GitHub Desktop.
Save Fastidious/070743e99107252b31ec37252831501a to your computer and use it in GitHub Desktop.

A simple systemd file for DSVPN

This assumes the server has port 443 unused. Change the port as it fits.

[Unit]
Description=Dead Simple VPN - Server

[Service]
ExecStart=/usr/local/bin/dsvpn server /opt/misc/vpn.key auto 443
Restart=always
RestartSec=15

[Install]
WantedBy=network.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment