could you please help me. This problem was bogging me for the whole day now.
I have two certificates. One is "specific_cert" and the other is "generic_cert". I want specific cert to have ip 10.8.0.6 and generic_cert may be any other. However, when both machines connect to the VPN, both get assigned the same 10.8.0.6 IP.
Could you provide me with any clue what may be wrong?
Much apprechiated!
ccd/specific_cert
Code: Select all
ifconfig-push 10.8.0.6 10.8.0.7
Code: Select all
port 1194
proto tcp
dev tun
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/server.crt
key /etc/openvpn/easy-rsa/2.0/keys/server.key
dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
client-config-dir ccd
client-to-client
duplicate-cn
keepalive 10 120
comp-lzo
;max-clients 100
;user nobody
;group nobody
persist-key
persist-tun
status openvpn-status.log
log /var/log/openvpn/openvpn.log
log-append /var/log/openvpn/openvpn.log
verb 9
Code: Select all
client
dev tun
proto tcp
remote XXX.XXX.XXX.XXX 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca keys/ca.crt
cert keys/specific_cert.crt
key keys/specific_cert.key
ns-cert-type server
comp-lzo
verb 3