Skip to content

Commit 5c859ae

Browse files
OpenVPN: fix position of server.conf since Ubuntu 22.04 LTS
Ref #216
1 parent e7e5b85 commit 5c859ae

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

how-to/security/install-openvpn.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,18 @@ Since the client certificates and keys are only required on the client machine,
100100
Included with your OpenVPN installation are these (and many more) sample configuration files:
101101

102102
```bash
103-
root@server:/# ls -l /usr/share/doc/openvpn/examples/sample-config-files/
104-
total 68
105-
-rw-r--r-- 1 root root 3427 2011-07-04 15:09 client.conf
106-
-rw-r--r-- 1 root root 4141 2011-07-04 15:09 server.conf.gz
103+
root@server:/# ls /usr/share/doc/openvpn/examples/sample-config-files/*
104+
/usr/share/doc/openvpn/examples/sample-config-files/client.conf
105+
/usr/share/doc/openvpn/examples/sample-config-files/server.conf
107106
```
108107

109-
Start by copying and unpacking `server.conf.gz` to `/etc/openvpn/server.conf`:
108+
Start by copying the example server configuration to `/etc/openvpn/server.conf`:
109+
110+
```bash
111+
sudo cp /usr/share/doc/openvpn/examples/sample-config-files/server.conf /etc/openvpn/myserver.conf
112+
```
113+
114+
In Ubuntu 20.04 or older, do this instead:
110115

111116
```bash
112117
sudo cp /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz /etc/openvpn/myserver.conf.gz

0 commit comments

Comments
 (0)