[more] Блин, я совсем криворукий, не могу под спойлер убрать код... Мои конфиги:
server.ovpn:
port 1194
proto udp
dev tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\myserver.crt"
key "C:\\Program Files\\OpenVPN\\config\\myserver.key" # This file should be kept secret
dh dh1024.pem
server 192.168.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
client.ovpn:
client
dev tun
proto udp
remote 192.168.0.1 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\client1.crt"
key "C:\\Program Files\\OpenVPN\\config\\client1.key"
ns-cert-type server
comp-lzo
verb 3 [/more]
Добавлено: [more]
Цитата: На сервере опция client-to-client стоит?
Нет, была выключена, включил. Прописал маршрут на клиенте-стал пинговаться сервер.
Но при попытке коннекта клиента в логах сервера:
Wed Apr 16 19:54:30 2014 192.168.1.41:63044 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Wed Apr 16 19:54:30 2014 192.168.1.41:63044 TLS Error: TLS handshake failed
Wed Apr 16 19:54:30 2014 192.168.1.41:63044 SIGUSR1[soft,tls-error] received, client-instance restarting
Wed Apr 16 19:54:31 2014 192.168.1.41:62274 TLS: Initial packet from [AF_INET]192.168.1.41:62274, sid=fc002a5f 74e95cc3
Wed Apr 16 19:55:31 2014 192.168.1.41:62274 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Wed Apr 16 19:55:31 2014 192.168.1.41:62274 TLS Error: TLS handshake failed
Wed Apr 16 19:55:31 2014 192.168.1.41:62274 SIGUSR1[soft,tls-error] received, client-instance restarting
Wed Apr 16 19:55:33 2014 192.168.1.41:60042 TLS: Initial packet from [AF_INET]192.168.1.41:60042, sid=98c0fd78 c81cf353
Wed Apr 16 19:56:33 2014 192.168.1.41:60042 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Wed Apr 16 19:56:33 2014 192.168.1.41:60042 TLS Error: TLS handshake failed
Wed Apr 16 19:56:33 2014 192.168.1.41:60042 SIGUSR1[soft,tls-error] received, client-instance restarting
Wed Apr 16 19:56:35 2014 192.168.1.41:60086 TLS: Initial packet from [AF_INET]192.168.1.41:60086, sid=323fb97d 52cd0318
Wed Apr 16 19:57:35 2014 192.168.1.41:60086 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Wed Apr 16 19:57:35 2014 192.168.1.41:60086 TLS Error: TLS handshake failed
Wed Apr 16 19:57:35 2014 192.168.1.41:60086 SIGUSR1[soft,tls-error] received, client-instance restarting
Wed Apr 16 19:57:38 2014 192.168.1.41:65301 TLS: Initial packet from [AF_INET]192.168.1.41:65301, sid=41682309 07911c65
[/more]