IMD SolutionComputing LibraryShop main store

Explainer

What one VPN router can reach across several machine LANs

Remote access and virtualization Published 5 min read By IMD Solution engineering team

Short answer

One gateway can serve several machine LANs only within its routing table, which holds 3 static routes on the documented Flexy, while the client VPN installs 1 automatic route to the machine LAN. Reach the other subnets by adding a manual route per subnet on each client PC, pointed at the gateway's VPN address; if no client-side configuration is acceptable, choose a VPN that pushes its routes instead.

On this page
  1. The routing table inside the gateway
  2. What the client VPN hands your PC
  3. The manual route on the client
  4. Working the route count for a machine with three subnets
  5. When a pushed-route VPN is the right answer
  6. The decision for each case
  7. Questions asked

Yes, one gateway can serve several machine LANs, but only within two hard numbers: the routing table inside the gateway, and the single route the client VPN installs on your PC. On the documented Flexy that table holds 3 static routes, while eCatcher adds 1 automatic route per connection — so a second and third machine subnet each need a manual route on the client, pointed at the gateway's VPN address. If your requirement is several subnets reachable with no client-side configuration at all, this architecture is the wrong pick: choose a VPN whose server pushes every route instead.

The routing table inside the gateway #

A gateway forwards between its VPN tunnel and the machine side only for destination networks present in its routing table. On the Flexy that table lives on the Routing page of the web configuration, and the menu accepts a maximum of 3 static routes, each a destination network with its next hop on the machine side. That is what lets the box itself communicate with machines on several networks behind a managed switch or router. Not every unit qualifies: the entry-level Flexy 102 is documented without routing capability, so a multi-LAN design starts at the routing-capable units.

What the client VPN hands your PC #

Routes on the gateway are necessary but not sufficient — your PC also needs a path, and the client software provides exactly one. When eCatcher connects, it installs a single route covering the machine LAN behind the gateway; that route is how a VPN gateway routes you to the machine LAN in the ordinary one-subnet case, and nothing further is pushed to the client. In the device properties, under LAN & Firewall, a button labeled "Modify LAN Subnet" changes which subnet that automatic route covers — the right tool after a machine LAN is renumbered, not a way to add a second destination.

The manual route on the client #

Every further subnet is reached by adding the route yourself, once per client PC:

  1. Connect with eCatcher and read the VPN address the connection assigned to the gateway, visible while the connection is active.
  2. Open a command prompt and add the destination subnet with route add, giving its subnet mask and the gateway's VPN address as the next hop. The traffic leaves through the VPN adapter, which the software names "Talk2m-eCatcher".
  3. Verify with a ping to a device on the subnet, then with the real service: the PLC engineering software's online connection and each device web server.

A route added without the persistent option lasts only until reboot, so script it or re-add it each session. If the gateway answers but a device on the far subnet never does, the missing piece is this client route — the same layer that explains why a VPN-connected Flexy gets an address but cannot be pinged. Each route you add widens what a remote session can reach, so keep those subnets reachable only through the tunnel and leave the gateway's LAN & Firewall filtering on.

Working the route count for a machine with three subnets #

Inputs, with where each comes from:

  • Machine side: 3 subnets with distinct, non-overlapping address ranges — the case of one machine carrying several networks with different addresses. Example destinations: 192.168.10.0, 192.168.20.0 and 192.168.30.0, each a 24-bit network.
  • Gateway capacity: the Routing page maximum of 3 static routes (the vendor's knowledge-base documentation).
  • Client capacity: 1 automatic route per eCatcher connection.

The rule in words: the gateway must hold a route to every subnet, and the client PC reaches only the subnet its automatic route covers; each additional subnet costs one manual route per client PC.

Arithmetic:

  • Gateway side: routes needed 3, menu capacity 3, 3 ≤ 3, so the design fits the menu.
  • Client side: manual routes per PC = subnets − automatic routes = 3 − 1 = 2.

Result: enter all three destination networks on the Routing page, then add two routes on each client PC — 192.168.20.0 and 192.168.30.0 in this example — with the gateway's current VPN address as the next hop, and test one real service per subnet.

Decision, with its threshold: at or below three subnets, with client-side commands accepted, one routing-capable Flexy covers the machine. Above three subnets the menu cannot hold the design, and with a zero-client-configuration requirement the manual routes fail it in any multi-subnet case.

When a pushed-route VPN is the right answer #

Avoiding route commands on the client is a VPN-feature question, not a gateway question. A VPN server that pushes its full route set at connect time delivers every subnet with no local configuration; push routes are the standard mechanism, and troubleshooting OpenVPN access to two PLC subnets via push routes works through the same route-table logic on both ends. On the plant side that means you choose a firewall VPN for an industrial remote access router whose server supports pushed routes, then prove it: connect from a clean client PC and confirm every PLC and web server answers before committing to the hardware. The existing client can stay alongside it — the vendor documents running it next to another VPN service on the same PC, provided its adapter keeps the name "Talk2m-eCatcher".

The decision for each case #

  • One machine LAN: the default connection covers it; the automatic route is all you configure, and how a VPN gateway routes you to the machine LAN is the whole story.
  • Two or three subnets, client commands accepted: one routing-capable Flexy with every subnet on the Routing page, plus one manual route per extra subnet on each client PC, as worked above.
  • Two or more subnets, no client-side configuration allowed: this architecture does not meet the requirement — pick a VPN whose server pushes routes and demonstrate reachability from a clean PC first.
  • More subnets than the routing menu holds: use the vendor's documented configuration-file method on the gateway, but expect the same one-route client limit; a pushed-route VPN removes that ceiling.
  • Entry-level unit in a multi-LAN role: no — the Flexy 102 is documented without routing capability.

Questions asked

Does the same multi-LAN workaround work on the smaller gateways?

The routing-table behavior and the manual-route workaround are documented for the Flexy only; the vendor positions its smaller gateways for a single machine LAN. Treat multi-subnet behavior on those units as unproven, and require a working demonstration from a clean client PC before designing around one.

Can more routes be added beyond the routing menu's maximum?

Yes. The vendor's knowledge-base article documents a method that defines further routes through a configuration file rather than the menu. It remains a gateway-side setting: the client PC still receives only the automatic route, so every subnet beyond it keeps needing its manual route on each PC that must reach it.

The gateway pings but a PLC on the second subnet does not respond. Why?

Your PC holds only the route eCatcher installed, which covers the machine LAN the connection was set up for; the second subnet has no client-side path even though the gateway can route to it. Add the manual route with the gateway's VPN address as the next hop, then ping again and test the actual service.

Keep reading

  • Explainer

    How a VPN gateway on a controller routes you to the machine LAN

    A VPN client on the machine-side gateway becomes a router to the machine LAN only when IP forwarding is enabled on both the tunnel and LAN interfaces, the server advertises the machine subnet and binds it to that client with iroute, and replies find a way back through the device gateway or an SNAT rule on the gateway. A worked packet example shows both directions.

    Remote access and virtualization

  • Explainer

    Device portal remote access versus VPN on a controller

    Device Portal remote access on a ctrlX controller reaches the controller web interface only, by design. Engineering tools that need direct access to devices on the machine subnet require a configured VPN: an OpenVPN routed tunnel with client-subnet routes, controller forwarding and a return path. Verify the route in layers before trusting the tool.

    Remote access and virtualization

  • Selection guide

    Choose a firewall VPN for an industrial remote access router

    The Ewon tunnel is OpenVPN, initiated outbound. For Ewon-client-to-firewall-server mode, buy a firewall with an OpenVPN server role; IPsec or PPTP support is irrelevant. If you only use Talk2M, the firewall needs no VPN role at all, just outbound rules for *.talk2m.com on the ports in KB-0209, which requires hostname and wildcard address objects.

    Remote access and virtualization