From 727d12bdb9f53ab9bc829a3fb82cf3d2ce5a7d97 Mon Sep 17 00:00:00 2001 From: Dante Catalfamo Date: Wed, 15 Jul 2020 13:14:57 -0400 Subject: gateway: work on wording --- content/posts/openbsd-vpn-gateway/index.org | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'content/posts/openbsd-vpn-gateway') diff --git a/content/posts/openbsd-vpn-gateway/index.org b/content/posts/openbsd-vpn-gateway/index.org index fb12b70..e3d92d0 100644 --- a/content/posts/openbsd-vpn-gateway/index.org +++ b/content/posts/openbsd-vpn-gateway/index.org @@ -110,7 +110,6 @@ : inet 192.168.0.11 netmask 0xffffff00 broadcast 192.168.0.255 - * Configuring OpenVPN ** Installation @@ -132,17 +131,19 @@ Let's assume the VPN profile we've downloaded from our provider exists in =/root/profile.ovpn=. This could have been downloaded - using [[https://man.openbsd.org/man1/ftp.1][=ftp(1)=]] or transferred on using [[https://man.openbsd.org/man1/sftp.1][=sftp(1)=]]. It also requires a - username and password supplied by the user. Let's say that username - is =user@example.com= and the password is =password=. + using [[https://man.openbsd.org/man1/ftp.1][=ftp(1)=]] or transferred on using [[https://man.openbsd.org/man1/sftp.1][=sftp(1)=]]. Let's say it also + requires a username and password supplied by the user, as most + commercial VPN providers authenticate users in this way. For this + example, the username is =user@example.com= and the password is + =password=. To allow OpenVPN to login to the VPN without the us having to enter - our password, we can add the =auth-user-pass= configuration option - to our =ovpn= file. This will allow us run OpenVPN as a daemon, and + our password, we can add the =auth-user-pass= directive to our + =.ovpn= file. This will allow us run OpenVPN as a daemon, and restart it without having to type our username and password in. To do this we can create a file called =/root/vpnpasswd.txt= containing - our username, followed my our password on separate lines. + our username, followed my our password on a separate line. #+BEGIN_SRC user@examples.com -- cgit v1.2.3