Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've been trying to figure out a complete working solution for IPSec VPN implementation on FreeBSD but with no luck till now. pfSense seems did a fantastic job on supporting IPSec and even for mobile clients, so I downloaded and installed pfSense hoping to figure out how it works, or at least see some configuration examples, but I couldn't find anything interesting maybe because I'm not familiar with pfSense, so I'd like to ask for help.

  1. How pfSense implements IPSec, what tools are used?
  2. Where does pfSense store all its configuration files?

And since pfSense has its own kernel mods and acts as a different OS, there's no way for us to install it on top of an existing FreeBSD box, and plus that it is such a great project combining those fantastic features, so my question can kinda be extended as:

How do we learn from pfSense, and implement its features on top of a regular FreeBSD server?

share|improve this question

3 Answers 3

If you want to learn how to implement IPSEC VPNs on FreeBSD I suggest you peruse the FreeBSD Handbook, or hit Google and work your way through one of the many tutorials.

If you want to learn what pfSense is doing, configure the VPN using the pfSense GUI, then look at the resulting configuration files from the command line.

share|improve this answer

When you will install PfSense for the first time, then you will forget to do ANYTHING manually or by going into conf files. As pretty much everything related to VPN settings can be done through its GUI and its the BEST VPN server i have ever seen (atleast for my requirement, of small to medium sized company, providing 255+ vpn connections and the most easiest configuration)

share|improve this answer

Check the /var/etc/racoon.conf that's generated. There are also various SPD-related commands outside of that, you'll have to check the source in /etc/inc/vpn.inc and ipsec.inc. Or just read up on setkey.conf in FreeBSD.

share|improve this answer

Your Answer

 
discard

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.