From 8c9d1fff529d42b022453165090ff056acbd1e02 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Fri, 27 Jan 2023 11:47:45 -0700 Subject: [PATCH] Update VPN article --- content/.obsidian/workspace | 10 +++++----- content/Bypassing Ports.md | 4 +++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/content/.obsidian/workspace b/content/.obsidian/workspace index faa49f3..3003eab 100644 --- a/content/.obsidian/workspace +++ b/content/.obsidian/workspace @@ -9,7 +9,7 @@ "state": { "type": "markdown", "state": { - "file": "Fake Dog.md", + "file": "Bypassing Ports.md", "mode": "source", "source": false } @@ -69,7 +69,7 @@ "state": { "type": "backlink", "state": { - "file": "Fake Dog.md", + "file": "Bypassing Ports.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -86,7 +86,7 @@ "state": { "type": "outline", "state": { - "file": "Fake Dog.md" + "file": "Bypassing Ports.md" } } } @@ -99,6 +99,7 @@ }, "active": "160122bd13ae4b72", "lastOpenFiles": [ + "Fake Dog.md", "Backup Strategy.md", "About.md", "Acoustic Panels.md", @@ -107,7 +108,6 @@ "Hand of Ozymandias.md", "Garage Door Opener.md", "Bypassing Ports.md", - "Plant Waterer.md", - "Linux Flavour.md" + "Plant Waterer.md" ] } \ No newline at end of file diff --git a/content/Bypassing Ports.md b/content/Bypassing Ports.md index 16a137d..774a3f5 100644 --- a/content/Bypassing Ports.md +++ b/content/Bypassing Ports.md @@ -27,7 +27,7 @@ Install the following requirements: ``` $ sudo apt update -$ sudo apt install openvpn ufw +$ sudo apt install openvpn easy-rsa ufw ``` ### OpenVPN Server @@ -49,6 +49,8 @@ Replace `tanner` with your Linux username, this is temporary. ``` $ cd easy-rsa/ +$ export EASYRSA_CERT_EXPIRE=36500 +$ export EASYRSA_CA_EXPIRE=36500 $ ./easyrsa init-pki $ head /dev/urandom > pki/.rnd $ ./easyrsa build-ca