What's new

Firewall vs UDM

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

seanders

New Around Here
Hey folks. I'm torn between these two approaches. One uses a Firewalla Purple, the other uses the UDM pro. It seems like the UDM pro would be simpler for me if I decide to get ubiquiti cameras/doorbells. However, the simplicity of the firewalla is very appealing. What do ya'll think?

The risk with firewalla approach is my ability to run unifi protect on rasperry pi. There's a docker container on github that supports arm64 (my raspberry pi), but its a small repo (60-ish stars).

Firewall network
network_diagram.png


UDM Network

udm_diagram.png
 
What's the ultimate goal here?

It looks like the only thing you're comparing is costs.

Do you want to be agnostic or bound to one brand?

A simple firewall using iptables on the pi would be just as effective. I get line speed with iptables using a PC running Linux as the router / fw and prior with a WIFI card inside as the AP as well. If you're willing to get your hands dirty instead of buying an appliance you can do this a whole lot cheaper using a SFF PC + NIC for ~$200. Going DIY gives you room for expansion when it comes to performance down the road. Being able to swap out the NIC when your speed requirements increase makes more sense as you can geta quad port 5GE card for $200 vs replacing the appliances to get better speed / throughput.
 
Hey. Thanks for the feedback.

TBH, the only reason I'm comparing costs is because I'm struggling to compare on other criteria.


The only considerations that are top of mind are:
1) Support for 1 gb wan
2) Ad blocking
3) Segregating IOT devices (and in the future, cameras)
4) VPN support

My impression is that my needs are fairly vanilla, and that the UDM SE (or even pro), might be beyond what I really need.

Would the DIY approach of SFF PC + NIC cover all those bases w/o too much trouble? I'm technically apt to do it (built a PC before and a software eng by trade), but tbh, I have zero background on the DIY router/fw game. And I'm not too keen on having to do a lot of upkeep.

I assume a DIY fw/router would run opnsense or some other open source firewall/router software?

Thanks for your time.

S
 
I run a full PC and rolled in NAS / WIFI / etc. into a single box but, that's just my approach to combining and slimming down the footprint of devices needed.

Bundling the NAS / router functions eliminates all of the bottlenecks you see with modular setups and needing to upgrade all of the wires / NIC to support the higher speed. Then you just have really good WIFI for normal data transfers and if you need more speed you plug into the "server" directly and get whatever wired speed you go with. I based my speed requirements on the disk speed w/ Raid 10 capping out at ~400MB/s which is just shy of 5GE for speed. 5GE is a good place to be if you have a laptop since you can get a USB dongle for $60 vs going full 10GE and bumping the laptop dongle to TB and $300.

I was running 1GE+ with a cable modem and just bundled 2 ports off that through bonding and was hitting up to ~1400mbps with the overprovisioning.
AD's are blocked with Pihole w/ a few lists - https://firebog.net/
IOT / etc can be managed via vlans
I run VPN through it as well and with wireguard it hits line speed vs ovpn which caps out at 600mbps no matter the HW you throw at it

I just use Ubuntu for the OS as it's more adaptable and supported for HW. It's handsoff unless you want to update the kernel weekly like I do to patch things up and unlock potential HW improvements that might be baked into the newer versions.

For the FW I just use IPtables and the total config is about 15 lines to permit LAN <> LAN and then track WAN by sessions and block everything else by default.

Obviously the SFF PC for me wouldn't work due to the extra drives I have inside for the NAS portion and might be limiting if you roll in WIFI / AP functions but, easily would fit a quad port card for network duties. There are dual port cards as well at 2.5/5GE speeds. It depends on how much bandwidth you want on either side of the FW. I stream things over WIFI w/o any issues though 4K or FHD. The AP I'm using just plugs into one of the ports @ 2.5GE speeds and my laptop using an AX411 card hits 1.5gbps back to the server.

It al kind of depends on how you want things to talk to each other and which priorities you have for the data, The FW side is easy and cheap as it just runs in the OS. The biggest thing is planning so you don't end up doing it more than once. If you decide to roll in the other functions the right case makes a difference to support more drives or better air flow. Picking the right CPU / RAM combo helps for keeping costs down and ADL at this point is probably the best option in terms of recent but cheaper if building from the ground up. Most of the time the CPU will be near idle and thus low power requirements but, if you let it crank up for something like Plex for comskip or transcoding the power is there to prevent buffering.

I started with an 8700K when I first built it and that handled everything just fine but, ADL / hybrid cores enticed me to play with them so I rebuilt it and just moved the drives over to the new case, Really though building from the ground up and configuring the box is fairly simple with the guides that are out there. Avoiding the traps though of over configuring and slowing things down is the hard part if you're a tinkerer. Not being locked into the specific use OS options though leaves the door open to do whatever you want / however you want w/o restrictions. Most of the stuff out there can be added as an app as needed. An easy one to use is webmin which will allow a web GUI for remote control via CLI if you don't plan on leaving a screen hooked up to it when you're done setting things up.
 
One uses a Firewalla Purple, the other uses the UDM pro

UDM Pro if you want to stick to Ubiquiti ecosystem. Jerry Chen and company may not exist in few years. Ubiquiti will be still there.
 
Similar threads
Thread starter Title Forum Replies Date
H ASUS vs UDM Pro Routing Performance? Wireless Buying Advice 2

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top