Não é possível fazer logon no vpn [closed]

14

Meu arquivo de log do cliente openvpn -

A parte interessante:

Tue Oct 26 12:32:49 2010 TLS Error: cannot locate HMAC in incoming packet from 67.228.223.12:3389
Tue Oct 26 12:32:49 2010 Fatal TLS error (check_tls_errors_co), restarting
Tue Oct 26 12:32:49 2010 TCP/UDP: Closing socket

O resto do log apenas no caso:

Tue Oct 26 12:32:35 2010 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct  1 2006
Tue Oct 26 12:32:48 2010 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA.  OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Tue Oct 26 12:32:48 2010 Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
Tue Oct 26 12:32:48 2010 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Oct 26 12:32:48 2010 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Oct 26 12:32:48 2010 LZO compression initialized
Tue Oct 26 12:32:48 2010 Control Channel MTU parms [ L:1544 D:168 EF:68 EB:0 ET:0 EL:0 ]
Tue Oct 26 12:32:48 2010 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 26 12:32:48 2010 Local Options hash (VER=V4): 'ee93268d'
Tue Oct 26 12:32:48 2010 Expected Remote Options hash (VER=V4): 'bd577cd1'
Tue Oct 26 12:32:48 2010 Attempting to establish TCP connection with 67.228.223.12:3389
Tue Oct 26 12:32:48 2010 TCP connection established with 67.228.223.12:3389
Tue Oct 26 12:32:48 2010 TCPv4_CLIENT link local: [undef]
Tue Oct 26 12:32:48 2010 TCPv4_CLIENT link remote: 67.228.223.12:3389
Tue Oct 26 12:32:49 2010 TLS: Initial packet from 67.228.223.12:3389, sid=bd5f79fe 8475497f
Tue Oct 26 12:32:49 2010 TLS Error: cannot locate HMAC in incoming packet from 67.228.223.12:3389
Tue Oct 26 12:32:49 2010 Fatal TLS error (check_tls_errors_co), restarting
Tue Oct 26 12:32:49 2010 TCP/UDP: Closing socket
Tue Oct 26 12:32:49 2010 SIGUSR1[soft,tls-error] received, process restarting
Tue Oct 26 12:32:49 2010 Restart pause, 5 second(s)
Tue Oct 26 12:32:54 2010 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA.  OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Tue Oct 26 12:32:54 2010 Re-using SSL/TLS context
Tue Oct 26 12:32:54 2010 LZO compression initialized
Tue Oct 26 12:32:54 2010 Control Channel MTU parms [ L:1544 D:168 EF:68 EB:0 ET:0 EL:0 ]
Tue Oct 26 12:32:54 2010 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 26 12:32:54 2010 Local Options hash (VER=V4): 'ee93268d'
Tue Oct 26 12:32:54 2010 Expected Remote Options hash (VER=V4): 'bd577cd1'
Tue Oct 26 12:32:54 2010 Attempting to establish TCP connection with 67.228.223.12:3389
Tue Oct 26 12:32:54 2010 TCP connection established with 67.228.223.12:3389
Tue Oct 26 12:32:54 2010 TCPv4_CLIENT link local: [undef]
Tue Oct 26 12:32:54 2010 TCPv4_CLIENT link remote: 67.228.223.12:3389
Tue Oct 26 12:32:54 2010 TLS: Initial packet from 67.228.223.12:3389, sid=1643b931 ce240d5f
Tue Oct 26 12:32:54 2010 TLS Error: cannot locate HMAC in incoming packet from 67.228.223.12:3389
Tue Oct 26 12:32:54 2010 Fatal TLS error (check_tls_errors_co), restarting
Tue Oct 26 12:32:54 2010 TCP/UDP: Closing socket
Tue Oct 26 12:32:54 2010 SIGUSR1[soft,tls-error] received, process restarting
Tue Oct 26 12:32:54 2010 Restart pause, 5 second(s)
Tue Oct 26 12:32:59 2010 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA.  OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Tue Oct 26 12:32:59 2010 Re-using SSL/TLS context
Tue Oct 26 12:32:59 2010 LZO compression initialized
Tue Oct 26 12:32:59 2010 Control Channel MTU parms [ L:1544 D:168 EF:68 EB:0 ET:0 EL:0 ]
Tue Oct 26 12:32:59 2010 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 26 12:32:59 2010 Local Options hash (VER=V4): 'ee93268d'
Tue Oct 26 12:32:59 2010 Expected Remote Options hash (VER=V4): 'bd577cd1'
Tue Oct 26 12:32:59 2010 Attempting to establish TCP connection with 67.228.223.12:3389
Tue Oct 26 12:33:00 2010 TCP connection established with 67.228.223.12:3389
Tue Oct 26 12:33:00 2010 TCPv4_CLIENT link local: [undef]
Tue Oct 26 12:33:00 2010 TCPv4_CLIENT link remote: 67.228.223.12:3389
Tue Oct 26 12:33:00 2010 TLS: Initial packet from 67.228.223.12:3389, sid=cd439fb2 d625ca0d
Tue Oct 26 12:33:00 2010 TLS Error: cannot locate HMAC in incoming packet from 67.228.223.12:3389
Tue Oct 26 12:33:00 2010 Fatal TLS error (check_tls_errors_co), restarting
Tue Oct 26 12:33:00 2010 TCP/UDP: Closing socket
Tue Oct 26 12:33:00 2010 SIGUSR1[soft,tls-error] received, process restarting
Tue Oct 26 12:33:00 2010 Restart pause, 5 second(s)
Tue Oct 26 12:33:05 2010 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA.  OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Tue Oct 26 12:33:05 2010 Re-using SSL/TLS context
Tue Oct 26 12:33:05 2010 LZO compression initialized
Tue Oct 26 12:33:05 2010 Control Channel MTU parms [ L:1544 D:168 EF:68 EB:0 ET:0 EL:0 ]
Tue Oct 26 12:33:05 2010 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 26 12:33:05 2010 Local Options hash (VER=V4): 'ee93268d'
Tue Oct 26 12:33:05 2010 Expected Remote Options hash (VER=V4): 'bd577cd1'
Tue Oct 26 12:33:05 2010 Attempting to establish TCP connection with 67.228.223.12:3389
Tue Oct 26 12:33:06 2010 TCP connection established with 67.228.223.12:3389
Tue Oct 26 12:33:06 2010 TCPv4_CLIENT link local: [undef]
Tue Oct 26 12:33:06 2010 TCPv4_CLIENT link remote: 67.228.223.12:3389
Tue Oct 26 12:33:06 2010 TLS: Initial packet from 67.228.223.12:3389, sid=28f0cb87 69c90cde
Tue Oct 26 12:33:06 2010 TLS Error: cannot locate HMAC in incoming packet from 67.228.223.12:3389
Tue Oct 26 12:33:06 2010 Fatal TLS error (check_tls_errors_co), restarting
Tue Oct 26 12:33:06 2010 TCP/UDP: Closing socket
Tue Oct 26 12:33:06 2010 SIGUSR1[soft,tls-error] received, process restarting
Tue Oct 26 12:33:06 2010 Restart pause, 5 second(s)
Tue Oct 26 12:33:11 2010 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA.  OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Tue Oct 26 12:33:11 2010 Re-using SSL/TLS context
Tue Oct 26 12:33:11 2010 LZO compression initialized
Tue Oct 26 12:33:11 2010 Control Channel MTU parms [ L:1544 D:168 EF:68 EB:0 ET:0 EL:0 ]
Tue Oct 26 12:33:11 2010 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 26 12:33:11 2010 Local Options hash (VER=V4): 'ee93268d'
Tue Oct 26 12:33:11 2010 Expected Remote Options hash (VER=V4): 'bd577cd1'
Tue Oct 26 12:33:11 2010 Attempting to establish TCP connection with 67.228.223.12:3389
Tue Oct 26 12:33:11 2010 TCP connection established with 67.228.223.12:3389
Tue Oct 26 12:33:11 2010 TCPv4_CLIENT link local: [undef]
Tue Oct 26 12:33:11 2010 TCPv4_CLIENT link remote: 67.228.223.12:3389
Tue Oct 26 12:33:12 2010 TLS: Initial packet from 67.228.223.12:3389, sid=128becf9 f62adf0c
Tue Oct 26 12:33:12 2010 TLS Error: cannot locate HMAC in incoming packet from 67.228.223.12:3389
Tue Oct 26 12:33:12 2010 Fatal TLS error (check_tls_errors_co), restarting
Tue Oct 26 12:33:12 2010 TCP/UDP: Closing socket
Tue Oct 26 12:33:12 2010 SIGUSR1[soft,tls-error] received, process restarting
Tue Oct 26 12:33:12 2010 Restart pause, 5 second(s)
Tue Oct 26 12:33:17 2010 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA.  OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Tue Oct 26 12:33:17 2010 Re-using SSL/TLS context
Tue Oct 26 12:33:17 2010 LZO compression initialized
Tue Oct 26 12:33:17 2010 Control Channel MTU parms [ L:1544 D:168 EF:68 EB:0 ET:0 EL:0 ]
Tue Oct 26 12:33:17 2010 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 26 12:33:17 2010 Local Options hash (VER=V4): 'ee93268d'
Tue Oct 26 12:33:17 2010 Expected Remote Options hash (VER=V4): 'bd577cd1'
Tue Oct 26 12:33:17 2010 Attempting to establish TCP connection with 67.228.223.12:3389
Tue Oct 26 12:33:20 2010 TCP/UDP: Closing socket
Tue Oct 26 12:33:20 2010 SIGTERM[hard,init_instance] received, process exiting

Pessoal, lamento muito não ter apresentado meu erro. Registre-se corretamente, por favor, perdoe-me e me dê seu valioso conselho. Estou usando o windows 7 e estou usando openvpn principalmente para contornar a censura nos Emirados Árabes Unidos. Eu estou usando apenas o arquivo de configuração do cliente. Arquivo ca.crt está na pasta config Obrigado e respeita Nitin

Meu erro Registra com o arquivo Config1

Tue Oct 26 21:24:34 2010 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct 1 2006
Tue Oct 26 21:24:46 2010 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Tue Oct 26 21:24:46 2010 Control Channel Authentication: using 'ta.key' as a OpenVPN static key file Tue Oct 26 21:24:46 2010 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Oct 26 21:24:46 2010 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Oct 26 21:24:46 2010 LZO compression initialized
Tue Oct 26 21:24:46 2010 Control Channel MTU parms [ L:1544 D:168 EF:68 EB:0 ET:0 EL:0 ]
Tue Oct 26 21:24:46 2010 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 26 21:24:46 2010 Local Options hash (VER=V4): 'ee93268d'
Tue Oct 26 21:24:46 2010 Expected Remote Options hash (VER=V4): 'bd577cd1'
Tue Oct 26 21:24:46 2010 Attempting to establish TCP connection with 67.228.223.12:3389
Tue Oct 26 21:24:47 2010 TCP connection established with 67.228.223.12:3389
Tue Oct 26 21:24:47 2010 TCPv4_CLIENT link local: [undef]
Tue Oct 26 21:24:47 2010 TCPv4_CLIENT link remote: 67.228.223.12:3389
Tue Oct 26 21:24:47 2010 TLS: Initial packet from 67.228.223.12:3389, sid=4244e662 e5a0572a
Tue Oct 26 21:24:47 2010 TLS Error: cannot locate HMAC in incoming packet from 67.228.223.12:3389
Tue Oct 26 21:24:47 2010 Fatal TLS error (check_tls_errors_co), restarting
Tue Oct 26 21:24:47 2010 TCP/UDP: Closing socket
Tue Oct 26 21:24:47 2010 SIGUSR1[soft,tls-error] received, process restarting

arquivo de configuração do cliente:

client
dev tun
proto tcp
remote openvpn1.flashvpn.com 3389
float
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
ns-cert-type server
tls-auth ta.key 1
comp-lzo
verb 3
mute 20
auth-user-pass
route-method exe
route-delay 2
    
por Ency 26.10.2010 / 10:47

3 respostas

15

Acho que o erro importante é TLS Error: cannot locate HMAC in incoming packet .

Para citar o comentário do exemplo client.conf , If a tls-auth key is used on the server then every client must also have the key .

Eu configurei o meu assim:

tls-auth /etc/openvpn/keys/ta.key 1
    
por 08.06.2012 / 13:04
10

Meu problema estava aqui, não correspondia ao servidor e cliente "auth SHA":

cliente

...more
tls-client
tls-auth /storage/emulated/0/OpenVPNkey/ta.key 1
cipher AES-256-CBC
auth SHA1 

servidor

...more
auth SHA512
    
por 20.11.2014 / 22:53
3

Você precisa desativar sua chave secreta, tente comentar esta linha:

#tls-auth ta.key 1 # This file is secret
    
por 27.11.2010 / 10:07

Tags