# Forwarding Traffic

### Types of Forwarding Rules:

* Forward-All
* Forward-Port
* Forward-Bulk-Port

#### Forward-All

Mirror an endpoint 1:1 (one-to-one), for example:

{% hint style="info" %}
Forward-All will automatically start forwarding all ICMP/UDP/TCP traffic.
{% endhint %}

```
202.181.177.177 - Rented IP
1.1.1.1         - Backend Endpoint

User <-> 202.181.177.177:22 <-> 1.1.1.1:22
User <-> 202.181.177.177:80 <-> 1.1.1.1:80
```

Utilizing a Forward-All rule, will allow your Rented IP to forward port-for-port.&#x20;

#### Forward-Port

Our Forward-Port functionality allows for extreme network customization, giving the consumer the ability to forward a specific port on your Rented IP's network, to a specific port on another network, which can allow you to do things such as the following:

* Setup a basic datacentre utilizing your home network, without needing to purchase extra IPs from your ISP at extortionist rates.
* Create your own distributed network for load balancing etc.

{% hint style="info" %}
Forward-Port will automatically start forwarding all UDP/TCP traffic.
{% endhint %}

Example:

```
202.181.177.177 - Rented IP
1.1.1.1         - Backend Endpoint

// HTTP
User <-> 202.181.177.177:80    <-> 1.1.1.1:8080
// Minecraft
User <-> 202.181.177.177:25565 <-> 1.1.1.1:25588
// FiveM
User <-> 202.181.177.177:30120 <-> 1.1.1.1:30122
```

#### Forward-Bulk-Port ([#forward-port](#forward-port "mention"))

Deriving from the Forward-Port rule, we have a 'BULK' version, which is intended to allow consumers the ability to forward a range of ports across their Rented IP's network to a range of ports on another network. This rule is the starting point for consumers to create advanced network infrastructure.

{% hint style="info" %}
At this moment in time, due to performance concerns etc, Forward-Bulk-Port rules cannot exceed 1000 ports per-operation.
{% endhint %}

Example:

```
202.181.177.177 - Rented IP
1.1.1.1         - Backend Endpoint

202.181.177.177 ports 1-1000
1.1.1.1         ports 1-1000
// all ports 1-1000, on the Rented IP's network will now forward
// to ports 1-1000 on the Backend Endpoint's network.


202.181.177.177 ports 1-1000
1.1.1.1         ports 10000-10999
// all ports 1-1000, on the Rented IP's network will now forward
// to ports 10000-10999 on the Backend Endpoint's network.
```


---

# 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://asnless.docs.akhtar.ventures/web-routing/forwarding-traffic.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.
