Need help configuring your VPN? Just post here and you'll get that help.
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
poma
- OpenVpn Newbie
- Posts: 2
- Joined: Mon Apr 02, 2012 12:25 pm
Post
by poma » Mon Apr 02, 2012 12:31 pm
I have an ubuntu openvpn server and a few windows clients. Clients access internet through NAT. Clients always get the same ip address so only one client can use the server. Here are configs:
Code: Select all
server 10.7.7.0 255.255.255.0
port 443
push "redirect-gateway"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
dev tun0
proto tcp
keepalive 10 120
comp-lzo
dh /etc/openvpn/dh1024.pem
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
max-clients 10
status /var/log/openvpn-status.log
log-append /var/log/openvpn.log
verb 3
Code: Select all
client
dev tun
proto tcp
remote viking-studio.com 443
resolv-retry infinite
nobind
persist-key
persist-tun
ca viking_ca.crt
cert viking.crt
key viking.key
comp-lzo
verb 3
-
george
- Forum Team
- Posts: 117
- Joined: Tue Jun 09, 2009 4:25 pm
- Location: St. Louis, MO USA
Post
by george » Mon Apr 02, 2012 1:25 pm
Do all of your clients use the same client certificate?
If not then making ccd files for each client cert should solve it.
-
poma
- OpenVpn Newbie
- Posts: 2
- Joined: Mon Apr 02, 2012 12:25 pm
Post
by poma » Mon Apr 02, 2012 1:30 pm
Yes the problem was caused by multiple clients that used the same certificate. I've solved it by adding "duplicate-cn" line to server config
-
george
- Forum Team
- Posts: 117
- Joined: Tue Jun 09, 2009 4:25 pm
- Location: St. Louis, MO USA
Post
by george » Mon Apr 02, 2012 4:37 pm
Glad you resolved it. Thanks for the follow up post.