First page Back Continue Last page Overview Graphics
Syntax
iptables -t Table -Action Chain Match -j Target –Option
-t Tablename – defaults to filter. Not needed unless creating rule for nat or mangle (use lower case)
Action – Single capital letter such as -A(ppend), -I(nsert), -D(elete), -R(eplace)
-j – signals a jump to the following Target
Option – some targets take options such as the port to map to in redirection or the Source Address to use in SNAT
Notes: