We found a hack to remove the line by editing the file /usr/local/opnsense/mvc/app/models/OPNsense/OpenVPN.php and commenting the line:
After restarting openvpn with:
It's not perfect, but it works for now.
Code Select
$options['key-direction'] = $node->role == 'server' ? '0' : '1';
.After restarting openvpn with:
Code Select
pluginctl -s openvpn restart
the ligne key-direction 0 is removed.It's not perfect, but it works for now.