{"id":7707,"date":"2022-06-08T00:00:00","date_gmt":"2022-06-08T00:00:00","guid":{"rendered":"https:\/\/azure.microsoft.com\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat"},"modified":"2025-06-13T04:38:16","modified_gmt":"2025-06-13T11:38:16","slug":"improve-outbound-connectivity-with-azure-virtual-network-nat","status":"publish","type":"post","link":"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/","title":{"rendered":"Improve outbound connectivity with Azure Virtual Network NAT"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">For many customers, making outbound connections to the internet from their virtual networks is a fundamental requirement of their Azure solution architectures. Factors such as security, resiliency, and scalability are important to consider when designing how outbound connectivity will work for a given architecture. Luckily, Azure has just the solution for ensuring highly available and secure outbound connectivity to the internet: <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-network\/nat-gateway\/nat-overview\" target=\"_blank\" rel=\"noopener\">Virtual Network NAT<\/a>. Virtual Network NAT, also known as NAT gateway, is a fully managed and highly resilient service that is easy to scale and specifically designed to handle large-scale and variable workloads.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">NAT gateway provides outbound connectivity to the internet through its attachment to a subnet and public IP address. NAT stands for network address translation, and as its name implies, when NAT gateway is associated to a subnet, all of the private IPs of a subnet\u2019s resources (such as, virtual machines) are translated to NAT gateway\u2019s public IP address. The NAT gateway public IP address then serves as the source IP address for the subnet\u2019s resources. NAT gateway can be attached to a total of 16 IP addresses from any combination of public IP addresses and prefixes.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2022\/06\/2402b31a-b844-40ba-9143-3e0a6a60d8ba.webp\" alt=\"NAT gateway configuration example as described in the caption.\" title=\"NAT gateway configuration with a subnet and a public IP address and prefix.\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><i><strong>Figure 1:<\/strong> NAT gateway configuration with a subnet and a public IP address and prefix.<\/i><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"customer-is-halted-by-connection-timeouts-while-trying-to-make-thousands-of-connections-to-the-same-destination-endpoint\">Customer is halted by connection timeouts while trying to make thousands of connections to the same destination endpoint<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Customers in industries like finance, retail, or other scenarios that require leveraging large sets of data from the same source need a reliable and scalable method to connect to this data source.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this blog, we\u2019re going to walk through one such example that was made possible by leveraging NAT gateway.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"customer-background\">Customer background<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A customer collects a high volume of data to track, analyze, and ultimately make business decisions for one of their primary workloads. This data is collected over the internet from a service provider\u2019s REST APIs, hosted in a data center they own. Because the data sets the customer is interested in may change daily, a recurring report can\u2019t be relied on\u2014they must request the data sets each day. Because of the volume of data, results are paginated and shared in chunks. This means that the customer must make tens of thousands of API requests for this one workload each day, typically taking from one to two hours. Each request correlates to its own separate HTTP connection, similar to their previous on-premises setup.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"the-starting-architecture\">The starting architecture<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In this scenario, the customer connects to REST APIs in the service provider\u2019s on-premises network from their Azure virtual network. The service provider\u2019s on-premises network sits behind a firewall. The customer started to notice that sometimes one or more virtual machines waited for long periods of time for responses from the REST API endpoint. These connections waiting for a response would eventually time out and result in connection failures.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2022\/06\/f8f5dd52-9e00-4d55-be43-0705c2db6d90.webp\" alt=\"Diagram showing traffic flow from the customer's Azure Infrastructure to on-premises data center.\" title=\"Azure infrat to REST API traffic diagram\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><i><strong>Figure 2:<\/strong> The customer sends traffic from their virtual machine scale set (VMSS) in their Azure virtual network over the internet to an on-premises service provider\u2019s data center server (REST API) that is fronted by a firewall.<\/i><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"the-investigation\">The investigation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Upon deeper inspection with packet captures, it was found that the service provider\u2019s firewall was silently dropping incoming connections from their Azure network. Since the customer\u2019s architecture in Azure was specifically designed and scaled to handle the volume of connections going to the service provider\u2019s REST APIs for collecting the data they required, this seemed puzzling. So, what exactly was causing the issue?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The customer, the service provider, and Microsoft support engineers collectively investigated why connections from the Azure network were being sporadically dropped, and made a key discovery. Only connections coming from a source port and IP address that were recently used (on the order of 20 seconds) were dropped by the service provider\u2019s firewall. This is because the service provider\u2019s firewall enforces a 20-second cooldown period on new connections coming from the same source IP and port. Any connections using a new source port on the same public IP were not impacted by the firewall\u2019s cooldown timer. From these findings, it was concluded that source network address translation (SNAT) ports from the customer\u2019s Azure virtual network were being reused too quickly to make new connections to the service provider\u2019s REST API. When ports were reused before the cooldown timer completed, the connection would timeout and ultimately fail. The customer was then confronted with the question of,&nbsp;<em>how do we prevent ports from being reused too quickly to make connections to the service provider\u2019s REST API?<\/em>&nbsp;Since the firewall\u2019s cooldown timer could not be changed, the customer had to work within its constraints.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"nat-gateway-to-the-rescue\">NAT gateway to the rescue<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Based on this data, NAT gateway was introduced into the customer\u2019s setup in Azure as a proof of concept. With this one change, connection timeout issues became a thing of the past.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">NAT gateway was able to resolve this customer\u2019s outbound connectivity issue to the service provider\u2019s REST APIs for two reasons. One, NAT gateway selects ports at random from a large inventory of ports. The source port selected to make a new connection has a high probability of being new and therefore will pass through the firewall without issue. This large inventory of ports available to NAT gateway is derived from the public IPs attached to it. Each public IP address attached to NAT gateway provides 64,512 SNAT ports to a subnet\u2019s resources and up to 16 public IP addresses can be attached to NAT gateway. That means a customer can have over 1 million SNAT ports available to a subnet for making outbound connections. Secondly, source ports being reused by NAT gateway to connect to the service provider\u2019s REST APIs are not impacted by the firewall\u2019s 20-second cooldown timer. This is because the source ports are set on their own cooldown timer by NAT gateway for at least as long as the firewall\u2019s cooldown timer before they can be reused. See our public article on <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-network\/nat-gateway\/nat-gateway-resource#timers\" target=\"_blank\" rel=\"noopener\">NAT gateway SNAT port reuse timers<\/a> to learn more.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Stay tuned for our next blog where we\u2019ll do a deep dive into how NAT gateway solves for SNAT port exhaustion through not only its SNAT port reuse behavior but also through how it dynamically allocates SNAT ports across a subnet\u2019s resources.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"learn-more\">Learn more<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Through the customer scenario above, we learned how NAT gateway\u2019s selection and reuse of SNAT ports proves why it is Azure\u2019s recommended option for connecting outbound to the internet. Because NAT gateway is not only able to mitigate risk of SNAT port exhaustion but also connection timeouts through its randomized port selection, NAT gateway ultimately serves as the best option when connecting outbound to the internet from your Azure network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To learn more about NAT gateway, see <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-network\/nat-gateway\/nat-gateway-resource\" target=\"_blank\" rel=\"noopener\">Design virtual networks with NAT gateway<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For many customers, making outbound connections to the internet from their virtual networks is a fundamental requirement of their Azure solution architectures. Luckily, Azure has just the solution for ensuring highly available and secure outbound connectivity to the internet: Virtual Network Network Address Translation. Virtual Network NAT, also known as NAT gateway, is a fully managed and highly resilient service that is easy to scale and specifically designed to handle large-scale and variable workloads.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ms_queue_id":[],"ep_exclude_from_search":false,"_classifai_error":"","_classifai_text_to_speech_error":"","_alt_title":"","footnotes":"","msx_community_cta_settings":[]},"categories":[1457],"tags":[],"audience":[3053,3056],"content-type":[1481],"product":[1602],"tech-community":[],"topic":[],"coauthors":[1720],"class_list":["post-7707","post","type-post","status-publish","format-standard","hentry","category-networking","audience-it-decision-makers","audience-it-implementors","content-type-thought-leadership","product-virtual-network","review-flag-1-1680286581-825","review-flag-2-1680286581-601","review-flag-new-1680286579-546"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Improve outbound connectivity with Azure Virtual Network NAT | Microsoft Azure Blog<\/title>\n<meta name=\"description\" content=\"For many customers, making outbound connections to the internet from their virtual networks is a fundamental requirement of their Azure solution architectures. Luckily, Azure has just the solution for ensuring highly available and secure outbound connectivity to the internet: Virtual Network Network Address Translation. Virtual Network NAT, also known as NAT gateway, is a fully managed and highly resilient service that is easy to scale and specifically designed to handle large-scale and variable workloads.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Improve outbound connectivity with Azure Virtual Network NAT | Microsoft Azure Blog\" \/>\n<meta property=\"og:description\" content=\"For many customers, making outbound connections to the internet from their virtual networks is a fundamental requirement of their Azure solution architectures. Luckily, Azure has just the solution for ensuring highly available and secure outbound connectivity to the internet: Virtual Network Network Address Translation. Virtual Network NAT, also known as NAT gateway, is a fully managed and highly resilient service that is easy to scale and specifically designed to handle large-scale and variable workloads.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft Azure Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/microsoftazure\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-08T00:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-13T11:38:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2022\/06\/2402b31a-b844-40ba-9143-3e0a6a60d8ba.webp\" \/>\n<meta name=\"author\" content=\"Aimee Littleton\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@azure\" \/>\n<meta name=\"twitter:site\" content=\"@azure\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Aimee Littleton\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/\"},\"author\":[{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/aimee-littleton\/\",\"@type\":\"Person\",\"@name\":\"Aimee Littleton\"}],\"headline\":\"Improve outbound connectivity with Azure Virtual Network NAT\",\"datePublished\":\"2022-06-08T00:00:00+00:00\",\"dateModified\":\"2025-06-13T11:38:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/\"},\"wordCount\":1155,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2022\/06\/2402b31a-b844-40ba-9143-3e0a6a60d8ba.webp\",\"articleSection\":[\"Networking\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/\",\"name\":\"Improve outbound connectivity with Azure Virtual Network NAT | Microsoft Azure Blog\",\"isPartOf\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2022\/06\/2402b31a-b844-40ba-9143-3e0a6a60d8ba.webp\",\"datePublished\":\"2022-06-08T00:00:00+00:00\",\"dateModified\":\"2025-06-13T11:38:16+00:00\",\"description\":\"For many customers, making outbound connections to the internet from their virtual networks is a fundamental requirement of their Azure solution architectures. Luckily, Azure has just the solution for ensuring highly available and secure outbound connectivity to the internet: Virtual Network Network Address Translation. Virtual Network NAT, also known as NAT gateway, is a fully managed and highly resilient service that is easy to scale and specifically designed to handle large-scale and variable workloads.\",\"breadcrumb\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#primaryimage\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2022\/06\/2402b31a-b844-40ba-9143-3e0a6a60d8ba.webp\",\"contentUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2022\/06\/2402b31a-b844-40ba-9143-3e0a6a60d8ba.webp\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog home\",\"item\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Networking\",\"item\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/category\/networking\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Improve outbound connectivity with Azure Virtual Network NAT\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#website\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\",\"name\":\"Microsoft Azure Blog\",\"description\":\"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.\",\"publisher\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\",\"name\":\"Microsoft Azure Blog\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp\",\"contentUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp\",\"width\":512,\"height\":512,\"caption\":\"Microsoft Azure Blog\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/microsoftazure\",\"https:\/\/x.com\/azure\",\"https:\/\/www.instagram.com\/microsoftdeveloper\/\",\"https:\/\/www.linkedin.com\/company\/16188386\",\"https:\/\/www.youtube.com\/user\/windowsazure\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/person\/c702e5edd662b328b49b7e1180cab117\",\"name\":\"shakir\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g7664e653ea371ce16eaf75e9fa8952c4\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g\",\"caption\":\"shakir\"},\"sameAs\":[\"https:\/\/azure.microsoft.com\"],\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/shakir\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Improve outbound connectivity with Azure Virtual Network NAT | Microsoft Azure Blog","description":"For many customers, making outbound connections to the internet from their virtual networks is a fundamental requirement of their Azure solution architectures. Luckily, Azure has just the solution for ensuring highly available and secure outbound connectivity to the internet: Virtual Network Network Address Translation. Virtual Network NAT, also known as NAT gateway, is a fully managed and highly resilient service that is easy to scale and specifically designed to handle large-scale and variable workloads.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/","og_locale":"en_US","og_type":"article","og_title":"Improve outbound connectivity with Azure Virtual Network NAT | Microsoft Azure Blog","og_description":"For many customers, making outbound connections to the internet from their virtual networks is a fundamental requirement of their Azure solution architectures. Luckily, Azure has just the solution for ensuring highly available and secure outbound connectivity to the internet: Virtual Network Network Address Translation. Virtual Network NAT, also known as NAT gateway, is a fully managed and highly resilient service that is easy to scale and specifically designed to handle large-scale and variable workloads.","og_url":"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/","og_site_name":"Microsoft Azure Blog","article_publisher":"https:\/\/www.facebook.com\/microsoftazure","article_published_time":"2022-06-08T00:00:00+00:00","article_modified_time":"2025-06-13T11:38:16+00:00","og_image":[{"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2022\/06\/2402b31a-b844-40ba-9143-3e0a6a60d8ba.webp","type":"","width":"","height":""}],"author":"Aimee Littleton","twitter_card":"summary_large_image","twitter_creator":"@azure","twitter_site":"@azure","twitter_misc":{"Written by":"Aimee Littleton","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#article","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/"},"author":[{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/aimee-littleton\/","@type":"Person","@name":"Aimee Littleton"}],"headline":"Improve outbound connectivity with Azure Virtual Network NAT","datePublished":"2022-06-08T00:00:00+00:00","dateModified":"2025-06-13T11:38:16+00:00","mainEntityOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/"},"wordCount":1155,"commentCount":0,"publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2022\/06\/2402b31a-b844-40ba-9143-3e0a6a60d8ba.webp","articleSection":["Networking"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/","name":"Improve outbound connectivity with Azure Virtual Network NAT | Microsoft Azure Blog","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#primaryimage"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2022\/06\/2402b31a-b844-40ba-9143-3e0a6a60d8ba.webp","datePublished":"2022-06-08T00:00:00+00:00","dateModified":"2025-06-13T11:38:16+00:00","description":"For many customers, making outbound connections to the internet from their virtual networks is a fundamental requirement of their Azure solution architectures. Luckily, Azure has just the solution for ensuring highly available and secure outbound connectivity to the internet: Virtual Network Network Address Translation. Virtual Network NAT, also known as NAT gateway, is a fully managed and highly resilient service that is easy to scale and specifically designed to handle large-scale and variable workloads.","breadcrumb":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#primaryimage","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2022\/06\/2402b31a-b844-40ba-9143-3e0a6a60d8ba.webp","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2022\/06\/2402b31a-b844-40ba-9143-3e0a6a60d8ba.webp"},{"@type":"BreadcrumbList","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improve-outbound-connectivity-with-azure-virtual-network-nat\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog home","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/"},{"@type":"ListItem","position":2,"name":"Networking","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/category\/networking\/"},{"@type":"ListItem","position":3,"name":"Improve outbound connectivity with Azure Virtual Network NAT"}]},{"@type":"WebSite","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","name":"Microsoft Azure Blog","description":"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.","publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/azure.microsoft.com\/en-us\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization","name":"Microsoft Azure Blog","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","width":512,"height":512,"caption":"Microsoft Azure Blog"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/microsoftazure","https:\/\/x.com\/azure","https:\/\/www.instagram.com\/microsoftdeveloper\/","https:\/\/www.linkedin.com\/company\/16188386","https:\/\/www.youtube.com\/user\/windowsazure"]},{"@type":"Person","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/person\/c702e5edd662b328b49b7e1180cab117","name":"shakir","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g7664e653ea371ce16eaf75e9fa8952c4","url":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g","caption":"shakir"},"sameAs":["https:\/\/azure.microsoft.com"],"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/shakir\/"}]}},"msxcm_display_generated_audio":false,"msxcm_animated_featured_image":null,"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Microsoft Azure Blog","distributor_original_site_url":"https:\/\/azure.microsoft.com\/en-us\/blog","push-errors":false,"_links":{"self":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/7707","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/comments?post=7707"}],"version-history":[{"count":1,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/7707\/revisions"}],"predecessor-version":[{"id":41776,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/7707\/revisions\/41776"}],"wp:attachment":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/media?parent=7707"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/categories?post=7707"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tags?post=7707"},{"taxonomy":"audience","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/audience?post=7707"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/content-type?post=7707"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/product?post=7707"},{"taxonomy":"tech-community","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tech-community?post=7707"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/topic?post=7707"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/coauthors?post=7707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}