You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
891 B

ip6tables-translate -A INPUT -j TOS --set-tos 0x1f
nft add rule ip6 filter INPUT counter ip6 dscp set 0x07
ip6tables-translate -A INPUT -j TOS --set-tos 0xff
nft add rule ip6 filter INPUT counter ip6 dscp set 0x3f
ip6tables-translate -A INPUT -j TOS --set-tos Minimize-Delay
nft add rule ip6 filter INPUT counter ip6 dscp set 0x04
ip6tables-translate -A INPUT -j TOS --set-tos Minimize-Cost
nft add rule ip6 filter INPUT counter ip6 dscp set 0x00
ip6tables-translate -A INPUT -j TOS --set-tos Normal-Service
nft add rule ip6 filter INPUT counter ip6 dscp set 0x00
ip6tables-translate -A INPUT -j TOS --and-tos 0x12
nft add rule ip6 filter INPUT counter ip6 dscp set 0x00
ip6tables-translate -A INPUT -j TOS --or-tos 0x12
nft add rule ip6 filter INPUT counter ip6 dscp set 0x04
ip6tables-translate -A INPUT -j TOS --xor-tos 0x12
nft add rule ip6 filter INPUT counter ip6 dscp set 0x04