Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

DcR-NL/synology-vpn-reconnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

Archived! I recommend looking at Gluetun if you are able to run Docker. It does a much better job at handling a VPN.

Synology VPN Reconnect Script

I noticed my VPN sometimes stopped responding (403 errors outbound, etc). So I made a 'simple' bash script. This script is tested on DSM 6.0.2-8451 Update 4 in combination with the OpenVPN protocol, but should also work on DSM 6.1+.

This script works fine with sudo-enabled users (admin by default) from the command line, but will you will need to set the user to 'root' when running as scheduled task (see step 5 of the installation) since sudo requires you to re-enter your password on every run!

Instructions and changelog

See detailed instructions in the wiki

Issues or improvements?

Got an issue with this script and the wiki doesn't contain the required information to solve your problem? Please create a new issue report.

Since I'm new to Bash scripting you might locate some possible improvements. If you do, please don't hesitate to create an issue and/or create a pull-request.

About

VPN check/reconnect script for DSM 6.0 and 6.1

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages