pfSense is awesome open source router software based on FreeBSD. It features a nice web interface to do any tasks!
While the main way to administer and upgrade pfSense is via the web interface, one can also upgrade via command line. Check it out!
1. First, ssh into your pfsense box.
2. Next, To apply pending security updates, run the following command:
Below is an example complete output. Note that the pfsense box will reboot automatically.