pfSense: IPsec VPN
Written by Andrew Jensen Friday, 05 February 2010 17:56
From previous blogs it should be apparent that we really like the pfSense firewall platform. For one it is free (a great starting point but not the final word), but the features and capabilities are just fantastic. On this occasion we are impressed by the IPsec VPN capabilities of pfSense for interoffice networking.
Before we get started you should also be aware that pfSense has the powerful OpenVPN software bundled in addition to the IPsec and PPTP VPN capabilities. We have always used the OpenVPN option for so called “Road Warrior” (mobile user) configurations.
In this instance our customer requirement is to establish secure connections, utilising the Internet for data transfer, between 2 offices based in Auckland. It is possible that in future an office from Australia will be brought in (no worries at all mate). In addition to the interoffice links there is a tunnel into Xuridisa for key hosted services such as DNS and mail in this case.
We had considered using the OpenVPN portion of pfSense to service the interoffice links also. But, frankly it was just looking a little too complex for what we wanted to do quickly. Enter the standard IPsec VPN functionality of the product. Using this functionality is was exceedingly simple to define the tunnels (using shared keys) and have the links up and running in literally a matter of minutes.
One unexpected benefit of the IPsec VPN solution over having used OpenVPN is the ability to create firewall rules (ACLs) on the IPsec tunnels. While the links between the customer’s offices are completely unrestricted (that’s an easy rule on both sides) the ability to define rules (exactly the same as for other interfaces) allows Xuridisa to perform the border management and security on the firewall (where it belongs). If this functionality had not been present it would have been necessary to move the additional security requirement onto Linux kernels iptables of each hosted server (clearly less desirable).
The tunnels are created to use Blowfish encryption and SHA1 hashing. After having run for a week there is no measurable effect on the CPU (or other resources) of the pfSense servers. Granted there is not a heck of a lot of traffic going down these pipes (constrained by ADSL speeds) but still, we were expecting to see at least some increase.
So basically our favourite firewall platform shines again when we ask for something new. Again, what a fantastic firewall platform pfSense is!


