Allow ports required by the Gateway on a network security group (NSG)

This article provides step-by-step guidance on how to configure your network security group to permit inbound traffic on the necessary ports for the Gateway.

Allow Port 5000 & 5001 Inbound on an NSG

This section explains how to create a single rule that allows both port 5000 and port 5001 simultaneously. Alternatively, if you wish to create individual rules for each port, you can do so by following the same steps for each port, ensuring to select the appropriate port number and provide a distinct name for each rule.

  1. Browse to the Azure Portal
  2. Navigate to Network Security Groups and select the NSG to which the Gateway's network card is attached.
  3. In the left menu, click Inbound security rules.
  4. Click + Add to create a new rule.
  5. Fill in the rule details:
    • Source: Any (or specify as desired)
    • Source port ranges: *
    • Destination: IP Addresses
    • Destination IP addresses/CIDR ranges: IP Address of Gateway
    • Destination port ranges: 5000-5001
    • Protocol: TCP
    • Action: Allow
    • Priority: must be lower than any conflicting deny rule
    • Name: e.g. Allow-Rimo3-Gatway-Ports-5000-5001
  6. Click Add to save the rule.