Follow-up: OpenBSD routers on AliExpress mini PCs

I got lots of replies to the last post showing the little OpenBSD internet gateway setup (super interesting; thanks!). Here’s more info and pictures:
https://www.srcbeat.com/2024/02/aliexpress-openbsd-router/

Something I’ve been meaning to share for years now.

@selfhosted #openbsd #selfhosted #selfhosting

Is this a qotom? When I bought mine the description on Amazon said it could be turned on via power restore from bios but I have 0 power settings in bios. No wake on lan, nothing.

I’ve searched for how to update the bios (or if this would even help) but it’s hard to find clear information.

@sunbeam60@lemmy.one
link
fedilink
English
07M

Is it an APTIO BIOS? My setting was hidden in IT813 Super IO Configuration —> Advanced —> Restore AC Power Loss. Took me ages to find it.

I guess I’ll have to take another look whenever I can get the family to agree to turn off the internet for a bit.

@postnataldrip@lemmy.world
link
fedilink
English
2
edit-2
7M

It might be a jumper on the board. Mine (Q770G4) boots on power, if I can organise some downtime with the family I’ll take a look at it (set it up ages ago so can’t remember).

Edit: CAB approval was easier than I expected! Mine is in the BIOS, under Chipset > PCH-IO Configuration, set State After G3 to Power On.

@1couchpotato@lemmy.dbzer0.com
link
fedilink
English
2
edit-2
7M

Yeah I also tried moving the jumper for the power pins on the mobo but all that accomplished was a long press, which caused it to turn on and then off again.

I’ll scroll through the bios again but I’m pretty sure I looked at every menu and submenu. 🤷‍♂️

Been thinking about buying a similar setup, and you just pushed me into buying a “Chinabox

Let’s see how this goes, if It explodes you owe me a beer, and a pair of hands, and another chinabox (I’m not a quitter)

@Nilz@sopuli.xyz
link
fedilink
English
17M

This is really cool. I’ve been interested in running something like this. Does it make sense to have this as a dedicated firewall in front of my Unifi lan?

@umbrella@lemmy.ml
link
fedilink
English
0
edit-2
7M

yes, thats the purpose of this device. works very well for me so far.

@Nilz@sopuli.xyz
link
fedilink
English
07M

What I meant was, I have a Unifi router and was thinking of putting a dedicated firewall in front of it. Does that make any sense or would the firewall on the unify be just as capable? Before the Dream Machine that is my current router I was running an opnsense router with my Unifi switches behind it so I’m not super unfamiliar with it I guess.

If you already have a Unifi router/firewall that’ll work fine, you don’t need this.

@umbrella@lemmy.ml
link
fedilink
English
1
edit-2
7M

I think opnsense is way more capable than unifi devices, even better if you are familiar. You could try Proxmox too, makes the box more flexible.

Really cool! I never touched *BSD, I have a mini PC/NAS home that ended with a minimal Arch install. This is something I can do at some point.

And what about Wireless networks?

@jr52@lemmy.world
link
fedilink
English
67M

“EVALUATION COPY BIOS” was the best bit

What would be the difference of running this as opposed to pf/opnsense? I know they use FreeBSD but I am not that versed in BSD based networking

I personally would stick to *sense. I personally used OPNSense there’s a huge community backing, well documented, and actively maintained. I like to use the CLI, but using the Web GUI was a breeze and I mainly wanted to set it and forget it.

Same, hopped from PF to opn last year and really haven’t had to do too much besides updates. For somethings E

Well written article. Could you point to the instructions you followed to set up OpenBSD as your router + Firewall?

Oliver Lowe
creator
link
fedilink
07M

For starting out, Building a Router from the OpenBSD FAQ is helpful: https://www.openbsd.org/faq/pf/example1.html

@MigratingtoLemmy @selfhosted

Thanks, I’ve read the guide. Would like to know what you’ve added on top

@sunbeam60@lemmy.one
link
fedilink
English
17M

I’m sorry if I seem obtuse but isn’t it easier to just set up OPNsense, which is a fully configured router/firewall on top of BSD?

It is easier, but it can be considered as feature-bloat if you don’t really need the breadth of capabilities that it offers. Aside from that, OpenBSD has made specific choices to make it more secure than FreeBSD by default, though the configuration will depend upon the user.

It’s also more fun to DIY it and you no longer need to rely on a specialist version of BSD. You are closer to the source, so to speak.

Some reasons might just be philosophical, others can be technical if you have specific configuration that you’d want to achieve.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.5K Posts
  • 70.1K Comments
  • Modlog