> For the complete documentation index, see [llms.txt](https://doc.engenius.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.engenius.ai/esg-application-guide/highlight-features/nat-and-port-forwarding.md).

# NAT & Port Forwarding

Network Address Translation (NAT) and port forwarding are fundamental techniques used in network management to facilitate communication between devices within a private network and the external internet. These methods are particularly crucial for enhancing security, managing public IP usage, and enabling the seamless operation of services hosted behind a firewall.

## Understanding NAT

NAT modifies the IP address information in IP packet headers while they are in transit across a traffic routing device. This process allows multiple devices on a private network to share a single public IP address for internet access.

* **1:1 NAT:** Maps a single public IP address to a single private IP address. This is often used to provide public access to a device or server located in a private network.

## Port Forwarding

Port forwarding, a specific application of NAT, directs external communications to an IP address and a specific port inside a private network based on the destination port in the incoming request. This is essential for running public services such as web servers, FTP servers, and gaming servers, which require external users to connect to a service hosted behind a network’s firewall.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.engenius.ai/esg-application-guide/highlight-features/nat-and-port-forwarding.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
