IMDTouchKnowledge BaseShop main store

Troubleshooting

Comfort Panel network share name resolution over VPN

HMI and touchscreens Published 6 min read By IMDTouch engineering team

Short answer

A Comfort Panel resolves the NAS name behind \\nas\Panel_Daten by NetBIOS broadcast, and a routed VPN does not carry broadcasts, so the lookup stops at the router while the panel also refuses a numeric UNC path. Publish a DNS record for the NAS on a name server the panel queries through the tunnel, keep the hostname path, and match the panel's Windows CE generation to the file server.

On this page
  1. Why the name resolves locally and dies across the tunnel
  2. Confirm the route before blaming the name
  3. Two dead ends: an address in the path and a hosts file
  4. The fix: a name server the panel reaches through the tunnel
  5. Verify the resolution, then check the file-service pairing
  6. Questions asked

The job runs fine on the local network: the Comfort Panel reads its variable archive, processes the data and writes the result to the share \\nas\Panel_Daten. Over the site-to-site VPN the same write fails, and the failure is name resolution. The panel's Windows CE file client resolves the server name nas by NetBIOS broadcast, and a router does not forward broadcasts, so nothing past the tunnel answers. The panel also refuses a numeric path in place of the name, and there is no hosts file to edit. The fix is DNS: publish a record for the NAS on a name server the panel reaches through the tunnel, point the panel's DNS setting at that server, and keep the path by hostname. Editing the panel's registry is not the fix — the image hides the editor and an update erases the change.

Why the name resolves locally and dies across the tunnel #

A UNC path has two parts: the server name and the share. Resolution turns the server name into an address, and the file transfer happens after. On the local wire the panel's client asks for the name using NetBIOS name service traffic, and the exchange travels as broadcast — every device on that subnet hears the question and the NAS answers. A router treats broadcast as link-local by design and drops it at the interface, and a site-to-site VPN carries routed unicast only — the same local broadcast, not routed access limit that keeps broadcast-based device searches in an Ethernet configuration tool off remote subnets.

DNS is the routed counterpart: the client sends its question as unicast to a configured name server, and unicast crosses the tunnel as soon as routes and firewall rules carry it. A connected tunnel says nothing about either step; reachability and name lookup are separate dependencies, so test them in that order — path first, then name. If the same VPN also has to make the panel itself reachable from an off-site engineering PC, that mirror problem is covered in remote HMI access with dynamic DNS and a VPN.

Confirm the route before blaming the name #

A name fix cannot rescue a path that does not exist, and the classic cause is overlapping subnets. Worked example, with the panel site numbered away from the NAS range, which is the layout you want:

Panel site (example): 192.168.20.0/24 - panel 192.168.20.20, gateway 192.168.20.1
NAS site:             192.168.0.0/24  - NAS  192.168.0.10

192.168.20.20 AND 255.255.255.0 = 192.168.20.0   (panel's own network)
192.168.0.10  AND 255.255.255.0 = 192.168.0.0    (destination network)

192.168.0.0 differs from 192.168.20.0, so the panel hands the packet
 to gateway 192.168.20.1 - the VPN router - and the tunnel carries it.

If both sites sat in 192.168.0.0/24, the destination would match the panel's own network: the panel would ask for it on its own wire and the tunnel would never see a packet, so renumber one site first. Renumbering a live plant network takes a maintenance window, because address changes drop every connection on that subnet until every device has the new plan.

Three checks at the panel site, in order:

  • Read the panel's address, netmask and gateway from its network settings page.
  • Note the NAS network and address, and confirm the two sites do not overlap.
  • From a PC on the panel's subnet, map the NAS share by address; success proves the routed path and the share permissions in one step.
What you see over the VPN What it rules in Where to work
A PC on the panel's subnet reaches the share, the panel cannot resolve the name Routing and permissions pass, resolution is the fault The DNS fix below
Nothing from the panel site reaches the NAS Route or firewall, before names matter The route check above
The name resolves, the write still fails File-service dialect or credentials The pairing limits in the last section

Two dead ends: an address in the path and a hosts file #

The attempted workaround on this installation was the numeric path, and the panel rejected it: \\192.168.0.10\Panel_Daten fails while \\nas\Panel_Daten works. That is the rule of this preconfigured file client, not a property of UNC paths in general, but it is the rule this panel enforces, so the destination stays a name.

The hosts-file idea runs into how Windows CE is built. CE has no exposed hosts file; static name entries would live in a registry-based hosts table instead. These panels run a preconfigured CE image with no registry editor, and an OS update overwrites manual registry edits, so a hand edit is unsupported at best and gone after the next image update. Fix resolution where the panel can be served: on the name server.

Panel name handling has documented tripwires away from VPNs too — the domain field, for instance, rejects a DNS name purely for being too long, as covered in why a Comfort Panel domain field rejects a long DNS name.

The fix: a name server the panel reaches through the tunnel #

  • Pin the NAS address. Give the NAS a static address or a DHCP reservation, so a published record cannot end up naming a device that later took that address.
  • Publish the record where the panel's resolver looks. The simplest placement is the static DNS table most VPN routers keep: enter a host entry mapping nas to the NAS address from the route example, 192.168.0.10. The alternative is the DNS server at the NAS site, if the panel-site resolver forwards unanswered names to it and the tunnel carries DNS queries.
  • Point the panel at that resolver. Enter its address in the DNS server fields on the panel's network settings page in the Control Panel — in the route example that is the router's LAN address, 192.168.20.1 — then reboot the panel so the setting takes effect.
  • Leave the path alone. \\nas\Panel_Daten keeps working exactly as it does locally; no script, archive setting or share entry changes, because the name is now answered instead of broadcast.

Verify the resolution, then check the file-service pairing #

  • From a PC on the panel's subnet, ask the resolver directly: nslookup nas 192.168.20.1 must return the NAS address. Nothing returned, or a different address, means the record sits in the wrong place or under the wrong name.
  • Run the archive job and write a uniquely named test file to the share, then confirm the file appears and its contents match the processed archive; a stale file that happens to carry the same name is not a pass.
  • Repeat the write after the panel's next OS update. The record lives on the server, so unlike a registry edit it survives the update.

If the name now resolves and the write still fails, the suspect left is the file-service pairing between the panel's CE generation and the system behind the share. The manufacturer's network-integration FAQ, entry ID 13336639, is the reference for the Windows pairings: Windows CE V3 does not pair with Windows Vista or Windows 7, Windows CE V5.0 does not pair with Windows Server 2008 or newer, and Windows CE V6 runs into the fewest of these problems. Read the system the NAS runs against that list for the panel's CE version; where it falls on the wrong side, move the share to a file server on the right side, because a name record cannot repair a dialect mismatch.

Questions asked

Does the panel have a hosts file like a Windows PC?

No hosts file is exposed on these panels. Windows CE keeps static name-to-address entries in the registry instead, under the key HKEY_LOCAL_MACHINE\Comm\Tcpip\Hosts, but the panel ships a preconfigured CE image with no registry editor, and an OS update overwrites hand-made registry changes. Editing that key is unsupported and temporary, so publish the name on a DNS server the panel queries instead.

A laptop on the same VPN opens the share fine. Doesn't that prove the name service works?

It proves the tunnel and the laptop's resolver work, nothing about the panel. A current Windows machine layers several lookup methods — DNS, cached answers, its own NetBIOS fallbacks — while the panel's file client uses the resolver you assign it and, on the local wire, NetBIOS broadcast. Commission the name against the panel itself: if nslookup answers from a PC but the panel still fails, the panel's DNS field is not pointing at that resolver.

Will a numeric path work on a different panel or newer image?

Maybe. The rejection is a rule of this panel's preconfigured file client, not of UNC paths in general, and other CE images accept an address in the path. The test takes a minute: enter the numeric form in the panel's settings and see whether it is accepted. If it is, the address still has to stay reachable through the tunnel, and a DNS-published name remains the form that survives address changes and image updates.

The VPN router has no static DNS table. What else can serve the record?

Point the panel's DNS setting at a resolver that knows the name, wherever it lives. Two workable placements: the DNS server at the NAS site, if the tunnel's rules pass DNS traffic to it on UDP and TCP port 53, or a small DNS forwarder at the panel site holding the single host entry. Afterwards repeat the lookup test from the panel's subnet to confirm the panel actually reaches that resolver.

Keep reading

  • Troubleshooting

    Comfort Panel Sm@rtServer reports an unencrypted VNC connection

    The popup is the viewer reporting the session it negotiated, not a panel fault. Sm@rtServer authenticates with a password and encrypts only when the encryption setting on the panel is on and the client supports the offered security method. Check the setting in the panel's Internet settings, test with Sm@rtClient first, and keep any third-party VNC viewer to a password of at most 8 characters.

    HMI and touchscreens

  • Troubleshooting

    Downloading a Vijeo Designer Project to a Remote HMI Over VPN

    The greyed-out NAT fields are not the blocker: they only activate for a target and download method that supports address translation. When a VPN already routes your PC into the remote LAN, leave them alone, download straight to the panel's private address, and give the HMI a default gateway so its replies can leave the subnet.

    HMI and touchscreens

  • How-to

    Connecting an HMI to remote PLCs over a WAN

    Yes, it is feasible: an operator panel supervises geographically distributed PLCs over Modbus TCP on port 502 exactly as on a LAN, provided every site is reached through a site-to-site VPN or approved routed path with a valid return route. Never expose port 502 by public port forwarding, because Modbus TCP carries no authentication or encryption.

    Industrial networks

Why an HMI Panel Cannot Host a Shared Folder for a PC