↧
Answer by Lobz for How can I idempotently add an input rule to preconfigured...
It will be easier to manage it using sets:table inet filter { set myport_tcp { type inet_service elements = { 4848 } } chain input { type filter hook input priority 0; policy drop; # existing rules tcp...
View ArticleHow can I idempotently add an input rule to preconfigured nftables
I have a utility that needs a free tcp port. As I don't want to alter existing configuration files I need to be able to dynamically add a rule to nftables.There is an inet table called filter with...
View Article