Page 1 of 1
OpenVPN+Debian Squeeze without multiple access [SOLVED]
Posted: Sat Oct 08, 2011 11:19 am
by GbMax78
I have OpenVPN on my Debian Squeeze server and work well, I need to add simultaneous clients access (now I have 2 clients with 2 different cert) but If I try to connect client2 this client disconnect client1 and take his ip (10.8.0.6) and I haven't understand why...
I use my dsl line to connect client1 and client2 to remote OpenVPN server, this is a problem ?
I have follow this guide:
http://library.linode.com/networking/op ... -6-squeeze
Thanks a lot for the reply !

GbMax78
Re: OpenVPN+Debian Squeeze without multiple clients access
Posted: Sat Oct 08, 2011 11:32 am
by Mimiko
Show server's config and log.
Re: OpenVPN+Debian Squeeze without multiple clients access
Posted: Sat Oct 08, 2011 12:23 pm
by GbMax78
Mimiko wrote:Show server's config and log.
port 1194
proto udp
dev tun
ca ca.crt
cert server01.crt
key server01.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
route 10.8.0.0 255.255.255.0
push "route 192.168.1.0 255.255.255.0"
push "dhcp-option DNS 10.8.0.1"
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
That are all settings without ";" in server.conf, on my server there isn't dhcp service installed.
GbMax78
Re: OpenVPN+Debian Squeeze without multiple clients access
Posted: Sat Oct 08, 2011 12:39 pm
by Mimiko
Add "duplicate-cn" to server's config and try.
Re: OpenVPN+Debian Squeeze without multiple clients access
Posted: Sat Oct 08, 2011 1:28 pm
by GbMax78
Mimiko wrote:Add "duplicate-cn" to server's config and try.
# IF YOU HAVE NOT GENERATED INDIVIDUAL
# CERTIFICATE/KEY PAIRS FOR EACH CLIENT,
# EACH HAVING ITS OWN UNIQUE "COMMON NAME",
# UNCOMMENT THIS LINE OUT.
I hadn't read this area

I have enable duplicate and tomorrow I am trying !
Thanks !

GbMax78