Need a solution to divert a particular ip range from a particular site in S2S connection to deliver all traffic to path to access internet

Sayan Mallick 0 Reputation points
2024-11-06T05:24:21.22+00:00

We have a Virtual Machine (10.0.0.6) in Azure (on Linux OS )running a particular application with internet connectivity though the default route 0.0.0.0/0 via internet.

The Virtual Machine (10.0.0.6) is connected to two on prem sites say S1 & S2 via Site to site VPN .

We want all traffic from S1 use the default route 0.0.0.0/0 via internet in VM (10.0.0.6) to reach internet.

But all traffic from S2 shouldn't use the default route 0.0.0.0/0 via internet in VM, instead we want it to use customer's own network (say S3) to reach internet.IMG_20241106_104803

What solution can be implemented to achieve this ?

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,559 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,516 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.