summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_DSCP.txlate
blob: 442742ef9984d89a42f4f391fbc8f8f1b389ba64 (plain)
1
2
3
4
5
iptables-translate -A OUTPUT -j DSCP --set-dscp 1
nft add rule ip filter OUTPUT counter ip dscp set 0x01

ip6tables-translate -A OUTPUT -j DSCP --set-dscp 6
nft add rule ip6 filter OUTPUT counter ip6 dscp set 0x06