Serverguide OpenVPN page has incorrect install instructions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-docs (Ubuntu) |
Fix Released
|
High
|
Adam Sommer |
Bug Description
Binary package hint: ubuntu-docs
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic
$ apt-cache policy openvpn
openvpn:
Installed: 2.1~rc19-1ubuntu2
Candidate: 2.1~rc19-1ubuntu2
Version table:
*** 2.1~rc19-1ubuntu2 0
500 http://
100 /var/lib/
I tried to install and configure OpenVPN using the instructions provided at https:/
eg.
"sudo cp -r /usr/share/
The vars file appears to be copied to /etc/openvpn/
"cd /etc/openvpn/
"./clean-all" gives "mkdir: cannot create directory `/etc/openvpn/
This command (and possibly others) appears to require sudo/root privs, but is not marked as such. Only the final command in the list with that command uses sudo.
There are possibly other errors on this page as I haven't checked any further apart from the listed examples above. I don't know enough about openvpn to say what the correct commands should be, but they are definitely incorrect in some places.
Related branches
Changed in ubuntu-docs (Ubuntu): | |
importance: | Undecided → High |
tags: | added: serverguide |
To fix this bug, I siggest this step (diff like):
- sudo mkdir /etc/openvpn/ easy-rsa/ doc/openvpn/ examples/ easy-rsa/ 2.0/ /etc/openvpn/ doc/openvpn/ examples/ easy-rsa/ /etc/openvpn/ easy-rsa/ vars easy-rsa/ 2.0/vars easy-rsa/ easy-rsa easy-rsa/ 2.0 easy-rsa/ 2.0
-sudo cp -r /usr/share/
+sudo cp -r /usr/share/
- edit /etc/openvpn/
+ edit /etc/openvpn/
-cd /etc/openvpn/
+cd /etc/openvpn/
[...]
--Client Certificates--
cd /etc/openvpn/
Copy the following files to the client:
-/etc/openvpn/ easy-rsa/ hostname. ovpn easy-rsa/ 2.0/hostname. ovpn easy-rsa/ ca.crt easy-rsa/ 2.0/ca. crt easy-rsa/ hostname. crt easy-rsa/ 2.0/hostname. crt easy-rsa/ hostname. key easy-rsa/ 2.0/hostname. key easy-rsa/ ta.key easy-rsa/ 2.0/ta. key
+/etc/openvpn/
-/etc/openvpn/
+/etc/openvpn/
-/etc/openvpn/
+/etc/openvpn/
-/etc/openvpn/
+/etc/openvpn/
-/etc/openvpn/
+/etc/openvpn/