# tc-xt(8) - man - phpMan

iptables action in [tc(8)](https://www.chedong.com/phpMan.php/man/tc/8/markdown)                        Linux                       iptables action in [tc(8)](https://www.chedong.com/phpMan.php/man/tc/8/markdown)



## NAME
       xt - tc iptables action

## SYNOPSIS
       **tc** ... **action** **xt** **-j** _TARGET_ [ _TARGET_OPTS_ ]

## DESCRIPTION
       The  **xt** action allows to call arbitrary iptables targets for packets matching the filter this
       action is attached to.

## OPTIONS
### -j
              Perform a jump to the given iptables target, optionally passing  any  target  specific
              options in _TARGET_OPTS_.

## EXAMPLES
       The  following  will attach a **u32** filter to the **ingress** qdisc matching ICMP replies and using
       the **xt** action to make the kernel yell 'PONG' each time:

              tc qdisc add dev eth0 ingress
              tc filter add dev eth0 parent ffff: proto ip u32 \
                   match ip protocol 1 0xff \
                   match ip icmp_type 0 0xff \
                   action xt -j LOG --log-prefix PONG

## SEE ALSO
       [**tc**(8)](https://www.chedong.com/phpMan.php/man/tc/8/markdown), [**tc-u32**(8)](https://www.chedong.com/phpMan.php/man/tc-u32/8/markdown), [**iptables-extensions**(8)](https://www.chedong.com/phpMan.php/man/iptables-extensions/8/markdown)



iproute2                                     3 Mar 2016                     iptables action in [tc(8)](https://www.chedong.com/phpMan.php/man/tc/8/markdown)
