Précision client openvpn en cas de chroot
This commit is contained in:
parent
fd45a94d24
commit
3b71225609
|
@ -363,6 +363,16 @@ Pour démarrer le client OpenVPN, il existe un template systemd, pour le démarr
|
|||
# systemctl enable openvpn@client
|
||||
~~~
|
||||
|
||||
Attention, si l'option `chroot` est configurée, il faudra au moins y créer un dossier `tmp`, sans lequel OpenVPN ne démarrera pas. Par exemple, avec `chroot /var/empty` :
|
||||
|
||||
~~~
|
||||
mkdir /var/empty/tmp/
|
||||
chown $OPENVPN_USER:$OPENVPN_GROUP /var/empty/tmp/
|
||||
chmod 700 /var/empty/tmp/
|
||||
~~~
|
||||
|
||||
En remplaçant $OPENVPN_USER et $OPENVPN_GROUP selon les paramètres configurés pour `user` et `group` (souvent `nobody`).
|
||||
|
||||
### Client sous Windows
|
||||
|
||||
On peut télécharger un client 32 bits ou 64 bits sur <https://openvpn.net/index.php/open-source/downloads.html>.
|
||||
|
|
Loading…
Reference in New Issue