Table of Contents

PFSense - About PFSense

pfSense includes almost all features found in expensive commercial firewalls, and more in many cases.

State Table

The firewall’s state table maintains information on your open network connections. pfSense is a stateful firewall, and by default all rules are stateful.

Most firewalls lack the ability to finely control your state table. pfSense has numerous features allowing granular control of your state table, thanks to the abilities of OpenBSD’s pf.


NAT: Network Address Translation

NAT Limitation

PPTP / GRE Limitation – The state tracking code in pf for the GRE protocol can only track a single session per public IP per external server.

This means if you use PPTP VPN connections, only one internal machine can connect simultaneously to a PPTP server on the Internet.

A thousand machines can connect simultaneously to a thousand different PPTP servers, but only one simultaneously to a single server.

The only available work around is to use multiple public IPs on your firewall, one per client, or to use multiple public IPs on the external PPTP server.

This is not a problem with other types of VPN connections.

A solution for this is currently under development.


Redundancy

CARP from OpenBSD allows for hardware failover.

Two or more firewalls can be configured as a failover group.

If one interface fails on the primary or the primary goes offline entirely, the secondary becomes active.

pfSense also includes configuration synchronization capabilities, so you make your configuration changes on the primary and they automatically synchronize to the secondary firewall.

pfsync ensures the firewall’s state table is replicated to all failover configured firewalls.

This means your existing connections will be maintained in the case of failure, which is important to prevent network disruptions.


Limitations

Only works with static public IPs, does not work with stateful failover using DHCP, PPPoE, or PPTP type WANs.


Load Balancing

Outbound load balancing is used with multiple WAN connections to provide load balancing and failover capabilities.

Traffic is directed to the desired gateway or load balancing pool on a per-firewall rule basis.


Inbound Load Balancing

Inbound load balancing is used to distribute load between multiple servers. This is commonly used with web servers, mail servers, and others. Servers that fail to respond to ping requests or TCP port connections are removed from the pool.


VPN

pfSense offers three options for VPN connectivity, IPsec, OpenVPN, and PPTP.

IPsec

IPsec allows connectivity with any device supporting standard IPsec.

This is most commonly used for site to site connectivity to other pfSense installations, other open source firewalls (m0n0wall, etc.), and most all commercial firewall solutions (Cisco, Juniper, etc.).

It can also be used for mobile client connectivity.

OpenVPN

OpenVPN is a flexible, powerful SSL VPN solution supporting a wide range of client operating systems.

See the OpenVPN website for details on its abilities.

PPTP Server

PPTP is a popular VPN option because nearly every OS has a built in PPTP client, including every Windows release since Windows 95 OSR2.

See this article for more information on the PPTP protocol.


PPPoE Server

pfSense offers a PPPoE server.

A local user database can be used for authentication, and RADIUS authentication with optional accounting is also supported.


Reporting and Monitoring

RRD Graphs. The RRD graphs in pfSense maintain historical information on the following:


Real Time Information

Historical information is important, but sometimes it’s more important to see real time information.

SVG graphs are available that show real time throughput for each interface.

For traffic shaper users, the Status → Queues screen provides a real time display of queue usage using AJAX updated gauges.

The front page includes AJAX gauges for display of real time CPU, memory, swap and disk usage, and state table size.


Dynamic DNS

A Dynamic DNS client is included to allow you to register your public IP with a number of dynamic DNS service providers:


Captive Portal

Captive portal allows you to force authentication, or redirection to a click through page for network access.

This is commonly used on hot spot networks, but is also widely used in corporate networks for an additional layer of security on wireless or Internet access.

The following is a list of features in the pfSense Captive Portal:


DHCP Server and Relay

pfSense includes both DHCP Server and Relay functionality.


References

https://www.netgate.com/solutions/pfsense/features.html