---

Libreswan based Ipsec VPN using preshared and RSA keys on Ubuntu

The purpose of this tutorial is to explore LibreSwan which provides an IPsec protocol implementation. It is available in RedHat distributions, however, it can be compiled for another platform such as Ubuntu/Debian easily. In this article, the LibreSwan tool is built from source on Ubuntu, then a two peer VPN is configured using preshared & RSA keys between the gateway devices.