...
For example, suppose we have a client configuration named "client1" which has the ovpn file "client1.ovpn", that we want to assign the ip address "10.8.0.12" to. We would do the following:
...
Code Block |
---|
ifconfig-push 10.8.0.12 255.255.255.0 |
Info |
---|
You DO NOT need to restart the openvpn server after adding client configs. Each time a client connects openvpn will check for a corresponding (named) file in the ccd folder. |
...