Port Forwarding and CGNAT

Understanding Port Forwarding and CGNAT

Port forwarding is a technique used to allow external devices to access services on a private network. However, as Pineapple Net uses Carrier-Grade Network Address Translation (CGNAT), port forwarding becomes challenging or impossible to implement. CGNAT allows multiple customers to share a single public IP address, which means that incoming traffic cannot be easily directed to a specific device on the private network.

Why Port Forwarding Doesn't Work Behind CGNAT

CGNAT translates private IP addresses of devices on a local network to a single public IP address. When external traffic is directed to this public IP, CGNAT does not have the information needed to forward that traffic to the correct internal device. This results in port forwarding not functioning as expected behind CGNAT.

Options for Customers

  1. Purchase a Static IP: Customers requiring port forwarding capabilities can purchase a Static IP from us. A Static IP provides a dedicated public IP address, allowing for easier implementation of port forwarding.

  2. Use a Dynamic DNS (DDNS) Service: Alternatively, customers can use a Dynamic DNS (DDNS) service. DDNS allows users to assign a domain name to their dynamic IP address, which automatically updates when the IP address changes. This can be useful for accessing devices behind CGNAT without a Static IP.

How to Purchase a Static IP

Customers can request a Static IP by contacting our Accounts team. Upon request, the Static IP will be provisioned to the customer's account, and the additional fee will be reflected in the monthly bill.

Considerations

  • Compatibility: Ensure that your equipment and applications support the use of a Static IP or a DDNS service.
  • Security: Implement appropriate security measures when exposing devices to the internet, such as using strong passwords and keeping software up to date.

By understanding the limitations of port forwarding behind CGNAT and exploring the available options, customers can effectively manage their networking needs.