I am checking connection via OpenVPN for different modem types and after few days of testing I encountered following issue.
While running UDP traffic only, 900Mb/s downstream combined with 50Mb/s upstream after a few seconds connection speed dramatically drops to 600Mb/s for downstream and 0-20Mb/s upstream.
Checking in the logs i've notice following messages
Code: Select all
Aug 5 09:41:30 vsrv-bicab-3u ovpn-client[3670]: AEAD Decrypt error: bad packet ID (may be a replay): [ #97654 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Aug 5 09:41:31 vsrv-bicab-3u ovpn-client[3670]: AEAD Decrypt error: bad packet ID (may be a replay): [ #163190 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Aug 5 09:41:32 vsrv-bicab-3u ovpn-client[3670]: AEAD Decrypt error: bad packet ID (may be a replay): [ #228726 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
I am generating traffic with a ByteBlower server and frame length without CRC of UDP packets is set to 1280.
Server config
local 100.80.1.252
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
topology subnet
server 10.10.100.0 255.255.255.0
ifconfig-pool-persist /var/log/openvpn/ipp.txt
push "route 192.168.219.0 255.255.255.252"
client-config-dir ccd
route 192.168.219.8 255.255.255.248
keepalive 10 120
tls-auth ta.key 0
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn/openvpn-status.log
verb 3
explicit-exit-notify 1
I tried switching to TCP protocol but the behavior is the same only that i do not have error messages in syslog.