5
0
Fork
You've already forked vpn-maint-scripts
0
No description
  • Shell 100%
2026年03月17日 13:26:21 +01:00
bin use "--plain" 2026年03月17日 13:26:21 +01:00
CHANGES.md prepare for release 2025年12月09日 14:22:17 +01:00
LICENSE initial commit 2020年04月27日 20:26:24 +02:00
README.md prepare for release, update README 2024年08月13日 20:18:32 +02:00

Summary: Collection of scripts to maintain your VPN server

Description: This is a collection of scripts for maintaining your VPN server(s). These SHOULD be used for handling day to day operation, like applying changes and installing updates.

License: AGPL-3.0-or-later

Introduction

This is a collection of scripts for maintaining your VPN server(s). These SHOULD be used for handling day to day operation, like applying changes and installing updates. Feel free to take the content of these scripts and use them in something like Ansible.

NOTE: only use these scripts during maintenance windows as they will in most cases restart the OpenVPN and WireGuard processes!

Scripts

Verify Configuration Files

In order to make sure your VPN configuration files are without syntax errors:

$ sudo vpn-maint-verify-config

Run this after every configuration change!

Apply Changes

Delete VPN client configurations no longer matching the configuration, regenerate the OpenVPN and WireGuard server configuration files and restart relevant processes:

$ sudo vpn-maint-apply-changes

The vpn-maint-apply-changes script will also run vpn-user-portal-config-check by default, showing potential configuration mistakes. You can prevent it from running checks with the --no-check flag.

Update

Install OS and VPN (server) software updates:

$ sudo vpn-maint-update-system

NOTE you MAY need to restart your server as well in case (important) OS updates are installed, e.g. kernel or library updates!

Reset

NOTE: only use this right before going to production to get rid of all user data! It will NOT modify your configuration.

$ sudo vpn-maint-reset-system

If you generated any additional keys, e.g. the HMAC key for "Guest Access", or the Admin API, you'll need to regenerate those keys as well!

Contributing

Thank you for taking the time to contribute to eduVPN / Let's Connect!. In order for us to be able to accept your contributions, i.e. "Pull Requests" or "Merge Requests", we'd like you to sign our "CLA" and send it back to us.

You can find the CLA here. Pick the correct one, either for "legal entities" or "individuals" and mail it to legaldocuments@commonsconservancy.org as stated in the document. Please add eduvpn-support@lists.geant.org to the CC field.

Note, that signing the CLA will not automatically guarantee your contribution will be included in the software!

Thanks again for wanting to contribute to eduVPN / Let's Connect!