diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2021-08-01 03:28:02 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2021-08-01 03:28:02 -0600 |
commit | a9dbd90aacab48d44dac3d6525be7e710fdf9e2f (patch) | |
tree | 5405cec14a3845b64aedd2ce514f80d6f898481a /blog/src/a | |
parent | ba8affd807fcba8041988c8247d9c4396078be91 (diff) |
fix minor stuff
Diffstat (limited to 'blog/src/a')
-rw-r--r-- | blog/src/a/vpn_server_with_openvpn.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/blog/src/a/vpn_server_with_openvpn.md b/blog/src/a/vpn_server_with_openvpn.md index ae3530e..4eb8438 100644 --- a/blog/src/a/vpn_server_with_openvpn.md +++ b/blog/src/a/vpn_server_with_openvpn.md @@ -298,7 +298,7 @@ Now, we need a way to create and revoke new configuration files. For this I crea In a nutshell, what it does is: generate a new client certificate keypair, update the CRL and create a new `.ovpn` configuration file that consists on the `client-common` data and all of the required certificates; or, revoke an existing client and refresh the CRL. The file is placed under `~/ovpn`. -Create a new file with the following content (name it whatever you like) and don't forget to make it executable (`chmod +x script_name`): +Create a new file with the following content (name it whatever you like) and don't forget to make it executable (`chmod +x vpn_script`): ``` #!/bin/sh @@ -356,6 +356,6 @@ chmod o+r pki/crl.pem cd $CPWD ``` -And the way to use is to run `ovpn_script new/rev client_name` as sudo (when revoking, it doesn't actually deletes the `.ovpn` file in `~/ovpn`). Again, this is a little script that I put together, so you should check it out, it might need tweaks (depending on your directory structure for `easy-rsa`) and it might have errors. +And the way to use is to run `vpn_script new/rev client_name` as sudo (when revoking, it doesn't actually deletes the `.ovpn` file in `~/ovpn`). Again, this is a little script that I put together, so you should check it out, it may need tweaks (depending on your directory structure for `easy-rsa`) and it could have errors. Now, just get the `.ovpn` file generated, import it to OpenVPN in your client of preference and you should have a working VPN service. |