Skip to content

Draft: Use drop-in configs

Hanabishi Recca requested to merge hanabishi/nftables:dropin into main

This MR implements drop-in configs. Closes #2.

  • New directory for configs: /etc/nftables.d.
  • The service now runs a dedicated script instead, which loads all *.conf files from the aforementioned directory.
  • Install script links old /etc/nftables.conf as /etc/nftables.d/10-nftables.conf to preserve existing working configurations. It makes user able to disable default rules without editing the shipped config.
Edited by Hanabishi Recca

Merge request reports