OpenVPN+Debian Squeeze without multiple access [SOLVED]

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
User avatar
GbMax78
OpenVPN User
Posts: 20
Joined: Sun Aug 14, 2011 6:21 am
Location: Italy
Contact:

OpenVPN+Debian Squeeze without multiple access [SOLVED]

Post by GbMax78 » Sat Oct 08, 2011 11:19 am

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
Last edited by GbMax78 on Tue Oct 11, 2011 9:04 am, edited 1 time in total.

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: OpenVPN+Debian Squeeze without multiple clients access

Post by Mimiko » Sat Oct 08, 2011 11:32 am

Show server's config and log.

User avatar
GbMax78
OpenVPN User
Posts: 20
Joined: Sun Aug 14, 2011 6:21 am
Location: Italy
Contact:

Re: OpenVPN+Debian Squeeze without multiple clients access

Post by GbMax78 » Sat Oct 08, 2011 12:23 pm

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

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: OpenVPN+Debian Squeeze without multiple clients access

Post by Mimiko » Sat Oct 08, 2011 12:39 pm

Add "duplicate-cn" to server's config and try.

User avatar
GbMax78
OpenVPN User
Posts: 20
Joined: Sun Aug 14, 2011 6:21 am
Location: Italy
Contact:

Re: OpenVPN+Debian Squeeze without multiple clients access

Post by GbMax78 » Sat Oct 08, 2011 1:28 pm

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

Post Reply