Skip to content

Commit 1d27094

Browse files
OpenVPN: fix guide under the official Ubuntu Docker image
Ref #216 (comment)
1 parent cf5c834 commit 1d27094

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

how-to/security/install-openvpn.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,16 @@ root@server:/# ls /usr/share/doc/openvpn/examples/sample-config-files/*
105105
/usr/share/doc/openvpn/examples/sample-config-files/server.conf
106106
```
107107

108+
If these files under `/usr/share/doc/*` are not available:
109+
110+
> Official minimal environments like Ubuntu Docker are optimized to never install stuff like documentation files (you probably also have not `sudo` there, etc).
111+
> To re-install the necessary documentation, at this point you can run these commands, as the root user:
112+
>
113+
> ```bash
114+
> echo 'path-include=/usr/share/doc/openvpn/examples/*' > /etc/dpkg/dpkg.cfg.d/my-openvpn
115+
> apt install --reinstall openvpn
116+
> ```
117+
108118
Start by copying the example server configuration to `/etc/openvpn/server.conf`.
109119
110120
```bash

0 commit comments

Comments
 (0)