Created
January 30, 2021 10:05
-
-
Save tg12/5e6435694e5491f9cc32b41ae7b29f70 to your computer and use it in GitHub Desktop.
Revisions
-
tg12 created this gist
Jan 30, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ iptables -t mangle -A OUTPUT -p udp -j DSCP --set-dscp-class ef root@raspberrypi:~# iptables -t nat -L Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain INPUT (policy ACCEPT) target prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination root@raspberrypi:~# iptables -t mangle -L Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination DSCP udp -- anywhere anywhere DSCP set 0x2e Chain POSTROUTING (policy ACCEPT) target prot opt source destination