|
OpenBSD Security Functionally paranoid! |
|
Thread Tools | Display Modes |
|
|||
Is there a purpose for using pf if you have a hardware router/firewall?
I haven't started using pf yet, but I'm wondering if it would still be worth using if I already have a built-in firewall with my router and what the difference is between that and setting up a dedicated box as a pf firewall for everything to run through first before reaching any other computers on my network as opposed to not having one and just using the firewall router.
|
|
|||
There are many benefits.. what you call a router is simply a embedded packet filter, a firewall is just a term used to describe some of the features it provides.
If you were to replace the router with a dedicated OpenBSD router, there would be benefits.. advanced networking abilities.. flexibility.. and access to the source code is always nice. I'm not going to list all the benefits of using OpenBSD instead of some embedded device running a generic RTOS, but personally.. I would always choose the former over the latter. Hope it helps.. |
|
|||
Note; there is no reason to have both... if that's what you were asking, it would be highly redundant.
|
|
|||
Quote:
1) The nature and volume of the expected traffic. Would you have a FTP, HTTP and/or SSH server? Would you do some p2p? Would you use an XBox? 2) The specifications of your network: would it link two desktop computers? More computers and a server? Or else? 3) The specifications of the router: is this a heavy-duty router or one you just bought from you favorite consumer hardware shop? Could it handle the nature and volume of your traffic? Depending on your answers to 1), 2) and 3), my guess is that you might better scrap your router for a dedicated box (OpenBSD, FreeBSD or NetBSD), pf, AltQ and a switch instead. Hope its helps. Last edited by ctaranotte; 16th January 2009 at 12:51 PM. |
|
||||
Traffic shaping isn't the only feature/capability OpenBSD with PF has that most commercial SOHO routers don't-
- IDS/IPS (Intrusion Detection and Prevention) - traffic and performance graphing. - A/V protection - DNS server with dynamic DNS - high-grade site-to-site VPN tunnelling and road-warrior capability - HA (High Availability) with another firewall - Spam filter (that works!) - OS is itself secure, so low likelihood of exploitation. - OS and applications are regularly updated. Of course, you have to learn how to install, configure, and maintain the applications that provide the aforementioned functionality, but that's some huge potential. But I believe the choice is not based on feature-comparison, but rather love of the job- you like OpenBSD/PF for various reasons already and know that it would do the same job and more, so why not use it?
__________________
Network Firefighter |
|
|||
But, would it affect network performance?
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14) |
|
||||
Not at average residential speeds. As a real-world example, here's my current setup-
- L2 unmanaged switch - ADSL router with NAT (connected to switch and ISP) - Desktop (connected to switch) - OBSD box (connected to switch) The Desktop gets a DHCP address (MAC-controlled) from the OBSD box that points it to the OBSD box for routing. The OBSD box is just a one-armed (single nic) NAT translator. The OBSD box picks up the packets from the Desktop, translates and filters them, then routes them out to the ADSL router, which NATs the packets one more time before routing them on to my ISP. It's not the most network-efficient setup- but I have seen zero performance problems. I will eventually scale down what the ADSL router does in favor of the OBSD box (read: PPOE, NAT) and re-do the OBSD box with two nics, but for now, it's fine. The OBSD box also fulfills the following functions with no discernible network latency- - Cacti graphing - DNS - NTP - IDS (with Snort/BASE) - web server - db server ... and will soon take on VPN services and IPS (snort2c). All with no network performance issues at all so far.
__________________
Network Firefighter |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hardware recommendation: what hardware to buy for my new FreeBSD desktop? | Broodjegehaktmetmayo | General Hardware | 92 | 11th February 2009 10:43 PM |
FreeBSD as firewall/router on VMware ESXi | Bruco | FreeBSD General | 12 | 6th December 2008 08:37 PM |
What Sun hardware do you have | revzalot | General Hardware | 7 | 22nd August 2008 01:44 PM |
Point-to-Point VPN + Firewall + Router (sorta) - What should I use? | Bruco | FreeBSD General | 6 | 5th July 2008 11:09 PM |
Firewall Hardware Questions | gunderwood | OpenBSD General | 3 | 15th May 2008 03:50 AM |