Header Ads Widget

[MAN] tc-xt

Content-type: text/html; charset=UTF-8 Man page of iptables action in tc

iptables action in tc

Section: Linux (8)
Updated: 3 Mar 2016
Index Return to Main Contents

 

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 TARGET [ TARGET_OPTS ]
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), tc-u32(8), iptables-extensions(8)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 04:46:02 GMT, September 16, 2022

댓글 쓰기

0 댓글