PfSense


From Docunext Tech Stuff

Jump to: navigation, search

Contents

Summary

pfSense is similar to m0n0wall but has a different underbelly and thus a much different set of features and functions.

Some notable differences:

I'm planning to try out some more tests with this setup soon. Right now I'm just setting up two pfSense machines so that I can test out carp failover as well.

pfSense Load Balancer

The pfSense load balancer is nice in that it is simple - you add the servers you want to balance across, and you are pretty much done. However, I've run into some issues with it:

  • too many firewall states
  • incorrect "down status" from time to time
  • can't figure out how and if the server down ip to be on another network

Granted, these issues are the result of my own limited knowledge of how slbd works, so hopefully I can work them out.

Additional load balancing topics:

pfSense VPN Server

Supports:

pfSense DHCP Server

The pfSense DHCP server provides the capability to direct DHCP PXE Boot clients to a different host for their storage. Very cool!

pfSense DNS Settings

For pfSense DNS, I set the two addresses on the General page to our two private unbound servers which are on external public ip addresses. Then I set the DHCP server to use the private LAN address as the first DNS entry, and the first unbound server as the second. I think this is a good setup for our networks.

pfSense Errors

rrd Graphs

In my experience, if a pfSense machine is simply shutoff without being shutdown, the RRD graphs will not work until the machine is properly rebooted.

The graphs are awesome anyway. Here's an example:

pfSense traffic graphs

NFS and MTU

This isn't specific to pfSense, but since I use pfSense, it rears its ugly head. I'm not exactly sure, but I think it has to do with IP fragments. I use FIOS which, like PPP, uses a WAN MTU of 1492. IPSec also adds to IP overhead, reducing the data capacity of each packet. pfSense docs suggest but do not confirm that NFS on GNU/Linux sends fragmented packets that also have the do not fragment bit on the packet header. Confusing? Yes. Ultimately, I do stuff like this:

pfSense MTU Setting of 1440

And this in my Fstab:

192.0.2.1:/ /mnt/point nfs4    _netdev,noauto,noatime,rsize=512,wsize=512,user 0 0

Namespace Collisions

I keep getting a warning about a namespace collision in the default ruleset. I have no idea what this is about - just started happening recently...

Related Pages

Related Pages

External Links

Personal tools