LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Vpn problem (http://www.linuxquestions.org/questions/linux-server-73/vpn-problem-737374/)

pawan_lal 07-03-2009 12:48 AM

Vpn problem
 
Hi,
i had configured open vpn on fedora n its working fine. i had created 3 clients certificates all of 3 clients can easily connect to openvpn but when i connect all 3 clients at a same time from diffrent location than problem arises.
openvpn is only able to give ip to only one client 10.8.0.6 and other two clients cant connect to vpn.
giving u the server and client.conf configuration.

#####################################################################serserver.conf

port 1194
proto udp
dev tun
daemon

ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key # This file should be kept secret
dh /etc/openvpn/keys/dh1024.pem

server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.1.0 255.255.255.0"

client-to-client

keepalive 10 120
user nobody
persist-key
persist-tun
status /var/log/openvpn-status.log
log /var/log/openvpn.log
log-append /var/log/openvpn.l

#####################################################################

#####################################################################
client.conf

client
float

dev tun

proto udp

remote abc.com 1194

resolv-retry infinite

nobind

user nobody

persist-key
persist-tun

ca ca.crt
cert client2.crt
key client2.key

verb 3
#####################################################################

Regards
PAWAN

billymayday 07-03-2009 01:10 AM

Are you trying to just use one client config and key pair? If so,

Quote:

# IF YOU HAVE NOT GENERATED INDIVIDUAL
# CERTIFICATE/KEY PAIRS FOR EACH CLIENT,
# EACH HAVING ITS OWN UNIQUE "COMMON NAME",
# UNCOMMENT THIS LINE OUT.
;duplicate-cn


All times are GMT -5. The time now is 09:43 AM.