Installing FreeBSD Packages

From PFSenseDocs

(Redirected from Add Packages)
Jump to: navigation, search

In addition to the packages available in the pfSense package system, thousands of additional FreeBSD packages are available. If strong security is what you want out of your pfSense firewall then do not install additional FreeBSD packages, or ensure you properly maintain these packages by always keeping them up to date. This is especially true of packages that act as servers, listening for network requests. Packages only accessible from the local system, such as command line utilities, are usually of less risk though they can also open security holes.

These packages are not supported by the pfSense development team. They may break your firewall, be careful.

First SSH into the firewall, and choose option 8 at the console.

If you attempt to use pkg_add command your download will not start. With a little editing you can download. I selected the folder Latest from ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/. I found a great package I want called iftop. I type at the prompt:

pkg_add -r 

And the I paste the url to the package I want

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/iftop.tbz

I end up with

pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/iftop.tbz

Hit enter and the download will commence.

Run the following:

rehash

And the package will be available.

iftop -i (interface)
Personal tools