TLS Error incoming packet authentication failed from

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
DV
OpenVpn Newbie
Posts: 2
Joined: Tue Aug 02, 2022 12:02 pm

TLS Error incoming packet authentication failed from

Post by DV » Tue Aug 02, 2022 12:07 pm

Hello,
After updating OpenVPN 2.3.x. to OpenVPN 2.4.4 I have a problem for authentication all devices

openvpnas.log

Code: Select all

2022-08-02T14:05:24+0200 [stdout#info] [OVPN 4] OUT: 'Tue Aug  2 12:05:24 2022 Authenticate/Decrypt packet error: packet HMAC authentication failed'
2022-08-02T14:05:24+0200 [stdout#info] [OVPN 4] OUT: 'Tue Aug  2 12:05:24 2022 TLS Error: incoming packet authentication failed from
server.config

Code: Select all

port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key  # This file should be kept secret
dh dh2048.pem
server 10.200.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
tls-auth ta.key 0 # This file is secret
auth SHA256
cipher AES-128-CBC   # AES
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
Collapse
Client.OPENVPN

Code: Select all

client
dev tun
proto udp
remote x.x.x.x 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert x.crt
key x.key
remote-cert-tls server
Tls-auth ta.key 0 
auth SHA256
cipher AES-128-CBC
comp-lzo
verb 3

User avatar
Pippin
Forum Team
Posts: 1201
Joined: Wed Jul 01, 2015 8:03 am
Location: irc://irc.libera.chat:6697/openvpn

Re: TLS Error incoming packet authentication failed from

Post by Pippin » Tue Aug 02, 2022 12:44 pm

If it was working before the update then probably it could be a user error.

server.config

Code: Select all

tls-auth ta.key 0
.
Client.OPENVPN

Code: Select all

Tls-auth ta.key 0
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp

DV
OpenVpn Newbie
Posts: 2
Joined: Tue Aug 02, 2022 12:02 pm

Re: TLS Error incoming packet authentication failed from

Post by DV » Tue Aug 02, 2022 1:07 pm

Same problem on this configuration:
Client

Code: Select all

client
dev tun
proto udp
remote x.x.x.x 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert x.crt
key x.key
remote-cert-tls server
tls-auth ta.key 1 
auth SHA256
cipher AES-128-CBC
comp-lzo
verb 3
Server.config

Code: Select all

port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key  # This file should be kept secret
dh dh2048.pem
server 10.200.0.0 255.255.254.0
ifconfig-pool-persist ipp.txt
client-config-dir ccd
client-to-client
keepalive 10 120
tls-auth ta.key 0 # This file is secret
auth SHA256
cipher AES-128-CBC   # AES
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 4

Post Reply