I'm trying to block a specific port for local users with nftables. I need to block access to port 80 for all users not in the web (120) group. This is my command:
nft add rule ip filter4 input ip daddr $VEGAIP tcp dport 80 meta skgid ne 120 drop
filter4 is the IPv4 filter table and input is...