Albert K
2014-08-11 10:25:27 UTC
Hi,
I am trying out nftables and at a loss on how to achieve the following
iptables systax. I have eth0 and eth1 in bridge mode and classifying
traffic to a TC classid. Any help would be appreciated. Thank you.
iptables -t mangle -A POSTROUTING -p tcp -m multiport --sports
80,443,8080 -m physdev --physdev-out eth0 -j CLASSIFY --set-class 1:2
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 7mbit ceil 7mbit prio 2
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
I am trying out nftables and at a loss on how to achieve the following
iptables systax. I have eth0 and eth1 in bridge mode and classifying
traffic to a TC classid. Any help would be appreciated. Thank you.
iptables -t mangle -A POSTROUTING -p tcp -m multiport --sports
80,443,8080 -m physdev --physdev-out eth0 -j CLASSIFY --set-class 1:2
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 7mbit ceil 7mbit prio 2
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html