Modify local network gateway settings using the Azure portal

Sometimes the settings for your local network gateway AddressPrefix or GatewayIPAddress change. This article shows you how to modify your local network gateway settings. You can also modify these settings using a different method by selecting a different option from the following list:

Local network gateway configuration

The screenshot below shows the Configuration page of a local network gateway resource using public IP address endpoint:

IP address settings

This is the configuration page with an FQDN endpoint:

FQDN settings

To modify the gateway IP address or FQDN

Note

You cannot change a local network gateway between FQDN endpoint and IP address endpoint. You must delete all connections associated with this local network gateway, create a new one with the new endpoint (IP address or FQDN), then recreate the connections.

If the VPN device to which you want to connect has changed its public IP address, modify the local network gateway using the following steps:

  1. On the Local Network Gateway resource, in the Settings section, select Configuration.
  2. In the IP address box, modify the IP address.
  3. Select Save to save the settings.

If the VPN device to which you want to connect has changed its FQDN (Fully Qualified Domain Name), modify the local network gateway using the following steps:

  1. On the Local Network Gateway resource, in the Settings section, select Configuration.
  2. In the FQDN box, modify the domain name.
  3. Select Save to save the settings.

To modify IP address prefixes

To add additional address prefixes:

  1. On the Local Network Gateway resource, in the Settings section, select Configuration.
  2. Add the IP address space in the Add additional address range box.
  3. Select Save to save your settings.

To remove address prefixes:

  1. On the Local Network Gateway resource, in the Settings section, select Configuration.
  2. Select the '...' on the line containing the prefix you want to remove.
  3. Select Remove.
  4. Select Save to save your settings.

To modify BGP settings

To add or update BGP settings:

  1. On the Local Network Gateway resource, in the Settings section, select Configuration.
  2. Select "Configure BGP settings" to display or update the BGP configurations for this local network gateway
  3. Add or update the Autonomous system number or BGP peer IP address in the corresponding fields
  4. Select Save to save your settings.

To remove BGP settings:

  1. On the Local Network Gateway resource, in the Settings section, select Configuration.
  2. Unselect the "Configure BGP settings" to remove the existing BGP ASN and BGP peer IP address
  3. Select Save to save your settings.

Next steps

You can verify your gateway connection. See Verify a gateway connection.