TLS Error: incoming packet authentication failed from [AF_INET6]::ffff:noip:36123

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
monsieurN
OpenVpn Newbie
Posts: 10
Joined: Sat Oct 03, 2020 8:27 pm

TLS Error: incoming packet authentication failed from [AF_INET6]::ffff:noip:36123

Post by monsieurN » Sat Dec 12, 2020 8:32 pm

Good morning, everyone.
I come back to try to understand an error when everything looks perfectly good. I configured a vpn connection using openvpn.
So I installed openvpn server on my windows server
I installed openvpn on my windows 10 client. The connection goes perfectly well, no problem.
So I convert my windows client configuration file to android client. And there, I have this error that appears: (and unable to connect to the server from this client)

Authenticate/Decrypt packet error: packet HMAC authentication failed
TLS Error: incoming packet authentication failed from [AF_INET6]::ffff:no-ip:36123

Server config
1
port 1194
2
proto udp
3
dev tun
4
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
5
cert "C:\\Program Files\\OpenVPN\\config\\ServerVPN.crt"
6
key "C:\\Program Files\\OpenVPN\\config\\ServerVPN.key"
7
dh "C:\\Program Files\\OpenVPN\\config\\dh2048.pem"
8
server 10.8.0.0 255.255.255.0
9
ifconfig-pool-persist ipp.txt
10
keepalive 10 120
11
tls-auth ta.key 0
12
cipher AES-256-CBC
13
persist-key
14
persist-tun
15
status openvpn-status.log
16
verb 3
17
explicit-exit-notify 1



openvpn client Windows 10
1
client
2
dev tun
3
proto udp
4
remote monip1194
5
resolv-retry infinite
6
nobind
7
persist-key
8
persist-tun
9
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
10
cert "C:\\Program Files\\OpenVPN\\config\\ClientVPN.crt"
11
key "C:\\Program Files\\OpenVPN\\config\\ClientVPN.key"
12
remote-cert-tls server
13
tls-auth ta.key 1
14
cipher AES-256-CBC


openvpn cconfig client android
1
client
2
dev tun
3
proto udp
4
remote monip 1194
5
resolv-retry infinite
6
nobind
7
persist-key
8
persist-tun
9
remote-cert-tls server
10
<ca>
11
--STRIPPED INLINE CA CERT--
12
</ca>
13
<cert>
14
--STRIPPED INLINE CERT--
15
</cert>
16
<key>
17
--STRIPPED INLINE KEY--
18
</key>
19
<tls-auth>
20
--STRIPPED INLINE TLS-AUTH KEY--
21
</tls-auth>
22
cipher AES-256-CBC
23
verb 3


Does anyone have any idea?
Last edited by Pippin on Sat Dec 12, 2020 10:00 pm, edited 1 time in total.
Reason: Formatting

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: TLS Error: incoming packet authentication failed from [AF_INET6]::ffff:noip:36123

Post by TinCanTech » Sat Dec 12, 2020 8:38 pm

monsieurN wrote:
Sat Dec 12, 2020 8:32 pm
Authenticate/Decrypt packet error: packet HMAC authentication failed
TLS Error: incoming packet authentication failed from [AF_INET6]::ffff:no-ip:36123
HMAC authentication failed because the --tls-auth key is corrupt or wrong.
monsieurN wrote:
Sat Dec 12, 2020 8:32 pm
I convert my windows client configuration file to android client. And there, I have this error that appears
Maybe you have corrupted the key or file ? Like Line-endings ?

monsieurN
OpenVpn Newbie
Posts: 10
Joined: Sat Oct 03, 2020 8:27 pm

Re: TLS Error: incoming packet authentication failed from [AF_INET6]::ffff:noip:36123

Post by monsieurN » Sun Dec 13, 2020 6:57 am

Finally, I started all over again. And by creating a specific ovpn folder in android with only config files, everything works perfectly. Thank you so much for your help

Post Reply