IMD SolutionComputing LibraryShop main store

Troubleshooting

Why a VPN-connected Flexy gets an address but cannot be pinged

Remote access and virtualization Published 6 min read

Short answer

The tunnel address proves only that the Flexy's OpenVPN session reached your server. Because a client-to-client ping passes while the server's own ping to the Flexy fails, the inter-client setting is not the cause; the fault sits at the Flexy end. Capture on the server's tunnel interface, then test from the Flexy outward, to see whether echo replies leave through the tunnel at all.

On this page
  1. What an assigned tunnel address proves
  2. Working your four pings: every failure ends at the Flexy at 10.8.0.3
  3. The inter-client setting is cleared, whatever its checkbox says
  4. Three candidates left at the Flexy end
  5. The test order that separates them
  6. Reading the capture: the decision for each outcome
  7. Questions asked

Your Flexy 201 is connected; only its tunnel address is unreachable. The address the server handed out proves the OpenVPN session was established: authentication, certificates and the control channel all worked. It proves nothing about data traffic — whether echo requests reach the Flexy at all, or whether replies climb back through the tunnel. Your four ping results already clear the usual suspect, the server's inter-client setting: a client-to-client test passes, while the server's own ping — a path that setting never governs — fails. Every failing test ends at the Flexy. The remaining work is at the Flexy end, and one capture on the server's tunnel interface tells you which of three faults you have.

What an assigned tunnel address proves #

Connected status plus an assigned address is a verified state: the server authenticated the Flexy's session and pushed it a configuration. Everything the connection procedure covers — certificates, server address, credentials — is therefore done; the procedure itself is the one in pointing an eWON Cosy at a custom OpenVPN server.

What the address does not prove is the data path. A tunnel can carry its own control traffic while an echo request to the client's address is dropped on arrival, or while its reply leaves through the wrong interface. Your case turns on that distinction: the session being up is verified, the ping failures are the reported symptom, and whether echo replies leave through the tunnel is the untested input.

Working your four pings: every failure ends at the Flexy at 10.8.0.3 #

Inputs, from your own test run — 4 tests, 2 replies received, 2 no reply:

  • Server tunnel address 10.8.0.1 to your PC at 10.8.0.2: reply received.
  • Your PC at 10.8.0.2 to the second client at 10.8.0.4: reply received.
  • Your PC at 10.8.0.2 to the Flexy at 10.8.0.3: no reply.
  • Server tunnel address 10.8.0.1 to the Flexy at 10.8.0.3: no reply.

Rule. A setting can be the cause only if it sits on every failing path and on no passing path.

Arithmetic.

  • Failing paths: 2 of 4. Both end at the Flexy: 2 ÷ 2 = 100 percent of failures share that single destination.
  • Passing paths: 2 of 4. Neither involves the Flexy: 0 ÷ 2 = 0 percent of passes touch it.
  • Paths governed by the server's inter-client option: 2 of 4, the two tests between clients. One of those passed. A disabled option fails both, so it explains 0 of your 2 failures without contradicting the pass.
  • The server's own ping to the Flexy is not a client-to-client path; the option does not sit on it at all.

Result. The only candidate present on every failing path and absent from every passing path is the Flexy end of the tunnel. The same arithmetic clears your PC: it reaches the second client over the same tunnel, so its route onto the tunnel network works.

Decision. One passing client-to-client ping is enough to clear the server's inter-client settings; two failures ending at the same address are enough to indict that address. Your matrix meets both conditions, so spend no further time on server-wide settings and move to the Flexy.

The inter-client setting is cleared, whatever its checkbox says #

pfSense labels the option Inter-client communication, described as "Allow communication between clients connected to this server." It governs one kind of traffic: between two clients. Your passing client-to-client test shows that traffic already flows under your current rules, and your failing server-to-Flexy test never enters the option's scope. No state of that checkbox produces your matrix: enabling it cannot repair a path it does not sit on, and disabling it would have broken the test that passed. Leave it alone — changing it can only disturb a path that already works.

Three candidates left at the Flexy end #

  • The request never arrives. The server knows the address — it assigned it — so this would be a delivery failure inside the tunnel to one client only. A capture on the server's tunnel interface is the only test that shows it.
  • The request arrives and the Flexy does not answer. The unit filters traffic through its own firewall settings; in practice, devices behind it answer only once they are declared accessible there. Whether it answers echo requests on its OpenVPN client interface is not settled by documentation — treat it as untested until a capture proves it either way.
  • The reply takes the wrong exit. The Flexy receives the request and replies, but the reply follows its default route instead of the tunnel, so the server never sees it. A request path and a reply path are two separate decisions — the same principle that decides how a VPN gateway on a controller routes you to the machine LAN.

The test order that separates them #

  1. Hold the session steady: confirm the Flexy still shows connected with the same tunnel address before and after every test. A session that drops mid-test manufactures false evidence.
  2. Start a packet capture on the server's tunnel interface, then ping the Flexy's address from the server itself. Keep the capture running through all the remaining tests.
  3. Read the capture against the table below before changing any configuration.
  4. From the Flexy, test outward through the same tunnel: use its own diagnostics against the server's tunnel address. A Flexy that reaches out but never answers in gives you the answer without touching the server.

One caution while you test: any rule you loosen to try a path, scope to the tunnel subnet and remove afterwards — behind these clients sits a plant network.

Reading the capture: the decision for each outcome #

What the capture shows What it means Your decision
No echo requests leaving the tunnel interface The server is not delivering to that one client The only outcome that sends you back to pfSense: inspect the server's route and topology settings for that session
Requests leaving, no replies returning The Flexy drops the request, or its reply never reaches the tunnel Treat the tunnel address as not pingable: confirm the Flexy's firewall settings admit the tunnel subnet, verify reachability at service level instead, and attach the capture to a support case about echo handling on its OpenVPN client interface
Requests and replies both visible, ping still failing The reply dies inside the server's own stack; a rule or filter matches that one flow Audit the rules matching the Flexy's address specifically; this contradicts your finding of no blocking rules, so look for an address-specific entry or a schedule

Your matrix — everything to the Flexy fails, everything else passes — carries the signature of the middle row. Run the capture to confirm it, then act on that row: the tunnel address is assigned but silent, so prove the session by its connection state or by traffic the Flexy initiates, not by ping.

Questions asked

What does OpenVPN's client-to-client option actually do?

It routes traffic between clients inside the OpenVPN process itself instead of handing it to the server's tunnel interface, so firewall rules on that interface never see client-to-client packets. With the option off, that traffic must be permitted by interface rules to pass at all. That is why two servers with different firewall policies can behave differently with the identical checkbox setting.

Should I move the tunnel to TCP to fix the unreachable Flexy?

No. The vendor's advice to switch the VPN to TCP addresses slow or unstable links, where replies arrive late or drop intermittently. Your failure is total and specific to one address while the same tunnel carries other traffic without trouble. Changing the transport will not make the Flexy answer echo requests; leave the transport as it is and run the capture instead.

The opposite symptom: the VPN address answers ping but a device behind the Flexy does not. What is it?

That pattern points at your PC, not the tunnel: a second VPN adapter claiming the same address range is the usual conflict. The vendor's fix is to disable every network adapter that is not for your internet connection or the eWON's own cloud connection (Talk2m), then retest. Your case is the mirror image, which is why the Flexy end is the suspect here.

Can ping stay the health check for this Flexy session?

Only if the capture shows replies returning. If the Flexy never answers echo requests on its tunnel interface, replace the ping check with the session's connection state on the Flexy or with an exchange the Flexy initiates outward through the tunnel. A watchdog built on an address that is assigned but silent will either alarm forever or pass while the data path is down.

Keep reading

  • Troubleshooting

    Ping works but PLC program download fails over remote access

    ICMP success proves only the routed IP path, not the programming session. A download opens separate query and download connections on documented TCP and UDP ports, and broadcast discovery does not cross a routed VPN. Point the controller's default gateway at the remote-access router LAN address, permit both programming ports to the controller LAN IP, and add the controller manually by IP.

    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

  • 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