Finally installed my own Firewall
from pimpampoom@lemmy.zip to selfhosted@lemmy.world on 31 Jan 10:59
https://lemmy.zip/post/58142963

Finally ditched my ISP’s router and installed my own opnsense firewall with my own Access Point. I have crowdsec running on opnsense to block attacks + adguard to block ads and malicious domains. My network is segmented between my homelab that is exposed and my AP.

Finally feels quite safe in my network 😅

#selfhosted

threaded - newest

[deleted] on 31 Jan 11:28 next collapse

.

Shabby4582@lemmy.world on 31 Jan 11:47 collapse

Looks like one of the qotom/topton boxes you can find on aliexpress.

Can also pick them up with preinstalled *sense from Protectli (which I did I regretted nothing, totally great experience.)

pimpampoom@lemmy.zip on 31 Jan 11:55 collapse

Indeed it’s a topton mini pc/firewall. It’s costs 300€ on AliExpress :) I removed Pfsense and installed opnsense

nullroot@lemmy.world on 31 Jan 16:38 collapse

Is that pretty standard a price for a standalone firewall?

pimpampoom@lemmy.zip on 31 Jan 16:44 collapse

It’s the most cost effective I found that had a decent CPU and multiple Ethernet ports. I was not able to find a local alternative in the same form factor

nullroot@lemmy.world on 31 Jan 16:58 collapse

Good to know. Thank you 🙏

snekerpimp@lemmy.world on 31 Jan 11:46 next collapse

That looks exactly like the box I grabbed. Are you running your opnsense on the bare metal, or are you virtualizing it? My only regret for mine was not picking up more ram.

pimpampoom@lemmy.zip on 31 Jan 11:54 collapse

I’m running on bare metal. I have a physical homelab behind. Can’t you add ram?

snekerpimp@lemmy.world on 31 Jan 12:00 collapse

I could, if it wasn’t so damn expensive for 32gb

comrade_twisty@feddit.org on 31 Jan 12:20 next collapse

In some places you can still get 32GB DDR4 for a kidney if you‘re lucky.

irmadlad@lemmy.world on 31 Jan 13:41 next collapse

I’ve had pretty good fortune with www.memorystock.com

snekerpimp@lemmy.world on 31 Jan 16:10 collapse

I will get them a look

kalpol@lemmy.ca on 31 Jan 14:04 collapse

I can’t imagine why you need 32gb for opnsense. I can run it on a single core and 1gb, unless I literally want every DNS blacklist loaded in which case 4gb

snekerpimp@lemmy.world on 31 Jan 16:09 collapse

I’m running a proxmox instance on mine, with opnsense in a vm and plex, Jellyfin pihole and my omada controller on lxc. 16gb is just enough for everything, but I like to future proof and buffer things, so it makes me a bit nervous utilizing 12 of that 16 gb and only leaving 4gb for proxmox.

whimsy@lemmy.zip on 31 Jan 12:40 next collapse

Networking isn’t my strong suit, so this might be a stupid question. But what exactly is a hardware firewall? Is it the same thing as my Internet facing router blocking incoming packets which haven’t been requested from “inside the home” network?

irmadlad@lemmy.world on 31 Jan 13:35 collapse

A hardware firewall generally indicates a standalone appliance that is dedicated to being a firewall. Not to be confused with a software firewall as you would see with UFW, or Windows Defender. Modern routers do possess some of the same tenets of a hardware firewall, but a dedicated hardware firewall usually gives a broader range of defenses such as IDS/IPS, filtering, etc.

I have a dedicated hardware firewall in the form of pFsense. The ‘black box’ in OP’s picture is the hardware firewall.

irmadlad@lemmy.world on 31 Jan 13:50 next collapse

OP, you may want to look into ntopng. I think opnsense has a ntopng plugin. I find it very useful for traffic analysis.

pimpampoom@lemmy.zip on 31 Jan 13:57 collapse

Will have a look, thanks!

peskypry@lemmy.ml on 31 Jan 16:25 next collapse

Good for you. I use OpenWrt on a decent router yet it’s so flexible. I can create multiple VLANs with different firewall rules, multiple APs, Ad and IP blocking etc.

Honestly I can’t imagine going back to a shitty ISP router ever.

Buffy@libretechni.ca on 31 Jan 18:14 next collapse

Even the wrong non-isp routers are ridiculous compared to OpenWrt capable ones. You’re telling me I’m paying a huge premium to get a cutting edge Nighthawk, and then they shove a subscription service in my face to use any of these features? Let alone the security implications of having all your traffic routed through proprietary software. No thank you.

SnotFlickerman@lemmy.blahaj.zone on 31 Jan 20:12 collapse

I don’t think we are the target audience for those, though, as weird as that sounds. More likely intended to be sold to less tech savvy people who are willing to pay for the convenience of some company handling their security.

orbitz@lemmy.ca on 01 Feb 02:46 collapse

I always get my isp outers as pass through so network is controlled by my entry. I have never bothered doing much with it but it’s nice to have the option.

I used to use a ddwrt firmware for years but eventually my hardware could never keep up with my net speeds and manufacture firmware was faster. Trying an Omada network now seems alright but haven’t added their wifi.

Decronym@lemmy.decronym.xyz on 31 Jan 16:30 next collapse

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

Fewer Letters More Letters
AP WiFi Access Point
DNS Domain Name Service/System
IP Internet Protocol
IoT Internet of Things for device controllers

4 acronyms in this thread; the most compressed thread commented on today has 14 acronyms.

[Thread #47 for this comm, first seen 31st Jan 2026, 16:30] [FAQ] [Full list] [Contact] [Source code]

OhVenus_Baby@lemmy.ml on 01 Feb 06:08 collapse

Doing the lords work! 🫶

Cyber@feddit.uk on 31 Jan 16:34 next collapse

Nice.

Running different SSIDs too?

I put all my IoT stuff on a dedicated 2.4-only network, VLANd it to the (pfsense) firewall which allows the VLAN trunk to be split into separate logical NICs that I apply different policies to, like no access to the internet, etc…

pimpampoom@lemmy.zip on 31 Jan 16:48 collapse

At the moment I only have one WiFi instance, not planning to separate yet but it could be a future upgrade since I have a few IoT devices.

possiblylinux127@lemmy.zip on 31 Jan 17:09 next collapse

Why crowdsec?

pimpampoom@lemmy.zip on 31 Jan 20:36 collapse

Personal preference, it’s what I’ve been using since I started my homelab and I think it works well enough.

possiblylinux127@lemmy.zip on 31 Jan 22:51 collapse

Are you exposing things to the internet?

pimpampoom@lemmy.zip on 01 Feb 07:19 collapse

Yes

irmadlad@lemmy.world on 31 Jan 17:26 next collapse

I have crowdsec running on opnsense to block attacks

Crowdsec is a pretty good package. It does blocking, but is geared more to being an IDS. Opnsense supports Suricata which is a more aggressive, and all encompassing IDS/IPS. I don’t think opnsense supports it’s cousin Snort.

pimpampoom@lemmy.zip on 31 Jan 20:37 collapse

I considered suricata but for now I think crowdsec works well enough, I’ll see later if I think suricata could be more useful

irmadlad@lemmy.world on 31 Jan 21:40 collapse

Cool, cool. I was just throwing it out there if you hadn’t considered it. It’s quite a powerful package.

umbrella@lemmy.ml on 31 Jan 18:04 next collapse

i recommend getting a fan blowing on that box. these get really hot at the slightest hint of some load.

utjebe@reddthat.com on 31 Jan 19:04 next collapse

I bought a topton router with Intel N150. I was and still am disappointed with how much it heats up. Enev at idle it’s not really comfortable to touch it.

irmadlad@lemmy.world on 31 Jan 20:14 next collapse

A muffin fan with 4 stand offs would to the trick. Must be this particular model that gets hot.

umbrella@lemmy.ml on 31 Jan 20:28 collapse

check thermal paste and get a fan attached to it. computer 120mm fans fit just right.

utjebe@reddthat.com on 31 Jan 20:52 collapse

I don’t think thermal paste is the problem here, the whole box is god damn hot, so it conducts heat well. At wall it measures 14-15w consumption, got it there from like 20-22w that was on defaults. Given that N150 is 6W TDP, the whole system just runs hot.

A fan would help, but I wanted fanless for a reason.

umbrella@lemmy.ml on 31 Jan 22:03 next collapse

it’s good to check because some of them come with bad paste and/or contact between the sink and cpu. it could simply be soaking.

in any case you can also remove the front and back pieces of the case for slighly better temperatures without adding a fan or messing with thermal paste.

Zedd_Prophecy@lemmy.world on 31 Jan 23:52 collapse

the really shitty thermal paste - pack some Arctic Silver onto that bad boy and if you can -increase the heat sink size or type - I don’t know what kind of room you have to work with.

umbrella@lemmy.ml on 31 Jan 23:55 collapse

the chassis itself is the heatsink

desentizised@lemmy.zip on 01 Feb 04:23 collapse

TDP is a very misunderstood concept these days because it used to be a hard upper limit but now it’s god knows what. The Spec Sheet is calling it “Processor Base Power”. What might that be you ask? Well of course it is

The time-averaged power dissipation that the processor is validated to not exceed during manufacturing while executing an Intel-specified high complexity workload at Base Frequency and at the junction temperature as specified in the Datasheet for the SKU segment and configuration.

In other words it’s just marketing mumbo jumbo. According to other users the N150 can draw as much as 20 up to 35 watts even. The fact that the heat is radiating well through your case sounds like a positive if anything. This is x86 we’re talking about. The added complexity of that architecture over ARM comes at a price.

irmadlad@lemmy.world on 31 Jan 19:05 next collapse

It wouldn’t be a bad idea. Right at this moment my temps are as such:

  • dev.cpu.0.temperature: 103 °F
  • dev.cpu.1.temperature: 103 °F
  • dev.cpu.2.temperature: 105 °F
  • dev.cpu.3.temperature: 109 °F
  • hw.acpi.thermal.tz0.temperature: 81 °F

IIRC, the case temp is like 194 freedom units. I’ve never really seen it get much higher than it is now.

SpookyBogMonster@lemmy.ml on 02 Feb 13:17 next collapse

these get really hot at the slightest hint of some load

Me too /j

umbrella@lemmy.ml on 02 Feb 15:46 collapse

sounds like you need a fan blowing on dat box

sj_zero@lotide.fbxl.net on 03 Feb 17:21 collapse

Why my firewall is a fanless sign PC. Never really heats up, and I don't need to worry about the unreliability added by fans.

v321@lemmy.ml on 31 Jan 18:51 next collapse

What do you think of Keenetic? Security-wise, do you trust it?

pimpampoom@lemmy.zip on 31 Jan 20:38 collapse

I just got it, it’s only being used as an access point so can’t really say about all their features.

v321@lemmy.ml on 31 Jan 20:49 collapse

The reason I ask is that Keenetic has substantial ties with Russia. And there is a big chance the firmware development is still done in Russia.

bytepursuits@programming.dev on 31 Jan 23:13 collapse

Share some pictures and stats of you could. Do u see many probes?

pimpampoom@lemmy.zip on 01 Feb 07:26 collapse

You want pictures and stats of what?

Mist101@lemmy.world on 01 Feb 19:52 collapse

Cats, if you have them, dogs if not.