Description
IKEv2-setup is a Bash script that takes a clean Ubuntu Server install, from LTS versions 18.04 to 24.04, to a fully configured IKEv2 VPN server using strongSwan. The VPN server identifies itself with a Let's Encrypt certificate, so clients need no private certificates and can sign in with a username and a strong password using EAP-MSCHAPv2. The preferred cipher set is the CNSA suite, and a second cipher set is accepted because of an apparent bug in recent versions of macOS. The server is firewalled with iptables, which includes basic rate limiting, and it is set up for unattended security upgrades. The Let's Encrypt certificate is set to renew automatically. The README says the VPN was tested with the built-in clients on macOS 10.12 to 14 and iOS 10 to 17, where the script generates a profile for iOS and a script for Mac. It also says Windows 10 Pro and 11 Pro work with the built-in client, with generated PowerShell commands, and that Ubuntu works through strongSwan with a generated Bash script. The author says comments and pull requests are welcome.…
Highlights
- Bash script from clean Ubuntu Server to IKEv2 VPN
- strongSwan with a Let's Encrypt certificate
- Username and password sign-in with EAP-MSCHAPv2
- iptables firewall with basic rate limiting
- Unattended security upgrades and certificate renewal
- Client setup for macOS, iOS, Windows and Ubuntu
Ratings & Reviews
No ratings yet
Be the first to rate IKEv2-setup.
People also visit
Openvpn Install
OpenVPN server installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS
Wireguard Install
WireGuard VPN server installer for Ubuntu, Debian, AlmaLinux, Rocky Linux
Openvpn Install
OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux
Wireguard Install
WireGuard road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux
IKEv2-setup FAQ
What does IKEv2-setup do?
It turns a fresh Ubuntu Server LTS install into an IKEv2 VPN server using strongSwan, with a script.
Which Ubuntu versions are supported?
LTS versions 18.04 through 24.04, according to the README.
What do clients need to connect?
A username and a strong password. The server uses a Let's Encrypt certificate, so clients need no private certificates.
Which devices has it been tested with?
macOS 10.12 to 14, iOS 10 to 17, Windows 10 Pro and 11 Pro, and Ubuntu, according to the README.
What are the best IKEv2-setup alternatives?
Popular alternatives to IKEv2-setup include Setup Ipsec VPN, Openvpn Install and Wireguard Install. See all IKEv2-setup alternatives

