PfSense on a Dell Latitude E6420
-
- If you're just connecting a LAN to the internet it doesn't matter.
- Probably.
- Likely.
More details:
-
Since you have a managed switch I'd just use the Intel adapter and VLANs. Otherwise, use the Intel for LAN and the Realtek for WAN.
-
The Realtek support is pretty robust. My own experience is that in a 1Gbps scenario a Realtek interface using the 're' driver uses a measurable amount of CPU interrupt which may or may not be significant. This is in comparison to an Intel nic using the 'em' driver (which is what the 82579LM uses) passing the same traffic, which does not consume the same amount of CPU time. I expect that in the majority of situations this won't make much of a difference but combining crypto and packet inspection can make even a 300Mbps residential connection quite demanding.
-
As long as you're not using packet inspection or VPN.
-
Thanks. Unfortunately I planned to use both OpenVPN and packet inspection. That said, if I had to pick only one, it would be to keep my OpenVPN.
Just curious as to how effective the firewall is if I don't use packet inspection?
I really wanted to use a laptop for this rig as I have a decent one hanging around that I don't use. The processor is great but my second NIC is not (Startech). Not having a second intel LAN is becoming a frustrating experience as there are no intel EC Express LAN adapters.
Thanks
-
Just to clarify my use of OpenVPN: I use it occasionally to remote into my LAN from afar. So it's not really processing WAN/LAN traffic 100% of the time. When not in use (connected to a client), does this reduce processor power, or is it always in a ready to receive traffic mode?
-
You may find that NIC works great for you but USB NICs have a terrible reputation in general and most of it's justified.
You may fine you can't get anywhere near Gigabit through it. You may find it does other odd things like disconnecting unexpectedly. Impossible to say without testing it.
Almost everyone would say use VLANs and a single NIC (router on a stick) in preference to a USB NIC. I certainly would.
Steve
-
@FrankZappa Yeah, if you just use OpenVPN for remoting into your home network it won't impact your performance in the way I was talking about.
Regarding packet inspection, we're talking about using snort or suricata on top of the packet filtering done by pf.
Using suricata is great, but the hard part about making it effective is knowing what to do with the data it gives you. I have it on on my home firewall right now and it's just doing its thing and logging the output. Which is fine, but in an un-curated setup like mine, it produces more than 13 million messages in a 24 hour period, the vast majority of which can simply be ignored. So if you want to make good use of it, be prepared to put in the time to really really dial it in.
Regarding the second NIC, you're talking about something like this right?
Anyway, depends on how fancy you want to get. I've seen at least one expresscard to pci-e x1 adapter out there. Heck, my own router is using a mini pci-e to pci-e adapter to connect a quad port NIC to a half-length mini pci-e slot. It only has one lane but it's been fast enough for me so far.
-
Thanks Whosmatt. Yes the NIC is the Startech EC Express single port version (you linked to the dual port version). I'll hook that up to the WAN (Modem) and use the onboard intel nic to connect to my Ubiquiti managed switch.
I wasn't planning on using suricata, but now you have my curiosity peaked (I watched an hour youtube tutorial). If I dont use suricata, is the pf packet filtering good enough? Also, does pf block bad IP addreses automatically? Wasn't sure if it did. My Asus router uses Skynet as an add-on and it blocks known bad IP's. Just curious.
Thanks for the advice.
-
pf blocks EVERYTHING by default :)
There is a package called pfblocker-ng that many (myself included) use for automatically blocking known bad actors with updated block lists and the like. That's probably what you're looking for.
-
Thanks whosmatt.
-
Thanks NollipfSense.
-
@stephenw10 Thanks Stephen. Is the Express Card Slot considered a USB NIC?
-
Nope. Or at least it probably isn't; ignore me!
Express card does provide USB so it can accept modems etc but I would not expect a NIC to use that. This looks like it uses the Realtek RTL8110 which is a PCIe chip.
Steve
-
@FrankZappa it's used like a PCIe slot.
-
@stephenw10 Any idea if I can use this excpress card adapter with pf?
Sonnet Technologies Presto Gigabit Ethernet Pro ExpressCard/34https://www.amazon.com/Sonnet-Technologies-Gigabit-Ethernet-ExpressCard/dp/B00I8MMWTY
It appears to have a Broadcom chip (I think). Not sure if this is compatible. Thoughts?
-
Without knowing what the actual chipset they're using is there's no way to know.
-
@stephenw10 If it's Broadcom, will it work?
-
@FrankZappa I read where it works fine with Linux with it's Broadcom NetXtreme BCM57762 controller. No idea if this is compatible w PF
-
If it is indeed the BCM57762 it should work with the bge driver:
https://www.freebsd.org/cgi/man.cgi?query=bge&sektion=4
-
@whosmatt Thanks whosmatt. Do I need to install the driver or will pf already recognize it ?
-
You shouldn't need to install anything.
-
@FrankZappa I have used Sonnet before on a MacBook Pro I had contemplate using as a pfSense box. Yes, it has Broadcom and it works ... just a little issue running IDS/IPS because it's in emulator mode with Netmap instead of the full interaction with Netmap. BTW - your Intel -82579LM Gigabit is supports the new Intel driver, so no problem.
-
EC1000S is 10EC:8168. It's supported by FreeBSD according to the list of supported device IDs. Also we have a lot of successful probes of this chip in the BSD hardware database.
-
@NollipfSense Thanks. So if I use this card on the WAN side (use internal 82579LM for LAN) shouldn't it work fine if I enable IDS/IPS? I would think using this card on the WAN just passes and receives all traffic, while the 82579LM does all the IDS/IPS, firewall, and OpenVpn traffic...or do I have that backwards?
Thanks -
@aponomarenko Thanks. So I went with another card: Sonnet Technologies Presto Gigabit Ethernet Pro ExpressCard/34 which has a Broadcom chip (BCM57762). I haven't used it yet, but hoping it will work.
-
@FrankZappa said in PfSense on a Dell Latitude E6420:
use internal 82579LM for LAN) shouldn't it work fine if I enable IDS/IPS?
Yes
-
@frankzappa Sorry for the long delay in updating this year old thread. Bottom Line: This setup is working great for almost a year now.
Dell 6420 laptop with i7, 128GB SSD and 8GB RAMPfSense Version 2.4.5-RELEASE-p1 (amd64)
CPU Type Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz
Current: 800 MHz, Max: 2701 MHz
4 CPUs: 1 package(s) x 2 core(s) x 2 hardware threads
AES-NI CPU Crypto: Yes (active)Sonnet Technologies Presto Gigabit Ethernet Pro ExpressCard/34 which has a Broadcom chip (BCM57762) which covers down on LAN connection.
The really nice thing I purchased a new battery for laptop. When the electricity goes out, it still stays running for over an hour, which is a nice feature.
Many thanks to all of you for helping me out on this.
-
@frankzappa said in PfSense on a Dell Latitude E6420:
Presto Gigabit Ethernet Pro ExpressCard
Correction: The Presto Gigabit Ethernet Pro ExpressCard is connected to the WAN side. Works great. VPN is rock steady as well VLAN's and all my plug ins. I decided not to run Suricata as it takes too much work to dial that puppy in. Solid performance.