> 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).

# 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 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://learn.netmaker.io/help-articles/cant-reach-external-network-or-device-via-an-egressing-external-client.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.
