Azure VPN - NAT with Port mapping

Bragi Gudmundsson 26 Reputation points
2022-11-25T09:46:51.907+00:00

Hi,

Does anybody know how the port mapping works for VPN NAT? I'm trying to map an internal port to an external port but it's not working. Also, the documentation doesn't explain the "External Port Mapping" and "Internal Port Mapping".

Documentation:
https://learn.microsoft.com/en-us/azure/vpn-gateway/nat-overview
https://learn.microsoft.com/en-us/azure/vpn-gateway/nat-howto

Example: Trying to map port 2020 to 2525 when calling an external ip using vpn:
264140-image.png

Regards,
Bragi

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,347 questions
{count} vote