31
BSD Firewalling with pfSense and a bit on entrepreneurship and open source NYCBSDCon 2010 Chris Buechler - [email protected]

BSD Firewalling with pfSense - NYCBSDCon 2010

  • Upload
    others

  • View
    10

  • Download
    0

Embed Size (px)

Citation preview

Page 1: BSD Firewalling with pfSense - NYCBSDCon 2010

BSD Firewalling with pfSense

and a bit on entrepreneurship and open source

NYCBSDCon 2010

Chris Buechler - [email protected]

Page 2: BSD Firewalling with pfSense - NYCBSDCon 2010

FreeBSD-based firewall distribution tailored for use as a firewall and router. Entirely managed via web interfaceConfiguration stored in single XML fileFounded in 2004 as fork of m0n0wall

Initially full PC focusedExpandability a focus“Making sense of PF” for the average point-and-click user

for lack of a better nameCurrently 20 active developers (committed in past year)

53 have contributed since the project’s inception

pfSense Overview

Page 3: BSD Firewalling with pfSense - NYCBSDCon 2010

pfSense Overview

Many base features and can be extended with the package system including one click installations ofpopular third party applications (Squid, Squidguard,Snort, many more) Includes most or all features found in commercial products such as Cisco ASA, Sonicwall, Watchguard, etc.Many support avenues available; mailing lists, forum and commercial support.Free in every sense - our code base all BSD licensed, most included underlying services BSD as well

Page 4: BSD Firewalling with pfSense - NYCBSDCon 2010

Project statisticsmillions of downloads served since inceptioncurrent rate of over 30,000 downloads a monthover 30,000 forum members~1200 mailing list users 53 developers since inception24 active developers (committed in the last year)

"This is one of the largest open-source teams in the world, and is in the top 2% of all project teams on Ohloh."

Millions of page views per month across all sitesAverage month sees visitors from 200 different countries

as reported by Google Analytics

Page 5: BSD Firewalling with pfSense - NYCBSDCon 2010

Primary usage scenariosHosting/colocation environmentsISPs / WISPsHot spot providers Virtual firewallsPublic sectorService providers UniversitiesNon-profits Every type of business imaginable, small to large

Largely except huge companiesHome users

Page 6: BSD Firewalling with pfSense - NYCBSDCon 2010

Why FreeBSD?Primary reasons in 2004

Wireless supportNetwork performanceFamiliarity and ease of forkInadequate resources for multiple OS support

Current reasonsRelationship with FreeBSD projectAttracted considerable FreeBSD talentPerformance now and into the future

DownsideOlder versions of OpenBSD-native software

Page 7: BSD Firewalling with pfSense - NYCBSDCon 2010

Why use pfSense?

Hides complexityEase of managementEase of training non-BSD administratorsProven, customized OS base focused and tailored as a firewall and router

Page 8: BSD Firewalling with pfSense - NYCBSDCon 2010

Why not use pfSense?

All administrators already familiar with underlying softwareLearning experience

Time to burn

Page 9: BSD Firewalling with pfSense - NYCBSDCon 2010

pfSense Platforms

Live CD Full InstallEmbedded

Page 10: BSD Firewalling with pfSense - NYCBSDCon 2010

Versions

1.2.3 stable – FreeBSD 7.2 base2.0 beta, soon RC1 - FreeBSD 8.1 base

Page 11: BSD Firewalling with pfSense - NYCBSDCon 2010

Project’s Workings 2004-2008Founded by Scott Ullrich and Chris BuechlerOthers came along early on People come and goProject grows considerably, gains large deployed baseTypical open source operation

Filling own needsDemand for services grows

SupportPaid development

Page 12: BSD Firewalling with pfSense - NYCBSDCon 2010

Start of commercial sideFounded BSD Perimeter LLC in late 2006

Holder of copyright on project and trademark on pfSense

Started offering commercial support in 2007Per-install basis

Not really suitable for open source Problematic for firewalls

Problem? Has to be the firewall! Have to limit scope Wrong incentives for us

Page 13: BSD Firewalling with pfSense - NYCBSDCon 2010

Start of commercial sideTransition to hourly support in 2008

portal.pfsense.org Improved marketing on services offeredthings take off

Page 14: BSD Firewalling with pfSense - NYCBSDCon 2010

Commercial side todayFour full time employeesSeveral additional contractors Hundreds of support customers

In 30 countries, on 6 continents Dozens of reseller subscribers

Hardware resellersRebranded resellers

Several dozen rebranded commercial offeringsSome entirely stockSome with proprietary add ons

Industrial protocol filtering for SCADA protection

Funds conference attendance

Page 15: BSD Firewalling with pfSense - NYCBSDCon 2010

Project’s Workings 2008-Present

Bulk of work on project done by those we employWhat gets done is what people pay us to do

aside from general maintenance Still many outside contributors

Page 16: BSD Firewalling with pfSense - NYCBSDCon 2010

2.0 New Features (base)

New traffic shaper HFSC, CBQ, FairQ, PriQ

Limiters - dummynet in pf(4) Layer 7 QoSUser ManagerOpenVPN ImprovementsPHP 5Certificate ManagerRouting / Gateways improvementsDashboardLoad balancer changesWeb based PFTOP, TOPIGMP proxy

Page 17: BSD Firewalling with pfSense - NYCBSDCon 2010

2.0 New Features (continued)Complete new interface systemMultiple Dynamic DNS supportDHCP Server improvements

Definition of custom options GRE NAT Improvements

Page 18: BSD Firewalling with pfSense - NYCBSDCon 2010

User Manager

Full user manager with user and groups supportCan allow an account to specific areasConsolidating all accounts in various areas (VPN users, etc)LDAP authentication supportPer user certificate support

Page 19: BSD Firewalling with pfSense - NYCBSDCon 2010

IPsecMajor overhaul by Matthew Grooms, ipsec-tools committer and author of Shrew Soft IPsec client - http://shrew.netNAT-T supportMultiple Phase 2 per Phase 1Transport mode support added

Page 20: BSD Firewalling with pfSense - NYCBSDCon 2010

IPsecXauth - user and group authentication

pfSense local user database LDAP

Microsoft Active DirectoryNovell eDirectoryand others...

RADIUSMicrosoft Active Directorymany others

mode-cfg support (IP, DNS, etc. assignment) Now a drop-in replacement for Cisco VPN concentrators, PIX/ASA firewalls, and routers

Page 21: BSD Firewalling with pfSense - NYCBSDCon 2010

OpenVPN

Major overhaulIntegrated certificate managementSetup wizard Client export

Windows installer bundled with certificatesBundled zip file for BSD, Linux, OS X, etc.Viscosity export for Mac OS X

Page 22: BSD Firewalling with pfSense - NYCBSDCon 2010

New interfacesGREgifPPP (3G cellular wireless, dial up POTS modems)lagg(4) interface bonding

failoverload balanceround robinEtherchannelLACP

Page 23: BSD Firewalling with pfSense - NYCBSDCon 2010

Bridging enhancementsall of if_bridge capabilities supported18 Advanced configuration options available STP and RSTP - fully configurableSPAN port capable

Page 24: BSD Firewalling with pfSense - NYCBSDCon 2010

Certificate Manager

Certificate authority supportGenerate OpenVPN certificatesGenerate user certificatesGenerate HTTPS certificateGenerate IPsec certificatesRevocation supportImport existing certificates

Page 25: BSD Firewalling with pfSense - NYCBSDCon 2010

Routing / Gateway AdditionsNew gateway group featureFailover threshold supports RTT or packet loss triggersGroups now employ a "Tier" type system

Supports balancingSupports interface failover orderingCan fail on packet loss % or 100% down situations

Page 26: BSD Firewalling with pfSense - NYCBSDCon 2010

DashboardAllows quick access to system information

Page 27: BSD Firewalling with pfSense - NYCBSDCon 2010

Load Balancer changes (relayd)

Layer3 balancingLayer7 balancingNew monitoring features

Send/expectDNSHTTPHTTPS

Page 28: BSD Firewalling with pfSense - NYCBSDCon 2010

New interface system

All interfaces treated equally - no special status for LAN/WAN. Multi interface PPPoE support (WAN)Multi interface PPTP support (WAN)Allows just one interface to be assigned (appliance mode)QinQ VLAN supportInterface groups

Page 29: BSD Firewalling with pfSense - NYCBSDCon 2010

Post-2.0 release plans

Faster release cycles2.1 features

Full IPv6 support…?

Page 30: BSD Firewalling with pfSense - NYCBSDCon 2010

Book

Available for only $20 at the

Reed Media table here at the conference

$33 from Amazon

Page 31: BSD Firewalling with pfSense - NYCBSDCon 2010

Questions?

Comments?

Thanks for attending!

[email protected]