CentOS as a VPN gateway

Anyone got a how-to link to setting up a CentOS server as a VPN (IPSec) gateway to the internet? (Strongswan or similar)

I need to make a CentOS server into a simple VPN gateway and connect to it with a router over IPSec.

I’m awesome at VPNs and Networks but not good at Linux.

Thanks

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/securing_networks/configuring-a-vpn-with-ipsec_securing-networks

I use Libreswan on most of my CentOS boxes and it is very easy to setup

Ping me if you need any help . Also what router are you using because not every implementation of IPsec is exactly the same

https://www.digitalocean.com/community/tutorials/how-to-set-up-and-configure-an-openvpn-server-on-centos-8

Strongswan isn’t part of CentOS but it is included in the popular EPEL 3rd party repository.

^ this OP. The commands are the same in Centos 8

Thanks but OPENVPN won’t do site-to-site VPNs using IPSec.

I need to use something like StrongSwan