Authenticate/Decrypt packet error: bad packet ID + PID_ERR large diff

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
maxiedaniels
OpenVpn Newbie
Posts: 10
Joined: Tue Jun 27, 2017 3:34 pm

Authenticate/Decrypt packet error: bad packet ID + PID_ERR large diff

Post by maxiedaniels » Thu Sep 21, 2017 5:50 pm

My server logs are showing a two errors repeatedly -

Code: Select all

Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #4779594 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
PID_ERR large diff [67] [SSL-4] [00000_0_0_0_0_0_0_0__00_0_0_0_0_00__0_0_0_0_0_0_0_0_0_0_0_0_0_0_] 0:4779663 0:4779596 t=1506015117[0] r=[-2,64,15,238,1] sl=[49,64,64,528]
This may or may not be causing issues with SFTP and I'm trying to get to the bottom of it. Any ideas? (I tried using the oconf tags but its not working..)

My server.conf...
server

port 1194
proto udp
dev tun
sndbuf 393216
rcvbuf 393216
push "sndbuf 393216"
push "rcvbuf 393216"
ca ca.crt
cert server.crt
key server.key
dh dh.pem
tls-auth ta.key 0
topology subnet
server 10.8.0.0 255.255.255.0
push "route 10.8.0.0 255.255.255.0"
ifconfig-pool-persist ipp.txt
#push "redirect-gateway def1 bypass-dhcp"
#push "dhcp-option DNS 192.168.1.1"
#push "dhcp-option DNS 127.0.0.53"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
log-append openvpn.log
verb 4
crl-verify crl.pem
mssfix 1460
tun-mtu 1500
mode server
tls-server
client-to-client


My client's conf:
client

client
dev tun
proto udp
sndbuf 0
rcvbuf 0
remote SERVERADDRESSHERE 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-CBC
setenv opt block-outside-dns
key-direction 1
verb 3
tls-client
mssfix 1460
tun-mtu 1500

maxiedaniels
OpenVpn Newbie
Posts: 10
Joined: Tue Jun 27, 2017 3:34 pm

Re: Authenticate/Decrypt packet error: bad packet ID + PID_ERR large diff

Post by maxiedaniels » Mon Sep 25, 2017 4:38 pm

Does nobody know? It definitely seems to be causing major SFTP errors..

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

Re: Authenticate/Decrypt packet error: bad packet ID + PID_ERR large diff

Post by TinCanTech » Mon Sep 25, 2017 11:06 pm

Are you running openvpn on any virtual machines ? VBox or something like that ..

Post Reply