[][kernel][common][hnat][Remove iptables tos to skb mark rules of mtkhnat_util]
[Description]
Remove iptables tos to skb mark rules of mtkhnat_util.
Without this patch, the tos(dscp) to skb mark rules would be
default added into iptables FORWARD chain of mangle table,
and rewrite the mark set before the FORWARD chain.
[Release-log]
N/A
Change-Id: I5979b24ffdfb1d567cc2466ab6be5fcd85b0e48d
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9815318
diff --git a/feed/app/mtkhnat_util/files/99-firewall b/feed/app/mtkhnat_util/files/99-firewall
index 8c59b3f..dad9425 100755
--- a/feed/app/mtkhnat_util/files/99-firewall
+++ b/feed/app/mtkhnat_util/files/99-firewall
@@ -1,7 +1,3 @@
echo "iptables -I OUTPUT -t raw -p tcp --dport 1723 -j CT --helper pptp" >> /etc/firewall.user
-echo "iptables -t mangle -A FORWARD -m dscp --dscp-class BE -j MARK --set-mark 0" >> /etc/firewall.user
-echo "iptables -t mangle -A FORWARD -m dscp --dscp-class CS2 -j MARK --set-mark 2" >> /etc/firewall.user
-echo "iptables -t mangle -A FORWARD -m dscp --dscp-class CS4 -j MARK --set-mark 4" >> /etc/firewall.user
-echo "iptables -t mangle -A FORWARD -m dscp --dscp-class CS6 -j MARK --set-mark 6" >> /etc/firewall.user
exit 0