basic inter-vlan routing

Imagine this setup on an SX1024.

Vlan 1 :

Vlan 2 :

Vlan 3 :

I need to setup inter-vlan routing so that I can route between vlan 1,3 as well as 2,3 but not 1,2.

I’d also like to be able to route vlan 3 and 1 to internet using a router connected to the switch.

What’s the simplest way to implement this routing scenario?

Hi I think you will need to create ACL’s and apply the ACL’s to the subinterfaces