GL-B1300 two physical ports as wan switch

hi @jeffsf, your solution works, i use eth0 as wan (the two physical lan ports) instead of eth1 (the physical wan port) and use the vlan for the clients connected on lan

this is the switch configuration

config switch_vlan
    option device 'switch0'
    option vlan '1'
    option ports '3 4 0t'

config switch_vlan
    option device 'switch0'
    option vlan '2'
    option ports '5 0t'

config switch_vlan
    option device 'switch0'
    option vlan '3'
    option vid '20'
    option ports '3t 4t 0t'

This adds the new interface

config interface 'wan20'
        option ifname 'eth0.20'
        option proto 'none'

And use relayd to bridge the packets on lan to the wan.X.

config interface 'clientsbridge'
        option proto 'relay'
        list network 'lan'
        list network 'wan20'

I think that would be better to add interface eth0.20 to the lan bridge instead of using relayd.

Thanks.,