Set up veth-pair OpenWrt

Discussion in 'General Discussion' started by warchieff, May 27, 2019.

  1. warchieff

    warchieff Network Newbie Member


    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.

    Incoming WAN traffic will forward to veth0

    Incoming WAN traffic to destination 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.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice