OpenVPN 2.6.5 in Solus 4.4 not connecting with iPVanish VPN

After looking on Reddit, online, etc., and after trying several times, without success, to set up my iPVanish VPN using the provided configuration files, I reached out to their tech support. I was asked to reply back with the OpenVpn version using the Terminal command “openvpn --version”. Below was the output in the Terminal:

OpenVPN 2.6.5 x86_64-solus-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO]

library versions: OpenSSL 1.1.1u 30 May 2023, LZO 2.10

DCO version: N/A

Originally developed by James Yonan

Copyright (C) 2002-2023 OpenVPN Inc [email protected]

Compile time defines: enable_async_push=yes enable_comp_stub=no enable_crypto_ofb_cfb=yes enable_dco=auto enable_dco_arg=auto enable_debug=yes enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_fast_install=yes enable_fragment=yes enable_iproute2=no enable_libtool_lock=yes enable_lz4=yes enable_lzo=yes enable_management=yes enable_pam_dlopen=no enable_pedantic=no enable_pkcs11=yes enable_plugin_auth_pam=yes enable_plugin_down_root=yes enable_plugins=yes enable_port_share=yes enable_selinux=no enable_shared=yes enable_shared_with_static_runtimes=no enable_small=no enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=yes enable_werror=no enable_win32_dll=yes enable_wolfssl_options_h=yes enable_x509_alt_username=no with_aix_soname=aix with_crypto_library=openssl with_gnu_ld=yes with_mem_check=no with_openssl_engine=auto with_sysroot=no

The support response was “We noticed that you have the latest version of OpenVPN installed on this device, which unfortunately does not support the ‘keysize’ parameter. Therefore, we kindly ask you to make a simple adjustment to the OVPN file using a text editor. Please remove the line “keysize 256” from the file, save the changes, and then try connecting again using the updated OVPN file. This should resolve the issue you were facing.”

After editing one of the configuration files, I was able to set up the VPN in the Advanced Network Configuration manager (or in VPN Connections>Configure VPN) using the “Import a saved VPN configuration” and choosing the edited .ovpn file.

I hope this helps.