arptables
Manage ARP filtering rules using the
nftablesbackend. Part of thextables-nftsuite for ARP packet filtering. More information: https://manned.org/arptables.
- List all ARP rules in the filter table:
sudo arptables
- Append a rule to drop ARP packets from a specific IP address:
sudo arptables INPUT DROP
- Delete a specific rule from the INPUT chain by its rule number:
sudo arptables INPUT
- Flush all rules in the filter table:
sudo arptables
- Set the default policy of the OUTPUT chain to ACCEPT:
sudo arptables OUTPUT ACCEPT
- Save the current ARP rules to a file:
sudo arptables-save >
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
