aboutsummaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorrandomshell <randshell@protonmail.com>2020-08-03 14:24:43 +0000
committerGitHub <noreply@github.com>2020-08-03 16:24:43 +0200
commit1923aa17e6b27d94876411ea73ebb65647324547 (patch)
treea3f46f1e376df1289b633459eb26359de82a1fd3 /LICENSE
parent40cc13b1f445bc5937a2e1feb19a72910af76730 (diff)
Add clientRevoke() and improve addClient() (#94)
Added `clientRevoke()` based on openvpn-install repo, fixes #4 Some other changes were required for this to work: - client names aren't random anymore - client names are saved above the `[Peer]` block of the server configuration file to keep track of them - checks added for existing IPv4, IPv6 and client name. I used `until` to ask the user again if this is the case to not make him loose its work if, for example, the client name and IPv4 inserted are unique but not the IPv6. - using `until` instead of `exit` isn't idempotent but it's more user friendly. This will be a future goal. - default options should be safe to use so the suggestion for the client IP is automatically incremented. The subnet of `SERVER_WG_IPV` is hard-coded inside `CLIENT_WG_IPV` for obvious reasons
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions