It would be set in the firewall rules.
For VLAN1 outbound add destination
NOT VLAN2 and for VLAN2 outbound add destination
NOT VLAN1.
Link to an example in the MW docs. Not the same setup but will have the same effect.
http://doc.m0n0.ch/handbook-single/screens/firewall/rules/dmz-rule.png