question

49005204 avatar image
0 Votes"
49005204 asked msrini-MSFT answered

Using Azure P2S VPN as a normal VPN

Hello,

I was wondering if there's a possibility to use the P2S VPN in Azure to connect to resources outside Azure? For example by applying a NAT to the gateway subnet one would think that it provides a way out for the connection.


Example:

My Ethernet has the public IP 12.12.12.12
My NAT has the public IP of 13.13.13.13
I want to connect to Google.com, let's say that their public IP is static an is 8.8.8.8

If I set up a private DNS record with a name (let's say "google.my.vpn.com"), and this private DNS is linked with my VNET that the P2S is connected to, is there a way for me to connect to google.my.vpn.com (8.8.8.8) using my NAT IP (13.13.13.13) instead of going to google.com with my ethernet public IP?

The reason why I want this is because we have integrations with 3rd parties that use whitelisting and I want to unify the connection to these 3rd parties. We already have a P2S VPN to connect to our Azure resources but I don't want to invest in a separate VPN as we don't need it other then this use case for now.


As a side note, if this is NOT possible, does Azure provide any type of normal VPN that you can buy?

Best regards,
Ehsan

azure-virtual-networkazure-vpn-gateway
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

msrini-MSFT avatar image
0 Votes"
msrini-MSFT answered

@49005204,

You can deploy Azure WAN along with Azure firewall and force your P2S Internet traffic via Azure firewall or any 3rd party provider.

Reference: https://docs.microsoft.com/en-us/azure/firewall-manager/secure-cloud-network

Other than that using only P2S with VPN gateway your ask is not possible.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.