22
0
Fork 0

Précision client openvpn en cas de chroot

This commit is contained in:
jdubois 2022-06-16 11:22:38 +02:00
parent fd45a94d24
commit 3b71225609
1 changed files with 10 additions and 0 deletions

View File

@ -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>.