Comments on 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.

2 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Whit

libreswan also requires libldns-dev

By: Michael

 Ahmad please answer this question.

If I want to get IPsec working do I need 2 virtual machines? Or can I get it to work only on one machine?