Secure Home Network with OPNsense
I was working on some smart home project as I bought a new home earlier this year. With more and more devices connected to my home network then to Internet. I do have some concerns regarding the security of those devices. For two reasons:
- Quite of the smart home devices need to have Internet connection and being controlled by some SaaS platform
- Any devices in my home network can communicate with the smart home devices
- Smart home devices can freely talk to other devices in my home network
In order to provide some protection to the home network and those smart home devices, I decided to bring some open source software firewall to segregate the traffic for different types of the devices.
After doing some research, I decided to go with OPNsense firewall. According to the article on Wikipedia, OPNsense is an open source, FreeBSD-based firewall and routing software developed by Deciso. It is a fork of pfSense, which in turn was forked from m0n0wall built on FreeBSD. A few reasons OPNsence is chosen,
- FreeBSD is known to be a relatively reliable open source operating system
- FreeBSD has good performance when using as a router to route traffic between different network interfaces
- FreeBSD is one of the operating system that I am familiar with
- OPNsense is using a relatively new FreeBSD kernel, so it support more new hardwares
- OPNsense provides a Web GUI for management tasks
With the network firewall in place, I am planning to set up the network like this.
The firewall will filter all traffic between the home network VLANs and Internet. Meanwhile, it will also filter the traffic between different home VLANs. Some general ideas like- Devices in guest VLAN should only have the access to Internet but not any other devices either in User VLAN or IOT VLAN.
- Devices in IOT VLAN can have Internet access, but they should not access other devices either in User VLAN or IOT VLAN. But computers in User VLAN can access the devices in IOT VLAN for device management purposes.
- ...
In order to run the software firewall, I purchased a barebones firewall appliance, which comes with an Intel Core I5-5200U CPU, four 10/100/1000 Mbps ethernet port. More important, it's fanless!
Comments
Post a Comment