Using ILB forwarding rule of a peered VPC as PBR next-hop

Hello,

From the documentations I see everywhere that, for PBR next-hop you can only define an ILB that's in the same VPC as the PBR itself. However, when creating the PBR there are two options for the next-hop, one is to select an existing forwarding rule from the same VPC, and the other one is to manually define a next-hop IP. My question is, would it work if I selected a remote next-hop ILB, that is in the peered VPC?

I have hub-and-spoke topology and I want to steer all inter-subnet communication via the central NVA, so if subnet1 and subnet2 wants to communicate in the same VPC, I want to use PBR to force them through the hub ILB that frontends my NVAs.

Thank you in advance!

1 REPLY 1

Update: it is indeed working when I select an ILB from a peered VPC as the PBR next-hop.