Home / cs-notes / Operating System / Linux / Commands / iptables
iptables
targets
- ACCEPT
- DROP
- RETURN
tables
- -t / –tables
- filter
- nat
OPTIONS
- -A, –append chain
- -D, –delete chain
- -I, –insert chain
- -L, –list [chain]
- -P, –policy chain target
- -F, –flush [chain]
PARAMETERS
- -p, –protocol protocol
- -s, –source address[/mask][,…]
- -d, –destination address[/mask][,…]
- -j, –jump target
- -m, –match match
SEE ALSO
- iptables-apply
- iptables-save
- iptables-restore
- iptables-extensions