Trying to set use ccd with openvpn 2. I want some clients to get IP addresses on a separate subnet so their access to systems can be limited.
my server.conf file has these settings: dev tun0 server 192.168.57.0 255.255.255.0 route 192.168.58.0 255.255.255.0 client-config-dir ccd
in /etc/openvpn/ccd/user1 I have: ifconfig-push 192.168.58.9 192.168.58.10
I created a cert with common name user1.
I am able to connect but user1 never gets the 192.168.58.9 address. Always picks up a 192.168.57.x address from the server pool.
What am I doing wrong or missing here?