-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCOMMANDS
More file actions
34 lines (25 loc) · 966 Bytes
/
COMMANDS
File metadata and controls
34 lines (25 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
ipta remind
Reminds user of iptables chain/tables flow
ipta list [CT|CTR|INPUTPATH|FWPATH|OUTPATH]
List all matching rules in a nice format. Accepts
optional Chain/Table or Chain/Table/Rule arguments, in the format listed below
ipta addstart CT RULE
ipta addend CT RULE
Adds a new rule to the start or the end of a CT
ipta addbefore CTR RULE
ipta addafter CTR RULE
Adds a new rule before or after the named CTR
ipta remove CTR
Removes the named rule
ipta flush CT
Clears the named CT
ipta lint
Attempts to look for inconsistencies or oddities in the set of rules.
ipta imagine PACKET_DESCRIPTION
Attempts to figure out what path a specified packet will take through
iptables.
Arguments:
CT - Chain/Table. If the given Chain accepts multiple tables (non-custom chains do),
a Chain/Table pairing in the format CHAIN:TABLE
If it's a custom chain, a bare chain is acceptable.
CTR - Chain/Table/Rule. A CT combined with a rule number, as CT:Rule