Route S2S VPN traffic coming into Azure to Internet

Colin 0 Reputation points
2024-03-25T20:54:10.37+00:00

We have a client that (for whatever reason) requires SFTP traffic leaving their LAN to exit through a VPN, but our network security policy does not allow for VPN connections to external networks (aka client networks such as this. Our SFTP site is publicly hosted so any internet connection can reach it.

To appease both parties, I was asked to create our side of the VPN tunnel within an Azure subscription that is not tied to our domain, and have the client SFTP traffic route out of the tunnel, to the internet and our SFTP server, back to the Azure sub, and then finally back over the VPN.

I have created the needed resources for a S2S connection with the client, established the VPN tunnel with them, and can see 'Data in' on the Connection resource, but do not see any 'Data out'. I have also created a route table within the same resource group as all VPN resources and configured routes for traffic through the the VPN with next hop set to 'Internet' and the return traffic with the SFTP device IPs as the destination to next hop to the Virtual Network Gateway.

Am I trying to do something Azure was not designed for/doesn't support? If now, how do I get traffic to route between the VPN tunnel and internet?

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,389 questions
{count} votes