diff options
Diffstat (limited to 'content')
| -rw-r--r-- | content/posts/openbsd-vpn-gateway/index.org | 15 | 
1 files changed, 8 insertions, 7 deletions
| 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 | 
