how to set ifconfig-pool in openvpn?
Posted: Wed Sep 09, 2015 3:48 am
I have openvpn server with ip 10.8.0.1 and netmask 255.255.0.0 and two clients. I am trying to assign static ip 10.8.0.2 to client1. But in the man page it is mentioned that the ip assigned as static should be excluded from ip pool. And ip pool can be altered by using in server config. But when i tried it, i am getting error What is the way to set the ipconfig pool and why i am getting the above error?
Code: Select all
ipconfig-pool 10.8.0.3 10.8.255.255 255.255.0.0
Code: Select all
ipconfig pool is already assigned by server directive. you cannot reassign using ipconfig-pool