i tried this link and it work :
Below is the proper way to restore back OpenVPN to the previous version (2.5.7):
# remove openvpn and networkmanager-openvpn
sudo pacman -R openvpn networkmanager-openvpn
# install openssl-1.1. This won't override openssl-3.0
sudo pacman -S openssl-1.1
# download and install openvpn-2.5.7
cd ~/Downloads
wget https://archive.archlinux.org/packages/o/openvpn/openvpn-2.5.7-1-x86_64.pkg.tar.zst
sudo pacman -U ./openvpn-2.5.7-1-x86_64.pkg.tar.zst
# install networkmanager-openvpn
sudo pacman -S networkmanager-openvpn
To mask openvpn
package from upgrading:
sudo nano /etc/pacman.conf
Uncomment IgnorePkg
and add openvpn
:
IgnorePkg = openvpn
Save the change.