Update VPN article

This commit is contained in:
Tanner Collin 2023-01-27 11:47:45 -07:00
parent 17c1bffaa7
commit 8c9d1fff52
2 changed files with 8 additions and 6 deletions

View File

@ -9,7 +9,7 @@
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "Fake Dog.md", "file": "Bypassing Ports.md",
"mode": "source", "mode": "source",
"source": false "source": false
} }
@ -69,7 +69,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "Fake Dog.md", "file": "Bypassing Ports.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@ -86,7 +86,7 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
"file": "Fake Dog.md" "file": "Bypassing Ports.md"
} }
} }
} }
@ -99,6 +99,7 @@
}, },
"active": "160122bd13ae4b72", "active": "160122bd13ae4b72",
"lastOpenFiles": [ "lastOpenFiles": [
"Fake Dog.md",
"Backup Strategy.md", "Backup Strategy.md",
"About.md", "About.md",
"Acoustic Panels.md", "Acoustic Panels.md",
@ -107,7 +108,6 @@
"Hand of Ozymandias.md", "Hand of Ozymandias.md",
"Garage Door Opener.md", "Garage Door Opener.md",
"Bypassing Ports.md", "Bypassing Ports.md",
"Plant Waterer.md", "Plant Waterer.md"
"Linux Flavour.md"
] ]
} }

View File

@ -27,7 +27,7 @@ Install the following requirements:
``` ```
$ sudo apt update $ sudo apt update
$ sudo apt install openvpn ufw $ sudo apt install openvpn easy-rsa ufw
``` ```
### OpenVPN Server ### OpenVPN Server
@ -49,6 +49,8 @@ Replace `tanner` with your Linux username, this is temporary.
``` ```
$ cd easy-rsa/ $ cd easy-rsa/
$ export EASYRSA_CERT_EXPIRE=36500
$ export EASYRSA_CA_EXPIRE=36500
$ ./easyrsa init-pki $ ./easyrsa init-pki
$ head /dev/urandom > pki/.rnd $ head /dev/urandom > pki/.rnd
$ ./easyrsa build-ca $ ./easyrsa build-ca