opnsense / core

OPNsense GUI, API and systems backend
https://opnsense.org/
BSD 2-Clause "Simplified" License
3.27k stars 727 forks source link

openvpn: client export misses --data-ciphers #7893

Open emammadov opened 3 hours ago

emammadov commented 3 hours ago

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

We are using the latest version of OPNsense. I have setup OpenVPN instance. If I use Openvpn Connect, I see that it uses AES256-GCM. No errors.

But if use OpenVPN client v2.6.12 (Community edition), it gives the following error, but it connects successfully.

Note: --cipher is not set. OpenVPN versions before 2.5 defaulted to BF-CBC as fallback when cipher negotiation failed in this case. If you need this fallback please add '--data-ciphers-fallback BF-CBC' to your configuration and/or add BF-CBC to --data-ciphers.

In the server logs, when the client is connected, it shows that the client uses AES-256-GCM.

openvpn_server1 xxx.xxx.xxx.xxx:55396 Data Channel: cipher 'AES-256-GCM', peer-id: 0

fichtner commented 3 hours ago

Forum discussion for reference: https://forum.opnsense.org/index.php?topic=42914.0