summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-08-01 03:28:02 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-08-01 03:28:02 -0600
commita9dbd90aacab48d44dac3d6525be7e710fdf9e2f (patch)
tree5405cec14a3845b64aedd2ce514f80d6f898481a
parentba8affd807fcba8041988c8247d9c4396078be91 (diff)
fix minor stuff
-rw-r--r--blog/dst/a/vpn_server_with_openvpn.html6
-rw-r--r--blog/dst/rss.xml10
-rw-r--r--blog/src/.files2
-rw-r--r--blog/src/a/vpn_server_with_openvpn.md4
4 files changed, 11 insertions, 11 deletions
diff --git a/blog/dst/a/vpn_server_with_openvpn.html b/blog/dst/a/vpn_server_with_openvpn.html
index 5c4eeda..000e72a 100644
--- a/blog/dst/a/vpn_server_with_openvpn.html
+++ b/blog/dst/a/vpn_server_with_openvpn.html
@@ -296,7 +296,7 @@ verb 3
<p>Where you should make any changes necessary, depending on your configuration.</p>
<p>Now, we need a way to create and revoke new configuration files. For this I created a script, heavily based on one of the links I mentioned at the beginning, by the way. You can place these scripts anywhere you like, and you should take a look before running them because you&rsquo;ll be running them as root.</p>
<p>In a nutshell, what it does is: generate a new client certificate keypair, update the CRL and create a new <code>.ovpn</code> configuration file that consists on the <code>client-common</code> data and all of the required certificates; or, revoke an existing client and refresh the CRL. The file is placed under <code>~/ovpn</code>.</p>
-<p>Create a new file with the following content (name it whatever you like) and don&rsquo;t forget to make it executable (<code>chmod +x script_name</code>):</p>
+<p>Create a new file with the following content (name it whatever you like) and don&rsquo;t forget to make it executable (<code>chmod +x vpn_script</code>):</p>
<pre><code>#!/bin/sh
# Client ovpn configuration creation and revoking.
MODE=$1
@@ -351,7 +351,7 @@ chown nobody:nobody pki/crl.pem
chmod o+r pki/crl.pem
cd $CPWD
</code></pre>
-<p>And the way to use is to run <code>ovpn_script new/rev client_name</code> as sudo (when revoking, it doesn&rsquo;t actually deletes the <code>.ovpn</code> file in <code>~/ovpn</code>). 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 <code>easy-rsa</code>) and it might have errors.</p>
+<p>And the way to use is to run <code>vpn_script new/rev client_name</code> as sudo (when revoking, it doesn&rsquo;t actually deletes the <code>.ovpn</code> file in <code>~/ovpn</code>). 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 <code>easy-rsa</code>) and it could have errors.</p>
<p>Now, just get the <code>.ovpn</code> file generated, import it to OpenVPN in your client of preference and you should have a working VPN service.</p>
<div class="page-nav">
@@ -375,7 +375,7 @@ cd $CPWD
<hr>
<div class="article-info">
<p>By David Luévano</p>
- <p>Created: Sun, Aug 01, 2021 @ 09:23 UTC</p>
+ <p>Created: Sun, Aug 01, 2021 @ 09:27 UTC</p>
<div class="article-tags">
<p>Tags:
<a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@server.html">server</a>, <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, <a href="https://blog.luevano.xyz/tag/@tutorial.html">tutorial</a> </p>
diff --git a/blog/dst/rss.xml b/blog/dst/rss.xml
index d4324c1..556a62a 100644
--- a/blog/dst/rss.xml
+++ b/blog/dst/rss.xml
@@ -13,8 +13,8 @@
<copyright>Copyright 2021 David Luévano Alvarado</copyright>
<managingEditor>david@luevano.xyz (David Luévano Alvarado)</managingEditor>
<webMaster>david@luevano.xyz (David Luévano Alvarado)</webMaster>
- <pubDate>Sun, 01 Aug 2021 09:24:35 GMT</pubDate>
- <lastBuildDate>Sun, 01 Aug 2021 09:24:35 GMT</lastBuildDate>
+ <pubDate>Sun, 01 Aug 2021 09:27:47 GMT</pubDate>
+ <lastBuildDate>Sun, 01 Aug 2021 09:27:47 GMT</lastBuildDate>
<generator>pyssg v0.5.9</generator>
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
<ttl>30</ttl>
@@ -27,7 +27,7 @@
<title>Create a VPN server with OpenVPN (IPv4)</title>
<link>https://blog.luevano.xyz/a/vpn_server_with_openvpn.html</link>
<guid isPermaLink="true">https://blog.luevano.xyz/a/vpn_server_with_openvpn.html</guid>
- <pubDate>Sun, 01 Aug 2021 09:23:42 GMT</pubDate>
+ <pubDate>Sun, 01 Aug 2021 09:27:02 GMT</pubDate>
<category>English</category>
<category>Server</category>
<category>Tools</category>
@@ -251,7 +251,7 @@ verb 3
<p>Where you should make any changes necessary, depending on your configuration.</p>
<p>Now, we need a way to create and revoke new configuration files. For this I created a script, heavily based on one of the links I mentioned at the beginning, by the way. You can place these scripts anywhere you like, and you should take a look before running them because you&rsquo;ll be running them as root.</p>
<p>In a nutshell, what it does is: generate a new client certificate keypair, update the CRL and create a new <code>.ovpn</code> configuration file that consists on the <code>client-common</code> data and all of the required certificates; or, revoke an existing client and refresh the CRL. The file is placed under <code>~/ovpn</code>.</p>
-<p>Create a new file with the following content (name it whatever you like) and don&rsquo;t forget to make it executable (<code>chmod +x script_name</code>):</p>
+<p>Create a new file with the following content (name it whatever you like) and don&rsquo;t forget to make it executable (<code>chmod +x vpn_script</code>):</p>
<pre><code>#!/bin/sh
# Client ovpn configuration creation and revoking.
MODE=$1
@@ -306,7 +306,7 @@ chown nobody:nobody pki/crl.pem
chmod o+r pki/crl.pem
cd $CPWD
</code></pre>
-<p>And the way to use is to run <code>ovpn_script new/rev client_name</code> as sudo (when revoking, it doesn&rsquo;t actually deletes the <code>.ovpn</code> file in <code>~/ovpn</code>). 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 <code>easy-rsa</code>) and it might have errors.</p>
+<p>And the way to use is to run <code>vpn_script new/rev client_name</code> as sudo (when revoking, it doesn&rsquo;t actually deletes the <code>.ovpn</code> file in <code>~/ovpn</code>). 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 <code>easy-rsa</code>) and it could have errors.</p>
<p>Now, just get the <code>.ovpn</code> file generated, import it to OpenVPN in your client of preference and you should have a working VPN service.</p>]]></content:encoded>
</item>
<item>
diff --git a/blog/src/.files b/blog/src/.files
index 7eb1583..d43f207 100644
--- a/blog/src/.files
+++ b/blog/src/.files
@@ -12,4 +12,4 @@ a/acomodada_la_pagina_de_arte.md 1623006369.6071973 1623006525.2665823 short,spa
a/xmpp_server_with_prosody.md 1623216270.0372887 1627809865.4920528 english,server,tools,tutorial
a/tenia_esto_descuidado.md 1626594710.918819 0.0 short,spanish,update
a/hoy_toco_desarrollo_personaje.md 1627452655.5560262 0.0 spanish
-a/vpn_server_with_openvpn.md 1627809822.9715295 0.0 english,server,tools,tutorial
+a/vpn_server_with_openvpn.md 1627810022.100739 0.0 english,server,tools,tutorial
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.