1iptables action in tc(8) Linux iptables action in tc(8)
2
3
4
6 xt - tc iptables action
7
9 tc ... action xt -j TARGET [ TARGET_OPTS ]
10
12 The xt action allows one to call arbitrary iptables targets for packets
13 matching the filter this action is attached to.
14
16 -j TARGET [ TARGET_OPTS ]
17 Perform a jump to the given iptables target, optionally passing
18 any target specific options in TARGET_OPTS.
19
21 The following will attach a u32 filter to the ingress qdisc matching
22 ICMP replies and using the xt action to make the kernel yell 'PONG'
23 each time:
24
25 tc qdisc add dev eth0 ingress
26 tc filter add dev eth0 parent ffff: proto ip u32 \
27 match ip protocol 1 0xff \
28 match ip icmp_type 0 0xff \
29 action xt -j LOG --log-prefix PONG
30
32 tc(8), tc-u32(8), iptables-extensions(8)
33
34
35
36iproute2 3 Mar 2016 iptables action in tc(8)