![]() |
|
|||||||
| OpenBSD Security Functionally paranoid! |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
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 11:51 AM. |
|
||||
|
Why use PF if you're not using OpenBSD as a router or bridge? Perhaps it's being used as a small server, or perhaps a workstation?
Let's look at the other three features. First, having used a SOHO NAT router, you may be familiar with "port forwarding" to expose services on your local network. This is a subset of the capabilities of PF port redirection rules. In particular, redirection to loopback can provide great flexibilty for virtual server control and management.Keep your NAT router for the time being, and begin to learn how to use PF to your advantage. Eventually, you may sell your router and replace it with an OpenBSD platform. I did.
__________________
OpenBSD LiveCDs/LiveDVDs Last edited by jggimi; 16th January 2009 at 01:03 PM. |
|
||||
|
Little of that is PF, however.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
Very true. I don't want to bait and switch- I guess the idea is that SOHO routers have zero extensibility, while OBSD firewalls are completely extensible beyond a simple PF NAT Firewall.
__________________
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 09:43 PM |
| FreeBSD as firewall/router on VMware ESXi | Bruco | FreeBSD General | 12 | 6th December 2008 07: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 |