From Web Design to ERP — Your IT Partner

RDP Over Multi-Hop WireGuard Mesh: 4 Design Patterns

The problem shape: "Just RDP to the internal IP" works fine for a single site-to-site tunnel. It runs into every subtlety of WireGuard's forwarding model the moment the target machine is two hops away through a hub-and-spoke mesh — and every hop that's wrong looks identical from the client's chair: RDP just times out.

A client connects into Site A (the office). From there they need RDP access to a host on Site B's LAN (the cloud hub, one hop away) and a host on Site C's LAN (a branch VPS, two hops away through the hub). With a simple two-node VPN, "can I reach it" depends on one tunnel's config. In a mesh, the packet has to be correctly handled at every hop, and a failure at any single one produces the exact same generic timeout.

Three Things That Must Independently Be True at Every Hop

A route exists pointing the destination at the correct WireGuard interface.

WireGuard will actually forward the packet — the source address has to fall inside the relevant peer's allowed-address (see our companion post on this exact failure mode).

The firewall's forward chain permits it — and doesn't masquerade it in a way that breaks the return path.

Get any one of these wrong at any single hop and the symptom is identical, regardless of which hop actually failed.

Verify the Destination First, Before Blaming the Tunnel

The fastest way to debug a "can't RDP through the mesh" report: confirm the RDP service is actually listening, from as close to the target as possible, before assuming the problem is anywhere in the tunnel path at all.

# From a host on the target site's own LAN

timeout 5 bash -c '</dev/tcp/172.20.70.30/3389' && echo LISTENING || echo NOT_LISTENING

If that comes back NOT_LISTENING, stop — the problem is the target host itself (service down, host firewall, machine powered off), not the mesh. Only dig into tunnel routing once the target is confirmed listening locally.

Four Design Patterns That Make Multi-Hop RDP Reliable

1. Route by destination, not "is this a VPN packet"

RouterOS's WireGuard implementation uses each peer's allowed-address as an implicit routing table — no separate /ip route entries are needed at the hub for that purpose. But spoke-side routers still need explicit routes pointing cross-site subnets at the local WireGuard interface:

# On the spoke the client connects through:

/ip route add dst-address=172.20.60.0/24 gateway=wg-hub ; the hub's own LAN

/ip route add dst-address=172.20.70.0/24 gateway=wg-hub ; the far site's LAN, reached via the hub

Without the second route, RDP to the hub (one hop) works fine, RDP to the far site (two hops) fails — a common half-working state that's confusing until you realize the missing route is specifically for the further site, not the nearer one.

2. Don't let NAT break the return path

For traffic passing between sites in a mesh you control end-to-end, there's usually no reason to NAT it — masquerading means the target sees connections from the router's own LAN IP rather than the real client address, unhelpful for logging and prone to asymmetric-routing surprises. An explicit "no NAT between these subnets" rule, placed before any general outbound masquerade rule, keeps this predictable:

/ip firewall nat add chain=srcnat action=accept \

src-address=172.20.10.0/24 dst-address=172.20.70.0/24 \

comment="No NAT: mesh-internal traffic"

3. Firewall by interface direction, not just by port

A narrow rule for "allow RDP to this one host" is easy to forget to duplicate the next time a new internal service needs mesh access. A mesh-wide forward rule that trusts the WireGuard interface itself, followed by a final explicit drop, is easier to maintain:

/ip firewall filter add chain=forward action=accept in-interface=wg-hub comment="Mesh: accept anything from the tunnel"

/ip firewall filter add chain=forward action=drop comment="Mesh: drop everything else"

A missing port-specific rule for a brand-new service looks exactly like a broken tunnel from the user's side — this pattern avoids that entire class of report.

4. Isolate anything that shouldn't reach the whole mesh

Not everything on a spoke's LAN should be reachable from every other site. A branch hosting both normal internal infrastructure and a separate customer-facing network needs the latter to never route into the main mesh at all — RouterOS VRFs (a second, fully isolated routing table bound to its own interfaces) handle this with zero route leakage:

/ip route add dst-address=0.0.0.0/0 gateway=203.0.113.99 routing-table=isolated-customer-net

Gotcha: inside a non-default routing table, the gateway must be a plain IP, not the recursive gateway=<IP>%<interface> form some routers default to for their main WAN route — that form can silently resolve to inactive and break the entire isolated segment's outbound path.

Diagnostic Checklist

Confirm the target is listening, tested from its own LAN — rules out "not a VPN problem" entirely.

Confirm the client's entry spoke has an explicit route to the far site's subnet, not just the near (hub) one.

Confirm the hub's peer entry for that spoke includes the client's actual tunnel IP in allowed-address — not just whichever client was configured first.

Confirm the forward chain on every hop accepts the traffic before any catch-all drop.

Confirm nothing is masquerading traffic in a way that breaks the return path.

FAQ: Is a full mesh (every site peered directly) simpler than hub-and-spoke for this?

It removes the "second hop" problem entirely, but trades it for N² peer configuration growth as sites are added, and loses the hub's single choke point for monitoring and firewall policy. For 3-4 sites hub-and-spoke with correct routing is usually easier to reason about and maintain than it first appears.

FAQ: Should NAT ever be used between mesh sites?

Rarely, if you control every site's IP addressing and can keep subnets non-overlapping — which is the better long-term investment. NAT between mesh-internal sites is really a workaround for address collisions, not something to reach for by default.

This pairs with our road-warrior split-tunnel write-up — same underlying AllowedIPs mechanics, different symptom. Building or troubleshooting a multi-site mesh? Get in touch.