# IKEv2/IPSEC via Libreswan - [VPN server for remote clients using IKEv2](https://hackmd.io/8BStd7egQhmoTDkundMBZw) -- libreswan.org - [VPN server for remote clients using IKEv2 split VPN](https://libreswan.org/wiki/VPN_server_for_remote_clients_using_IKEv2_split_VPN) -- libreswan.org - [Configuring a VPN with IPsec Red Hat Enterprise Linux 8](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/securing_networks/configuring-a-vpn-with-ipsec_securing-networks) -- access.redhat.com ## Installation If you are **re-installing** `libreswan`, remove its old database files: ```bash systemctl stop ipsec rm /etc/ipsec.d/*db ``` Install the `libreswan` package, and enable it: ```bash dnf install libreswan systemctl enable ipsec --now firewall-cmd --add-service="ipsec" firewall-cmd --runtime-to-permanent ```