Showing Content for | Change your ZIP Code

Enter another ZIP to see info from a different area. X | `>`

!We can't find that ZIP Code. Try again.

Port forwarding – NVG589

Port forwarding lets you access devices on your home network from outside your home. Learn more about port forwarding and setup for your gateway.

You’re viewing instructions for

Modem / gateway





Learn more about port forwarding

Port forwarding is used to route incoming and outgoing data on your home network from a remote location.

Every device connected to the internet has an IP address divided into various ports that send and receive data. Your gateway routes this data to where it needs to go. When you set up port forwarding, you set up rules to tell the gateway to route data sent or received on a port to a specific IP address on your home network.

Most users won’t need to use port forwarding, but you might if you do any of the following:
  • Run a Sling box or other streaming media device
  • Host a web or gaming server
  • Access a home surveillance camera or device remotely
  • Use Remote Access or VPN to access a computer in the home
  • Host photos-sharing hard drives

Port forwarding should be used with caution because it may allow others to access devices in your home without your knowledge.

Set up port forwarding 

To open a port for user-defined applications:
  1. Go to your gateway settings.
  2. Select the Firewall tab.
  3. Enter the Device Access Code found on the side of your gateway.
  4. Select NAT/Gaming. If you receive a warning message, visit the AT&T Port Forwarding tool to enable port forwarding on your account. Then, you can continue with the steps in this solution.
  5. Select Continue.
  6. From the Service drop-down, select the application for port forwarding. 
    If your application isn't in the list, or you are setting up port forwarding for a device:
    • Select Custom Services.
    • In Service Name, enter the name for the application or device.
    • Enter the port(s) you wish to open for Global Port Range.
      It's recommended to create a separate service entry for each port as opposed to using a port range. In this case, the port number should be the same in the Global Port Range fields.
    • In Base Host Port, enter the port number used for the first Global Port Range section.
    • Select the appropriate Protocol from the drop-down for the application or device you're adding.
    • Select Add. Repeat as needed for additional applications and devices.
    • When all applications or devices have been added, select Return to NAT/Gaming. Your new applications or devices will display in the Applications list.
  7. From the Needed by Device drop-down, select the device name or IP address of the device to open the port.
  8. Select Add.
  9. When your selections display in Hosted Applications, select Save.

Congratulations, you’ve set up port forwarding for your gateway!
Last updated: May 7, 2021

Did you get the help you needed?

Great! We're so glad we could help.

We're sorry that didn't solve your issue.

Thanks for your feedback!

Community forums

Have questions about your Internet service? Explore our community forums for answers.