Update openvpn documentation
This commit is contained in:
parent
80f6858e87
commit
2578827aa8
13
README.md
13
README.md
|
@ -50,7 +50,12 @@ All data are saved in the docker volumes `seedbox_config` or
|
||||||
|
|
||||||
## OpenVPN
|
## OpenVPN
|
||||||
The OpenVPN container generates a single client key/cert pair by default.
|
The OpenVPN container generates a single client key/cert pair by default.
|
||||||
Run the `create-client CLIENT_NAME` tool in the openvpn container to generate
|
Run the command below to get your OpenVPN config file:
|
||||||
the openvpn file. e.g. `create-client client >> client.ovpn`. You can transfer
|
```sh
|
||||||
the file back using syncthing or scp. You can also create more certs by using
|
$ docker exec seedbox_openvpn_1 create-client client >> client.ovpn
|
||||||
easy-rsa.
|
```
|
||||||
|
Edit the `client.ovpn` and replace the line `remote MYSERVER_HOST 1194` with
|
||||||
|
the hostname or IP address of your server.
|
||||||
|
|
||||||
|
You can also create more certs by by docker exec-ing into the container and
|
||||||
|
using easy-rsa.
|
||||||
|
|
Loading…
Reference in New Issue