Skip to content

Instantly share code, notes, and snippets.

@Jos31fr
Jos31fr / syno-vpn-reconnect.sh
Created September 17, 2022 09:43 — forked from rkok/syno-vpn-reconnect.sh
Restart Synology VPN connection
#!/bin/bash
#######################
# Setup:
# 1. Setup a VPN in the Synology web interface
# 2. Log in via SSH
# 3. Take a look at /usr/syno/etc/synovpnclient/openvpn/ovpnclient.conf
# 3. Find your VPN entry and fill in the variables below.
# ID = the CLIENT ID, shown between square brackets, e.g. "[o123456789]"
# CONFNAME = value of "conf_name"
#