
After moving to 2.6 or 2.7 the log fills with warnings, or nothing connects. The new version no longer accepts some old things.
A warning does not mean it is unsafe today; it says support will end. ERROR, or no connection, needs action now. First see which you have.
The old things
| Option | Problem | Use instead |
|---|---|---|
cipher BF-CBC | Blocks too small for long transfers | data-ciphers AES-256-GCM |
cipher AES-256-CBC alone | New versions ignore it | Add data-ciphers |
comp-lzo, compress | Compression leaks contents | Delete on both sides |
ns-cert-type server | Removed | remote-cert-tls server |
secret static.key | No forward secrecy | Certificates |
tls-auth | Still works | tls-crypt for new setups |
dh dh1024.pem | Too short | dh none |

How to write it now
data-ciphers AES-256-GCM:CHACHA20-POLY1305:AES-128-GCMThe two sides choose one they share. If one is very old and knows only CBC, add it at the end for now:
data-ciphers AES-256-GCM:AES-128-GCM:AES-256-CBC
data-ciphers-fallback AES-256-CBCRemoving compression
If the server pushes compression and the client lacks it, you get Bad compression stub. Remove comp-lzo and push "comp-lzo ..." from the server first, then from clients.
- Upgrade the serverLeave the configuration alone
- Add data-ciphersKeep the old one as fallback
- Change clients one by oneCheck each
- Remove the fallbackLast

What the lines mean
| Log | Level | Do |
|---|---|---|
--cipher set ... but missing in --data-ciphers | Warning | Add data-ciphers |
failed to negotiate cipher with server | Error | Nothing in common |
Unsupported cipher in --data-ciphers: BF-CBC | Error | Remove BF-CBC |
Compression for receiving enabled | Warning | Remove compression |
Bad compression stub decompression header | Error | One side compresses |
ns-cert-type ignored or removed | Either | remote-cert-tls |
INSECURE cipher (BF-CBC) | Warning | Replace soon |
What changed when
| Version | Change |
|---|---|
| 2.4 | Negotiation, AES-256-GCM by default |
| 2.5 | data-ciphers; BF-CBC no longer default |
| 2.6 | A lone cipher is hardly read; compression refused |
| 2.7 | Static keys off by default; DCO normal |
Jumping a server from 2.4 to 2.6 loses old clients in batches, and the other way round.
One setting for a transition
data-ciphers AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305:AES-256-CBC
data-ciphers-fallback AES-256-CBCdata-ciphers AES-256-GCM:AES-128-GCM:CHACHA20-POLY13052.4 does not know data-ciphers; put ignore-unknown-option data-ciphers on the line before.
What was agreed
Data Channel: cipher 'AES-256-GCM'The server shows it for every client. List those still on CBC, update them, then remove the fallback.
Removing compression without a break
- Server firstcompress stub-v2, and push the same
- ClientsNew profiles without compression
- Server lastRemove every compression option
stub-v2 keeps the format without compressing, so both kinds connect.
Old routers
Firmware that stopped may hold OpenVPN 2.3, which cannot negotiate. Give it its own port with the loosest settings and only its certificate, rather than weakening the whole server. Better new firmware, or a small PC behind it.
The router's firmware is too old?
Live with the fallback and replace the firmware when you can. Otherwise give it a service of its own.
What if I ignore the warnings?
It works today and may stop with the next major version.
Does the auth line matter?
With GCM only for the control channel; the same on both sides, or left out.
Is AES-128 much weaker than AES-256?
Both are enough in practice; 128 is a little faster.
Can warnings be hidden?
With a lower verb, but the reason remains.



