Задать вопрос
@hrystenko

Почему клиент не подключается к серверу OpenVPN?

Настройки сервера:
port 1194
mode server
proto tcp
dev tun
ca ca.crt
cert OpenVPN.crt
key OpenVPN.key
dh dh1024.pem
client-to-client
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push route 192.168.1.0 255.255.255.0
;push redirect-gateway tun0
route 10.47.1.0 255.255.255.0
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
client-config-dir C:\\ccd\\
verb 3


Настройки клиента:
client
dev tun
proto tcp
remote 10.8.0.0 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
comp-lzo
verb 3


ошибка при подключении:
Mon Jan 11 11:51:25 2016 OpenVPN 2.3.10 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Jan 4 2016
Mon Jan 11 11:51:25 2016 Windows version 6.2 (Windows 8 or greater)
Mon Jan 11 11:51:25 2016 library versions: OpenSSL 1.0.1q 3 Dec 2015, LZO 2.09
Mon Jan 11 11:51:25 2016 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Mon Jan 11 11:51:25 2016 Need hold release from management interface, waiting...
Mon Jan 11 11:51:25 2016 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Mon Jan 11 11:51:26 2016 MANAGEMENT: CMD 'state on'
Mon Jan 11 11:51:26 2016 MANAGEMENT: CMD 'log all on'
Mon Jan 11 11:51:26 2016 MANAGEMENT: CMD 'hold off'
Mon Jan 11 11:51:26 2016 MANAGEMENT: CMD 'hold release'
Mon Jan 11 11:51:26 2016 Socket Buffers: R=[65536->65536] S=[65536->65536]
Mon Jan 11 11:51:26 2016 Attempting to establish TCP connection with [AF_INET]10.8.0.0:1194 [nonblock]
Mon Jan 11 11:51:26 2016 MANAGEMENT: >STATE:1452505886,TCP_CONNECT,,,
Mon Jan 11 11:51:36 2016 TCP: connect to [AF_INET]10.8.0.0:1194 failed, will try again in 5 seconds: The system tried to join a drive to a directory on a joined drive.
Mon Jan 11 11:51:41 2016 MANAGEMENT: >STATE:1452505901,TCP_CONNECT,,,
Mon Jan 11 11:51:51 2016 TCP: connect to [AF_INET]10.8.0.0:1194 failed, will try again in 5 seconds: The system tried to join a drive to a directory on a joined drive.
Mon Jan 11 11:51:56 2016 MANAGEMENT: >STATE:1452505916,TCP_CONNECT,,,
Mon Jan 11 11:52:07 2016 TCP: connect to [AF_INET]10.8.0.0:1194 failed, will try again in 5 seconds: The system tried to join a drive to a directory on a joined drive.
Mon Jan 11 11:52:12 2016 MANAGEMENT: >STATE:1452505932,TCP_CONNECT,,,

и так подключение идет по кругу но не подключается

Подскажите в чем может быть причина?
  • Вопрос задан
  • 17040 просмотров
Подписаться 2 Оценить 2 комментария
Решения вопроса 1
@t3mp
remote 10.8.0.0 1194

Укажите верный IP сервера.
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы