> For the complete documentation index, see [llms.txt](https://learn.netmaker.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.netmaker.io/help-articles/cant-reach-external-network-or-device-via-an-egressing-external-client.md). Agents can also search and read this documentation through its [MCP server](https://learn.netmaker.io/~gitbook/mcp).

# Can't Reach External Network or Device Via an Egressing External Client

## Issue

I cannot make the egressing external client work. I already specified the address ranges on the Client Config but the Remote Access Gateway can't reach them, let alone the other nodes. The external client device can ping the ranges specified on the client configuration. Can't find anything in the documentation.

![Screenshot](https://downloads.intercomcdn.com/i/o/985940748/ea270491cc959b677326f07d/image.png?expires=1769018400\&signature=a746de5f3553ecc4361390ffde7d10427a426342b773586bdf30dbaec0560ee7\&req=fSgiH81%2BmoVXFb4f3HP0gF9Ml%2FwbKYpkDronZowA7qFJoK1yudbKaKifZJHh%0A25DbCYTRy4ewJ4Unnw%3D%3D%0A)

## Resolution

As of v0.23.0, the feature is supported only on routers and Linux-based external clients. Remote machines can be any OS, provided they are in the same local network as one of the egressing external client’s network interfaces.

For Linux-based egressing external clients, iptables must be installed and IP forwarding must be enabled.

In some cases you might need to add POSTROUTING rules. On Ubuntu, you can do the following:

{% stepper %}
{% step %}

### Find the interface name

Get the name of the specific network interface of the egressing client that is associated with the egress ranges you've specified:

{% code title="Command" %}

```bash
ip a
```

{% endcode %}
{% endstep %}

{% step %}

### Add a POSTROUTING rule (example)

Add the necessary POSTROUTING rule. Replace `eth1` with the actual interface name you found:

{% code title="Command" %}

```bash
# say the interface name is `eth1`
iptables -t nat -I POSTROUTING -o eth1 -j MASQUERADE
```

{% endcode %}
{% endstep %}
{% endstepper %}

{% hint style="info" %}
Ensure IP forwarding is enabled on the Linux egressing client (for example, `sysctl -w net.ipv4.ip_forward=1` or persistently via `/etc/sysctl.conf`).
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://learn.netmaker.io/help-articles/cant-reach-external-network-or-device-via-an-egressing-external-client.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
