this post was submitted on 28 Oct 2023
1 points (100.0% liked)

Homelab

371 readers
3 users here now

Rules

founded 11 months ago
MODERATORS
 

TL;DR - www.pf2opn.com

I read about the desire for a converter here in r/homelab and on r/selfhosted this morning and I thought it would be an interesting Saturday afternoon project. I did not write this to claim a bounty.

pf2opn accepts a configuration file from pfsense in xml, does some basic sanity checks, and renders the result which you can copy. You can also download the generated xml, if you wish. The conversion happens in-memory, there are no trackers on the site, and I don't use any external services to convert your configuration. Reading and converting your configuration happens and stays on your machine. It does not cache the converted file.

I'm not running either platform in my own homelab, but I was able to find a few example configurations for pfsense and opnsense. I'd appreciate some feedback from you all as I don't think the mappings are 100% correct yet. But I think it'll spit out a nearly-usable opnsense configuration as is. However, the more sample feedback we get, the closer we can nail the conversion.

Don't forget to create backups and please don't deploy straight to prod.

you are viewing a single comment's thread
view the rest of the comments
[–] Thenuttyp@alien.top 0 points 10 months ago (4 children)

“Don’t deploy straight to prod”

Um…do you even homelab??? 😂

Still, an important reminder for those of us who get caught up in the excitement of new and shiny.

[–] ency@alien.top 0 points 10 months ago (1 children)

Almost spit out my coffee reading this. I have never not yolo'ed my home lab.

[–] gundog48@alien.top 0 points 10 months ago (1 children)

HOLD MY BEER, I PROBABLY HAVE A BACKUP

[–] Thenuttyp@alien.top 0 points 10 months ago (1 children)

Good thing you tested the backup first…….

You did test the backup…right???

[–] gundog48@alien.top 1 points 10 months ago

Yes, 5 minutes after saying that.

load more comments (2 replies)