Skip to main content
This topic describes how to create a Megaport NAT Gateway (NAT Gateway). The guides you through selecting a location, specifying NAT Gateway configuration details, and placing the order. Before you begin, you need to set up your Portal account. You will only be able to create NAT Gateways in billing markets you are registered in. For more information, see Setting Up a Megaport Account. To create a Megaport NAT Gateway
  1. In the , go to the Services page.
  2. Click Add Service, then select NAT Gateway. The Create NAT Gateway page opens. Complete the sections on this page to configure your NAT Gateway. The order summary updates as you make selections. On wider screens, the summary is displayed in a panel on the right. On narrower screens, it is displayed in a bar at the bottom of the page that you can expand.
  3. In the Details section, specify these fields:
    • NAT Gateway Name — Specify a name that helps you identify the NAT Gateway, particularly if you plan to have more than one NAT Gateway. For example, gcp-aws-nat-gateway.
    • Service Level Reference (optional) — Specify a unique identifying number for your Megaport service to be used for billing purposes, such as a cost center number, unique customer ID, or purchase order number. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service.
      A VXC associated with the NAT Gateway is not automatically updated with the NAT Gateway service level reference number.
    • Project (optional) — Select a project to add the NAT Gateway to, or leave the default (No Project).
      You can type in the field to search by project name. The selected project appears in the order summary, and the NAT Gateway is added to it when provisioned.
      To create a project without leaving the page, select New Project at the bottom of the list, then specify a project name and, optionally, a description. The new project is automatically selected for the order.
  4. In the Location section, specify these fields:
    • Location — Select your preferred location. Use the Search field to find a location by metro name or country. In Manual mode, you can also search by data center name, provider name, or address details, such as a street, city, state, or postcode. Alternatively, browse the region tabs, then select a location.
    • Mode — Select Auto to have Megaport automatically choose a provider and data center at the selected location. Select Manual to choose the provider and data center yourself.
    • Diversity Zone — Select Red or Blue, or select Auto to have Megaport select the zone for you. The selected diversity zone appears in the order summary. For more information, see NAT Gateway Diversity.
  5. If you selected Manual mode, in the Provider section, select a data center provider, then select a data center from the Data Center drop-down list.
    Only providers and data centers available at your selected location are listed.
  6. In the Configure Product section, specify these fields:
    • Session Count — Select the maximum number of concurrent sessions the NAT Gateway can manage. Session counts that are not available at the selected data center are grayed out. The session count is fixed for the life of the service.
    • Rate Limit — Select the rate limit. The rate limit is an aggregate capacity that determines the speed for all connections through the NAT Gateway. Available rate limits depend on the selected data center and session count, and unavailable rate limits are grayed out. The rate limit is fixed for the life of the service.
    • NAT Gateway ASN — Specify the autonomous system number (ASN) of this NAT Gateway, or use the default public ASN, 133937, supplied by Megaport. For most configurations, the default ASN is appropriate. The ASN is used for BGP peering sessions on any VXCs connected to this NAT Gateway. See the documentation for your cloud providers before overriding the default value. For example, some public cloud services require the use of a public ASN, and Microsoft blocks an ASN value of 65515 for Azure connections. For more information about overriding the NAT Gateway ASN, see Configuring Advanced BGP Settings.
    • BGP Default State — Select whether BGP connections are enabled or shut down by default. Select Enabled (the default) if you want any new BGP sessions you configure to be live as soon as you save the configuration. Select Shut Down if you want any new BGP sessions you configure to be left in a shut down state when you save the configuration. For example, you might want to select Shut Down if you are planning to add several BGP sessions across your Virtual Cross Connects (VXCs) but know that you want to do some other router setup before you want them exchanging route information. When you finish configuring your routers, you can then go into the relevant BGP sessions and enable them. You can override this setting for an individual connection in the BGP setup screen. For more information about overriding the BGP state for an individual connection, see Shutting down a BGP connection.
  7. In the Pricing section, specify these fields:
    • Contract Term — Select a contract term: No Minimum Term, 12 Months, 24 Months, 36 Months, 48 Months, or 60 Months. Longer terms result in a lower monthly rate.
    • Contract Renewal — Automatically renews the contract at the same price and term length when the current term ends. If you disable it, the contract rolls over to a month-to-month term at the end of the current term, without the term discount. Contract Renewal is not available when you select No Minimum Term. For more information, see Managing Minimum Term Renewal.
    For more information about contract terms, see NAT Gateway Pricing and Contract Terms.
  8. In the Resource Tags section, add any tags you want to apply to this NAT Gateway.
    • Resource Tags — You can use resource tags to add your own reference metadata to a Megaport service.
      To add a tag:
      1. Click Add Tags.
      2. Click Add New Tag.
      3. Enter details into the fields:
        • Key — String, maximum length 128 characters. Valid values are a-z 0-9 _ : . / \ -
        • Value — String, maximum length 256 characters. Valid values are a-z A-Z 0-9 _ : . @ / + \ - and spaces
      4. Click Save. If you already have resource tags for that service, you can manage them by clicking Manage Tags.
      Never include sensitive information in a resource tag. Sensitive information includes commands that return existing tag definitions and information that will identify a person or company.
    The price in the order summary updates dynamically based on your selections. Note that some partner-managed accounts do not display the pricing details.
  9. Review the order summary, then click Add NAT Gateway. The newly created NAT Gateway is added to your cart under Configured Services, ready for checkout.
  10. (Recommended) Create a second NAT Gateway, selecting the alternate diversity zone. For example, if the first NAT Gateway was created in the blue diversity zone, create a second NAT Gateway in the red diversity zone.
  11. Click Review Order to proceed through the checkout process, or click Save to save the configured services before placing the order.
  12. Review the Important Information section and confirm agreement with the Service Agreements. If you do not have a promotion code, skip to the Order Now step. If you do have a promotion code, enter it into the Enter discount code field then click Apply. Alternatively, if a code already appears in the Discounts field, verify it is correct and click Apply. The promotional discount appears below the Standard Term discount. This discount is not reflected in the Monthly Rate shown here, it is applied at the time of billing. If an invalid or expired code causes an error with your order, contact your Megaport Account Manager for a replacement code. If you entered an incorrect promotion code, you can remove it by clicking Remove.
    In addition to entering a promotion code manually, there are two other ways to apply promotion codes.
    • Auto-apply — Megaport automatically applies the promotion code to your order. It appears automatically on the Checkout page.
    • Manual list — Eligible promotion codes appear at checkout for any applicable services in your cart. You can then select and apply them.
  13. Click Order Now.
NAT Gateways are postpaid. For example, if you place your order on the 15th of January, your first invoice will be on the 1st of February, and will have a proportional charge for the period from the 15th of January to the 31st of January.
Now that you have deployed a Megaport NAT Gateway, the next step is to add a Virtual Cross Connect (VXC) to a CSP, a local port, or a third-party network. You can optionally connect a physical Port to the NAT Gateway using a private VXC or connect to a service provider in the Megaport Marketplace. For more information about adding VXCs, see Creating a NAT Gateway VXC.

Helpful references

Last modified on October 15, 2026