VLANs on WAN port

Use VLAN-aware bridge with all ports members of it. This tutorial should explain things pretty well.