non root user netfilter

Issues related to configuring your network
Post Reply
alvarolm
Posts: 5
Joined: 2020/04/05 23:47:07

non root user netfilter

Post by alvarolm » 2020/04/07 01:02:30

I want allow an non root user to add and delete elements from nftables (nft) set, any clues how to do it?
currently I get: Operation not permitted (as expected)

the nft commands in particular are:

Code: Select all

$ nft add element inet abc myset { ... }
$ nft delete element inet abc myset { ... }
thanks in advance

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: non root user netfilter

Post by aks » 2020/04/08 16:55:58

Uh sudo?

alvarolm
Posts: 5
Joined: 2020/04/05 23:47:07

Re: non root user netfilter

Post by alvarolm » 2020/04/08 17:01:35

im sorry, forgot to mention im looking to add user privileges like polkit

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: non root user netfilter

Post by aks » 2020/04/08 17:32:30

Well then you're talking about d-bus (see the man page).

Post Reply