Setting up a FreeBSD / TrueOS home router with IPFW
(Updated 1/13/2015 with in-kernel NAT example!)
Over the Christmas holidays I had some spare time and was ready to take the plunge and retire an old Asus router. It had begun getting rather slow, due to the increasing number of devices connected to our network, and of course I wanted peace of mind using a FreeBSD system I could be sure was up to date with security fixes. I used PC-BSD’s server release, TrueOS 10.1, because I wanted to use ZFS with boot-environments to ensure upgrading and replacing disks would be risk-free down the road. The following details how I setup TrueOS on the new box.
The PC-BSD team is happy to announce we’ve put the finishing touches on the new Update GUI. Users on edge will be able to download and test out the new update GUI with their next update. The new Update GUI will also enable automatic updates which will happen at boot up or every 24 hours. You will also be able to choose what parts of your system you want to update (i.e. Packages, Security, etc.). If you have any questions, concerns, or to report a bug, please feel free to create a bug report on bugs.pcbsd.org so we can quickly get back to you and help troubleshoot the issue.
The first Qt5-based version of the Lumina desktop environment has just been released!
The source code for this release is available in the Lumina repository on GitHub, the FreeBSD port has been updated, and the new package is getting pushed out to the PC-BSD “Edge” repository here in the next couple days. Version 0.8.0 is mainly just an update to all the backend systems, but there are a few notable changes:
Updates for version 0.8.0:
– Uses Qt5 (tested with 5.2) instead of Qt4. This also brings in a new dependency on the XCB libraries.
– Uses the new QMultimedia framework instead of Phonon for playing multimedia files. This has much better results when playing audio/video files through the Insight file manager.
– New built-in single application framework for the Lumina project (no more external dependency for this, and it works on all OS’s).
– New task manager mode (no groups). This reproduces the traditional task manager functionality of one button per window, and it lists the window title for each button. For ease-of-use, this mode is treated as a distinct/new panel plugin through the Lumina configuration utility.
– The task manager “action” menu (right-click) now has many more options that are auto-generated based on the current window state.
– The lumina-open crash reporter for applications now provides details about the crash from the application (if any are available).
– New windows will no longer appear with the titlebar underneath a Lumina panel.
– Command-line inputs with special localized characters are now properly used.
– Large clean-up of recursive file operations in the file manager. (Better reporting and error detection, add ability to copy a directory into itself, make sure no files are missed during recursive operations).
– Detect when running in a VirtualBox VM (if OS is FreeBSD) and hide the screen brightness controls since these do not work in a VM.
– Clean up how the special “Exec=” field codes are handled for XDG desktop shortcuts (fixes the issues with starting various KDE applications like Okular).
– Various other small bugs fixed.
As always, please test it out and submit any bugs or feature requests through the PC-BSD bug tracker.
Kris has made the update to 10.1 live on the servers. To upgrade to 10.1 you can simply open the update GUI and start the update from there. You will notice the update takes a little longer to complete, but the good news is it runs in the background and there are no unexpected resets :).
If you are on the EDGE repo you most likely have the newest broken version of pkg which will need to be fixed before upgrading. To fix pkg:
% pkg install -f pkg
After that you should be in business. Please send us your feedback and / or any questions!