In all of the following examples you must substitute the station name for IP address if you are restricted to tunneling only
known NiagaraNetwork stations. See Enabling Fox Tunneling.
The following example URLs illustrate HTTP tunneling examples:
Example 4. Example 1 - Simple tunnel
http://137.19.61.242/tunnel/137.19.60.184
This example URL specifies the following network actions:
Establish a connection to the tunneling Proxy server at IP address 137.19.61.242 making the connection to proxy server port 80 (since no port is specified).
Establish an HTTP connection to the target host server at 137.19.60.184 making the connection to the host server port 80 (since no port is specified).
Example 5. Example 2 - Tunneling specifying station name and optional port:
http://137.19.60.119:82/tunnel/myStation:81
This example URL specifies the following network actions:
Establish a connection to the tunneling proxy server at ip address 137.19.60.119 making the connection to proxy server port 82.
Tunnel to the target server identified by station name (myStation) making the connection to the proxy server port 81. This example assumes that “Only Tunnel Known Stations” is active. If this is not the case, then you would use the host IP address here.
Example 6. Example 3 - Multiple tunneling specifying client port and view
http://137.19.60.184:81/tunnel/137.19.61.242/tunnel/137.19.61.100/tunnel/137.19.60.119/ord?station:│slot:/PxHome
This example URL specifies the following network actions:
Establish a connection to the tunneling Proxy server at the IP address 137.19.60.184
Use the Proxy server port 81 to tunnel through the hosts at 137.19.61.242 and 137.19.61.100, and then finally connect to the station at 137.19.60.119
Display the view defined by the trailing ORD information (ord?station:│slot:/PxHome)
This example may be unusually long (and impractical) but it illustrates the ability to tunnel through multiple stations using
HTTP.
Copyright © 2000-2016 Tridium Inc. All rights reserved.