Openvpn não conecta ao Client windows

1. Openvpn não conecta ao Client windows

Sergio Danielius
sdanielius

(usa CentOS)

Enviado em 14/01/2021 - 11:40h

Fiz um server Openvpn no Centos 8 o servidor está up, porem o Client não conecta .
Capturando os pacotes no Linux do Server, na ETH1 que é minha placa de conexão, vejo pacotes chegndo do Cliente porem não vejo pacotes sendo encaminhados para o Client.
alguem pode me ajudar?
segue log do clienet.
no server não vejo logs de conexão
2021-01-13 18:41:48 --cipher is not set. Previous OpenVPN version defaulted to BF-CBC as fallback when cipher negotiation failed in this case. If you need this fallback please add '--data-ciphers-fallback BF-CBC' to your configuration and/or add BF-CBC to --data-ciphers.
2021-01-13 18:41:48 OpenVPN 2.5.0 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Oct 28 2020
2021-01-13 18:41:48 Windows version 10.0 (Windows 10 or greater) 64bit
2021-01-13 18:41:48 library versions: OpenSSL 1.1.1h 22 Sep 2020, LZO 2.10
Enter Management Password:
2021-01-13 18:41:48 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
2021-01-13 18:41:48 Need hold release from management interface, waiting...
2021-01-13 18:41:49 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
2021-01-13 18:41:49 MANAGEMENT: CMD 'state on'
2021-01-13 18:41:49 MANAGEMENT: CMD 'log all on'
2021-01-13 18:41:49 MANAGEMENT: CMD 'echo all on'
2021-01-13 18:41:49 MANAGEMENT: CMD 'bytecount 5'
2021-01-13 18:41:49 MANAGEMENT: CMD 'hold off'
2021-01-13 18:41:49 MANAGEMENT: CMD 'hold release'
2021-01-13 18:41:49 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2021-01-13 18:41:49 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2021-01-13 18:41:49 TCP/UDP: Preserving recently used remote address: [AF_INET]189.39.208.35:1194
2021-01-13 18:41:49 Socket Buffers: R=[65536->65536] S=[65536->65536]
2021-01-13 18:41:49 UDP link local: (not bound)
2021-01-13 18:41:49 UDP link remote: [AF_INET]189.39.208.35:1194
2021-01-13 18:41:49 MANAGEMENT: >STATE:1610574109,WAIT,,,,,,
2021-01-13 18:42:49 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
2021-01-13 18:42:49 TLS Error: TLS handshake failed
2021-01-13 18:42:49 SIGUSR1[soft,tls-error] received, process restarting
2021-01-13 18:42:49 MANAGEMENT: >STATE:1610574169,RECONNECTING,tls-error,,,,,
2021-01-13 18:42:49 Restart pause, 5 second(s)


  


2. Re: Openvpn não conecta ao Client windows

leandro peçanha scardua
leandropscardua

(usa Ubuntu)

Enviado em 14/01/2021 - 21:57h

Olhe os logs (/var/log/syslog)


3. Re: Openvpn não conecta ao Client windows

Sergio Danielius
sdanielius

(usa CentOS)

Enviado em 15/01/2021 - 08:47h

Eu estava com as portas 1194 bloqueadas no Server, abri com o iptables e funcionou