OpenVPN howto documentation typos - sudo/no sudo, wrong dirs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-docs (Ubuntu) |
Fix Released
|
Undecided
|
Adam Sommer |
Bug Description
Binary package hint: ubuntu-docs
in this page:
https:/
There are several (of what appear to be) errors.
it reads:
"sudo mkdir /etc/openvpn/
sudo cp -r /usr/share/
This makes a directory "2.0" inside the /etc/openvpn directory. Yet, below, the docs then say:
"Next, edit /etc/openvpn/
There is no file to edit, because that file has been created in /etc/openvpn/
Further, the guide states:
" Enter the following to create the server certificates:
cd /etc/openvpn/
source vars
./clean-all
"
Unfortunately, even after you move the "2.0" directory contents into the "easy-rsa" directory and edit the vars file, because this instruction doesn't tell you to be either doing these actions via sudo or root, you get a perms error:
"gavin@
mkdir: cannot create directory `/etc/openvpn/
So, becoming root, it is possible to create the server cert.
More issues on this doc:
Doc reads:
"The VPN client will also need a certificate to authenticate itself to the server. To create the certificate, enter the following in a terminal:
cd /etc/openvpn/ easy-rsa/
source vars
./pkitool hostname"
That's fine, and running it (as root again, see issue above) works.
But then the docs say:
" Copy the following files to the client:
* /etc/openvpn/ easy-rsa/ hostname. ovpn
"
and several others.
Those files are actually located in /etc/openvpn/ easy-rsa/ keys/
G