Hello.
Same problem with connecting mikrotik to openvpn server.
Openvpn server on Debian 12 system.
version soft:config openvpn server connects fine with from Linux/windows.
But when from Mikrotik (version 7.15.3) connects, the connection does not occur.
log from openvpn serverPlease tell me how to fix this situation?
Same problem with connecting mikrotik to openvpn server.
Openvpn server on Debian 12 system.
version soft:
Code:
OpenVPN 2.6.3 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO]library versions: OpenSSL 3.0.13 30 Jan 2024, LZO 2.10
Code:
/etc/openvpn/server.conflocal 10.129.0.3port 1194proto udpdev tunca /etc/openvpn/easy-rsa/pki/ca.crtcert /etc/openvpn/easy-rsa/pki/issued/ypnprod.crtkey /etc/openvpn/easy-rsa/pki/private/ypnprod.key#dh /etc/openvpn/easy-rsa/pki/dh.pemdh nonetls-auth /etc/openvpn/easy-rsa/pki/ta.key 0crl-verify /etc/openvpn/client/crl.pemcomp-lzo noallow-compression nopersist-keypersist-tunserver 10.8.20.0 255.255.255.0push "dhcp-option DNS 8.8.8.8"push "dhcp-option DNS 8.8.4.4"push "route 8.8.8.8 255.255.255.255 vpn_gateway"push "route 8.8.4.4 255.255.255.255 vpn_gateway"#push "route 10.129.0.3 255.255.255.255 vpn_gateway"push "route 10.128.0.0 255.255.255.0 vpn_gateway"client-to-clientcipher AES-256-GCM#cipher AES-256-CBCauth SHA256#auth nullkeepalive 30 900user nobodygroup nogroupstatus /var/log/openvpn/status.loglog /var/log/openvpn/openvpn.logverb 3explicit-exit-notify 1
But when from Mikrotik (version 7.15.3) connects, the connection does not occur.
log from openvpn server
Code:
2024-09-07 06:57:07 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]1.3.7.24:493252024-09-07 06:57:07 Authenticate/Decrypt packet error: packet HMAC authentication failed2024-09-07 06:57:07 TLS Error: incoming packet authentication failed from [AF_INET]1.3.7.24:493252024-09-07 06:57:08 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]1.3.7.24:493252024-09-07 06:57:08 Authenticate/Decrypt packet error: packet HMAC authentication failed
Statistics: Posted by bars — Sat Sep 07, 2024 7:28 am