Update VPN article

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

View File

@@ -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