Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to route traffic in the same VPC but different subnets to a node(VM) first?

This is my simple architecture diagram. I want the traffic between VM1 and VM2 to be inspected by Node(VM) before reaching the destination.
However, the default route will allow vm1 and vm2 to communicate directly without going through the node. Is there any setting that can satisfy this part?
 
And I tried to add the static route, here is my setting:
Destination IPv4 range : 10.2.0.0/24
Next hop : Node IP 10.1.0.5
Priority : 0
 
It will show the error message:
Creating route "subnet1-to-gateway" failed. Error: Operation type [insert] failed with message "10.2.0.0/24 hides the address space of the network (10.2.0.0/24). Cannot change the routing of packets destined for the network."
 
It means these ip are overridden by the default route? 
unnamed.png
1 7 2,034