mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-12-05 05:52:35 +00:00
For example, forward tcp traffic destined to port 80 to veth0 and set
tcp port to 8080:
$ tc filter add dev enp0s9 protocol ip parent ffff: \
flower \
ip_proto tcp \
dst_port 80 \
action pedit ex munge \
tcp dport set 8080 \
action mirred egress \
redirect dev veth0
Signed-off-by: Amir Vadai <amir@vadai.me>
|
||
|---|---|---|
| .. | ||
| man3 | ||
| man7 | ||
| man8 | ||
| Makefile | ||