info > ARPTABLES

Not found locally for ARPTABLES. Try Google search

๐Ÿ“– NAME

arptables - ARP table administration (nft-based)

๐Ÿš€ Quick Reference

Use CaseCommandDescription
List all rulesarptables -LList all rules in all chains
Add a rulearptables -A chain rule-specAppend rule to end of chain
Delete rule by numberarptables -D chain rulenumDelete rule at given position
Flush all rulesarptables -FRemove all rules from all chains
Set chain policyarptables -P chain targetSet default target (ACCEPT/DROP/RETURN)
Create new chainarptables -N chain-nameCreate user-defined chain
Rename chainarptables -E old newRename existing chain
Insert rule at positionarptables -I chain rulenum rule-specInsert rule before given number
Replace rulearptables -R chain rulenum rule-specReplace rule at given position
Zero countersarptables -ZReset packet/byte counters

๐Ÿ“‹ SYNOPSIS

arptables [-t table] -[AD] chain rule-specification [options]
arptables [-t table] -[RI] chain rulenum rule-specification [options]
arptables [-t table] -D chain rulenum [options]
arptables [-t table] -[LFZ] [chain] [options]
arptables [-t table] -[NX] chain
arptables [-t table] -E old-chain-name new-chain-name
arptables [-t table] -P chain target [options]

๐Ÿ“ DESCRIPTION

arptables is a user space tool, it is used to set up and maintain the tables of ARP rules in the Linux kernel. These rules inspect the ARP frames which they see. arptables is analogous to the iptables user space tool, but arptables is less complicated.

๐Ÿ”— CHAINS

The kernel table is used to divide functionality into different sets of rules. Each set of rules is called a chain. Each chain is an ordered list of rules that can match ARP frames. If a rule matches an ARP frame, then a processing specification tells what to do with that matching frame. The processing specification is called a 'target'. However, if the frame does not match the current rule in the chain, then the next rule in the chain is examined and so forth. The user can create new (user-defined) chains which can be used as the 'target' of a rule.

๐ŸŽฏ TARGETS

A firewall rule specifies criteria for an ARP frame and a frame processing specification called a target. When a frame matches a rule, then the next action performed by the kernel is specified by the target. The target can be one of these values: ACCEPT, DROP, CONTINUE, RETURN, an 'extension' (see below) or a user-defined chain.

๐Ÿ—‚๏ธ TABLES

There is only one ARP table in the Linux kernel. The table is filter. You can drop the -t filter argument to the arptables command. The -t argument must be the first argument on the arptables command line, if used.

โš™๏ธ ARPTABLES COMMAND LINE ARGUMENTS

After the initial arptables command line argument, the remaining arguments can be divided into several different groups. These groups are commands, miscellaneous commands, rule-specifications, match-extensions, and watcher-extensions.

๐Ÿ“œ COMMANDS

The arptables command arguments specify the actions to perform on the table defined with the -t argument. If you do not use the -t argument to name a table, the commands apply to the default filter table. With the exception of the -Z command, only one command may be used on the command line at a time.

๐Ÿ› ๏ธ MISCELLANEOUS COMMANDS

๐Ÿ“ RULE SPECIFICATIONS

The following command line arguments make up a rule specification (as used in the add and delete commands). A ! option before the specification inverts the test for that specification.

๐Ÿงฉ TARGET EXTENSIONS

arptables extensions are precompiled into the userspace tool. No need to explicitly load them with -m like iptables. These extensions deal with functionality supported by supplemental kernel modules.

mangle ๐Ÿงน

CLASSIFY ๐Ÿท๏ธ

Allows setting the skb->priority value (classify packet into a specific CBQ class).

MARK ๐Ÿท๏ธ

Allows setting the skb->mark value (classify packet by the mark in u32).

๐Ÿ“Œ NOTES

In this nft-based version of arptables, support for FORWARD chain has not been implemented. Since ARP packets are "forwarded" only by Linux bridges, the same may be achieved using FORWARD chain in ebtables.

๐Ÿ“ง MAILINGLISTS

See http://netfilter.org/mailinglists.html

๐Ÿ”— SEE ALSO

xtables-nft(8), iptables(8), ebtables(8), ip(8)

See https://wiki.nftables.org

ARPTABLES
๐Ÿ“– NAME ๐Ÿš€ Quick Reference ๐Ÿ“‹ SYNOPSIS ๐Ÿ“ DESCRIPTION
๐Ÿ”— CHAINS ๐ŸŽฏ TARGETS ๐Ÿ—‚๏ธ TABLES
โš™๏ธ ARPTABLES COMMAND LINE ARGUMENTS
๐Ÿ“œ COMMANDS ๐Ÿ› ๏ธ MISCELLANEOUS COMMANDS ๐Ÿ“ RULE SPECIFICATIONS ๐Ÿงฉ TARGET EXTENSIONS
๐Ÿ“Œ NOTES ๐Ÿ“ง MAILINGLISTS ๐Ÿ”— SEE ALSO

Generated by phpman v4.10.0-7-g98e9fd5 Author: Che Dong Under GNU General Public License
2026-09-08 23:49 @2600:1f28:365:80b0:8430:39a8:2b19:a7ca
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!