im new in firewalls etc. readed nftables quick reference
how to allow only my mac address (my device - laptop, phone etc.). allow my mac to access ssh port (port:22)
tried that:
ether saddr 00:00:00:00:00 tcp dport 22 accept;tcp 11:11:11:11:11 dport 22 drop
//numbers 00:00:00.... and 11:11:11.... are examples, where 00:00:00.... is my mac address
this combination dropped all connections to ssh port...