Configuring the Lon tunnel server

To configure the station for Lon tunneling

To configure the station for Lon tunneling, do the following:

  1. In the palette side bar, open the lontunnel palette.

  2. Open the JACE station and expand its Services folder.

    • If no TunnelService exists, paste one from the palette into the Services folder.

    • If a TunnelService does exist, go to next step.

    NoteOnly one TunnelService is needed in a station’s services, and it can hold multiple tunnel components (both LonTunnel and SerialTunnel). The TunnelService in the lontunnel module is identical to the TunnelService in the (serial) tunnel module.

  3. From the palette, paste a LonTunnel under the station’s TunnelService.

    Figure B.4. LonTunnel under station’s TunnelService


    LonTunnel under station’s TunnelService

    The station should now have a TunnelService and child LonTunnel component, as shown in Figure B.4 above. See LonTunnel component slots for details on various properties.

    NoteIf the JACE has multiple LON ports (and corresponding LonNetworks), you can copy the same number of LonTunnel components under the TunnelService. You can then associate each LonTunnel with a particular LonNetwork (by its LONn device name).

  4. Save the TunnelService configuration when done.

A station user requires admin write permissions for the LonTunnel(s) to allow tunnel client access.

NoteClients that access the TunnelService (both LonTunnel and SerialTunnel) use “basic authentication” for login access. So in either of these client connections, the user credentials passed to the station are not encrypted—a potential security issue! See Best security practices for tunneling. Also, consider disabling the TunnelService (set its Enabled property to false) whenever it is not needed.