Hi,
I have configured a RUT955 as OpenVPN server, and I would like the other RUT95x (and PC) that will connect as Client to have a static virtual IP address.
But despite having loaded the CCD file in server, I am assigned another IP (10.10.10.6), how can I solve?
This is the contents of the CCD (which is named as the client certificate):
ifconfig-push 10.10.10.2 255.255.255.0
And this is the one from server.conf:
config openvpn 'server_vpn'
option persist_key '1'
option port '1194'
option keepalive '10 120'
option dev 'tun_s_vpn'
option verb '5'
option _role 'server'
option proto 'udp'
option comp_lzo 'yes'
option _auth 'tls'
option cipher 'BF-CBC'
option _tls_cipher 'all'
option auth 'sha1'
option _tls_auth 'none'
option ca '/lib/uci/upload/cbid.openvpn.server_vpn.ca'
option cert '/lib/uci/upload/cbid.openvpn.server_vpn.cert'
option key '/lib/uci/upload/cbid.openvpn.server_vpn.key'
option dh '/lib/uci/upload/cbid.openvpn.server_vpn.dh'
option server '10.10.10.0 255.255.255.0'
option enable '1'
option enable_ccd '1'
option client_config_dir '/etc/openvpn/ccd'
option client_to_client '1'
Thanks