arptables
Manage ARP filtering rules using the nftables backend. tldr-pages
On Linux
Linux
Manage ARP filtering rules using the nftables backend. Part of the xtables-nft suite for ARP packet filtering.
List all ARP rules in the filter table
sudo arptables --listIdentifyAppend a rule to drop ARP packets from a specific IP address
sudo arptables --append INPUT --source-ip 192.168.0.1 --jump DROPIdentifyDelete a specific rule from the INPUT chain by its rule number
sudo arptables --delete INPUT rule_numberIdentifyFlush all rules in the filter table
sudo arptables --flushIdentifySet the default policy of the OUTPUT chain to ACCEPT
sudo arptables --policy OUTPUT ACCEPTIdentifySave the current ARP rules to a file
sudo arptables-save >path/to/fileIdentify