Can't Reach External Network or Device Via an Egressing External Client
PreviousWhat Are Default Devices in Netmaker?NextSite-to-Site VPN with Mikrotik router using wg plugin
Last updated
Was this helpful?
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.

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:
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).
Last updated
Was this helpful?
Was this helpful?
ip a# say the interface name is `eth1`
iptables -t nat -I POSTROUTING -o eth1 -j MASQUERADE