mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 06:56:58 +02:00
Merge pull request #2946 from flatcar/tormath1/nftables
net-firewall/nftables: provide nftables systemd units
This commit is contained in:
commit
b3e8dfcd13
1
changelog/changes/2025-05-21-nftables.md
Normal file
1
changelog/changes/2025-05-21-nftables.md
Normal file
@ -0,0 +1 @@
|
||||
- Added `nftables-load.service` and `nftables-store.service` services to load/store rules from/in `/var/lib/nftables/rules-save` ([Flatcar#900](https://github.com/flatcar/Flatcar/issues/900))
|
@ -1,5 +0,0 @@
|
||||
nftables_install_mask=" /usr/libexec/nftables /var/lib/nftables /usr/lib/systemd/system/nftables-load.service /usr/lib/systemd/system/nftables-store.service "
|
||||
|
||||
INSTALL_MASK+=${nftables_install_mask}
|
||||
PKG_INSTALL_MASK+=${nftables_install_mask}
|
||||
unset nftables_install_mask
|
@ -108,6 +108,7 @@ sys-libs/ldb -lmdb -python
|
||||
|
||||
# Enable nftables backend for the iptables instead of legacy backend
|
||||
net-firewall/iptables nftables
|
||||
net-firewall/nftables json
|
||||
|
||||
# Install `perl` with a minimal set of dependencies
|
||||
dev-lang/perl minimal
|
||||
|
Loading…
Reference in New Issue
Block a user