Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What's the differences between OpenSwan and StrongSwan? All I found is compartation between outdated FreeSwan and testing version of OpenSwan - i.e. current stable of OpenSwan is 2.6 (3.0 is comparation) and current stable for StrongSwan is 4.4 (4.1.7 in comparation) which seems grossly unfare (there is no point in comparing Windows 98 with Ubuntu 10.10 or Mac OS X 10.7 with Slackware 8.0).

From websites StrongSwan seems to be better maintained while OpenSwan seems to be more popular.

share|improve this question
@Sven my edit was meant to remove irrelevant and outdated stuff (the link is broken by the way) and to broaden the question to a third product (ipsec-tools mentioned in the answer below), but in the end the question stays the same and is still about the differences between the three IPSec stacks. Could you please review the edit again ? Thanks. – user186340 Jan 1 '15 at 12:47
@AndréDaniel: No, because I really can't. I also think your edit got too far, as it went way beyond fixing links and retroactively widened the scope of the question. Besides, I think this question is off-topic by todays standard. – Sven Jan 1 '15 at 14:56
up vote 13 down vote accepted

Both OpenSwan and StrongSwan are forks for continued development after FreeS/WAN project closed up shop. However, most of the Linux distributions have moved more towards IPsec-Tools since then.

You can use either one for IPsec on Linux, but unless you have a specific need for them, or you are trying to maintain configuration compatibility with older FreeS/WAN setups, you are probably better off using IPsec-Tools and Racoon (ISAKMP daemon from IPsec-Tools) for any new Linux IPSec Setups.

share|improve this answer
Red Hat 6 has moved away from IPSec-Tools and uses OpenSwan now. I still agree with this answer, though. – joechip Jul 29 '11 at 10:38
Interesting, I hadn't realized they were doing that. I'll have to look into the changes. (Thanks for the tip.) – Christopher Cashell Aug 1 '11 at 21:12
Looks like Ubuntu is moving from IPsec-Tools to StrongSwan in 14.04: – alberge Apr 17 '14 at 21:38
IPSec-tools' racoon and offspring "racoon2" do not seem to be maintained since ~2010 ( – gatopeich Jun 27 '14 at 13:40
As of RHEL7, it looks like the default IPSec system is Libreswan, a fork of OpenSwan. – Christopher Cashell Jul 25 '14 at 16:38

Libreswan is the project the Openswan developers created after the company they had originally founded to develop Openswan sued them over the trademark. So Libreswan is what we will discuss here.

The most obvious differences are:

RHEL 7 ships Libreswan, though StrongSwan is available in EPEL.

IPSec-tools was a port of the KAME IPSec userland from BSD to Linux. It appears to be no longer maintained.

share|improve this answer
They got sued by Xelerance? Ahh it pays to be a lawyer. Here's an out-take from "Openswan: Building and Integrating VPNs"(PacktPub): "...Openswan was released by Xelerance, a newly founded company for the continued development of a free IPsec implementation for Linux. Openswan's main mission was to cater more to the commercial world, while still keeping the FreeS/WAN ideals alive. This new code-fork also released the FreeS/WAN Project to stick even more strongly to its philosophies...In April 2003, the end of the FreeS/WAN Project was announced..." – ILMostro_7 Oct 24 '15 at 23:25
Oh yes. And as is typical of such lawsuits, the company got the trademark, while simultaneously killing the project they were fighting over. Openswan has had only the occasional security patch since then. – Michael Hampton Oct 25 '15 at 0:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.