Honestly I don’t know why I made this, it clearly isn’t worth it lol (Jesus, 5000kloc for this), but it was interesting to learn more about nftables (I also found a bug in Nix in the process). I will contribute to nftables docs some time later, as I found many undocumented or poorly documented parts, and some documentation that’s flat out wrong.

Currently this can only export rules in json, but it shouldn’t be too hard to write a transpiler into the nftables language.

1 point

Thanks for falling into a rabbit hole, I guess! I hope you do improve the Docs, there’s nothing quite as powerful for boosting an ecosystem than legible and helpful docs.

permalink
report
reply

nixos

!nixos@lemmy.ml

Create post

All about NixOS - https://nixos.org/

Community stats

  • 2

    Monthly active users

  • 107

    Posts

  • 282

    Comments

Community moderators