shibaprod wrote
i don't understand it. Do i have to put "client-config-dir /path/to/ccd/" in server.conf and edit ccd/client-common-name with "iroute 10.8.0.0 255.255.255.0 " (according to my network)?
yes
shibaprod wrote
but i dont know where i can find /ccd/client-common-name and /path/to/ccd. is it special files?
I think iroute is what i need for my problem, i will read some topic in french to understand it more easily
if your server.conf is in "/etc/openvpn" then you can create a directory manually:
mkdir /etc/openvpn/ccd
then make a new file:
touch /etc/openvpn/ccd/some_client_name
and edit the file edit to this code:
iroute 10.8.0.0 255.255.255.0
Now your server knows the path to 10.8.0.0, and the route will be automatically pushed to other clients who connect.