# Network communication

In this video, we’ll look at all the components of rport and how they communicate with each other.

### The video covers <a href="#the-video-covers" id="the-video-covers"></a>

* What ports are used for what?
* What needs to be allowed on your firewall?
* How does remote access over tunnels work?
* What port forwarding do you need if you are using a router with Network Address Translation?

We will start with an RPort server with a directly attached public IP address.

In the second part, I’ll explain how the setup changes if you run the rport server behind network address translation, where the public IP address is bound to the router.

{% embed url="<https://vimeo.com/798835798>" %}
RPort Network communication explained
{% endembed %}


---

# Agent Instructions: 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:

```
GET https://kb.rport.io/video-courses/network-communication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
