I am trying to set up sqm for my wan in default OpenWrt on a Linksys3200acm, it is bridged to a Asus-dsl rt86u modem. I have installed k-modveth, ipfull, and app-luci-sqm on OpenWrt.
WAN will forward to veth0
WAN to LAN will forward to veth0
I have attempted to set it up with the following:
add veth1 to br-lan bridge
sqm egress veth0, sqm ingress veth1
apply these rules
ip link add type veth
ip link set up veth0
ip link set up veth1
ip link set veth1 master br-lan
iptables -A FORWARD -i eth1.2 -o veth0 -j ACCEPT
iptables -A FORWARD -s -i eth1.2 -d br-lan -o veth0 -j ACCEPT
This is not functional. I need a step by step guide for setting up a veth pair for OpenWrt.