A good tip in itself, but you can also look at the source and feel good or bad about it. I didn’t expect so many downvotes
https://github.com/hwdsl2/setup-ipsec-vpn
I use this one-liner to set up an IPsec VPN server:
wget https://get.vpnsetup.net -O vpn.sh && sudo sh vpn.sh
A good tip in itself, but you can also look at the source and feel good or bad about it. I didn’t expect so many downvotes
https://github.com/hwdsl2/setup-ipsec-vpn