Fox Tunneling and HTTP Tunneling
Fox Tunneling and HTTP Tunneling
Information and/or specifications published here are current as of the date of publication of this document. Tridium, Inc. reserves the right to
change or modify specifications without prior notice. The latest product specifications can be found by contacting our corporate headquarters,
Richmond, Virginia. Products or features contained herein are covered by one or more U.S. or foreign patents. This document may be copied by
parties who are authorized to distribute Tridium products in connection with distribution of those products, subject to the contracts that
authorize such distribution. It may not otherwise, in whole or in part, be copied, photocopied, reproduced, translated, or reduced to any electronic
medium or machine-readable form without prior written consent from Tridium, Inc. Complete Confidentiality, Trademark, Copyright and Patent
notifications can be found at: http://www.tridium.com/galleries/SignUp/Confidentiality.pdf.
specific ("fox" and "http") additional licensing on a Web Supervisor proxy station
NiagaraAX stations serve in the following roles to comprise the typical points of reference in a tunneling
scenario:
Client
This is the initiating party that sends a communication request using the "Fox Tunneling" or "HTTP
Tunneling" syntax to open a special session with the proxy server.
Proxy
This is the tunneling proxy server station that recognizes the tunnel syntax and routes the message
on to the tunneled host.
Host
This is the target host that is typically on a protected network that is not directly accessible to the
client.
NiagaraAX-3.x
Engineering Note: Fox Tunneling and HTTP Tunneling
Figure 3-1
The following sections describe the unique characteristics of each type of tunneling:
Client Requirements
The client station must be running NiagaraAX-3.3 or later and have network access to a "Proxy" station.
Proxy Requirements
The Proxy station must be licensed for Fox tunneling and be running NiagaraAX-3.3 or later on a
network with an IP address that is available to the Client. Also, the Proxy station must have Tunneling enabled (see Enabling a Tunneling Server, below).
Host Requirements
The host station (or targeted station) needs to be able to provide an accessible network IP address to
the Proxy server. The targeted host must be running a NiagaraAX-3.3 or later station.
In a NiagaraAX-3.3 workbench view, connect to the NiagaraAX-3.3 or later station that you want to
enable for tunneling.
In the nav tree pane, under the Station node, expand the Config>Drivers> nodes to display the
NiagaraNetwork node in the nav tree.
In the nav tree, right-click on the NiagaraNetwork node and select the Property Sheet from the
popup menu. The property sheet view displays.
In the property sheet view, click to display the Fox Service properties
and set the following
properties:
Tunneling Enabled
Select True from the Tunneling Enabled property option list.
Click the Save button to complete the setup. Tunneling is now enabled on the station.
In this graphic:
Proxy Server
This is the NiagaraAX-3.3 Supervisor station with an IP address that is available to the client station
that you are currently using. The Proxy Server port number defaults to port 1911 (the standard default Fox port) unless otherwise specified.
Host Server
This is the station that you are trying to tunnel to. The Host Server address (like the Proxy Server
address) may be followed by an optional port number. If not specified, the port number defaults to
port 1911. You can complete the ORD by including the "space" and address of the desired view, if
known.
Host, Session, Space
These are identified in the graphic above to indicate the standard segments of a typical ORD.
Syntax Examples
The following examples illustrate Fox tunneling syntax using NiagaraAX-3.3 or later:
Example 1
The following graphic shows an example of tunneling through a Proxy server (67.166.174.44) and
then through a intermediate NiagaraAX-3.3 Supervisor tunnel host (192.168.3.76) and on to a final
target host (192.168.3.77). In this example, no ports are specified so the default Fox port 1911 is used
for all Fox connections.
Figure 3-3
Example 2
The following graphic shows an example of tunneling through a Proxy server (137.19.60.184) using
a specified Fox port (1912) and also specifying a Fox port (1914) for the targeted Host server
(137.19.61.192). Figure 3-4 also shows an additional example ORD that uses station name instead
of IP address. Available starting in NiagaraAX-3.4, the Only Tunnel Known Stations option re-
NiagaraAX-3.x
Engineering Note: Fox Tunneling and HTTP Tunneling
quires you to use station name, not the host IP address and restricts tunneling to stations that are
under the proxy servers NiagaraNetwork.
Figure 3-4
Specifying Fox ports on Proxy server and targeted Host server (and using a station name)
Example 3
The following graphic shows an example of tunneling through a Proxy server (67.166.174.44) to a
target host (192.168.3.76) and specifying a particular view in the station (station:|slot:/Services/
AlarmService/ConsoleRecipient). All stations are using the default fox port 1911, since no port is
specified.
Figure 3-5
Figure 3-6
Note: In the Open Station dialog box the Host field label
refers to
the Proxy Server and its associated IP address. This is because the Proxy Server is in a host
relationship to your current workbench view. Do not confuse this Proxy server "Host" with the targeted
host that you are tunneling to.
Open Tunnel Station dialog box
This dialog box displays when you right-click on a Proxy Server in your workbench nav tree and select "Open Tunnel Station" from the popup menu.
NiagaraAX-3.x
Engineering Note: Fox Tunneling and HTTP Tunneling
Figure 3-7
Once you have opened a fox tunneling workbench session on a target host (typically a JACE), the
Proxy Server and the target host display in the workbench nav tree. If you disconnect from the station, you can always reconnect to the station by right-clicking on the station and selecting "Connect"
from the popup menu.
ip:137.19.60.184|fox:/137.19.61.192
This example ORD specifies the following network actions:
Establish a connection to the tunneling Proxy server at the IP address 137.19.60.184 using default fox
port 1911 (since no port specified).
Establish a fox connection to the targeted host at 137.19.61.192 using default port 1911 (since no port
is specified).
Using the Only Tunnel Known Stations option, the syntax is as follows for this example:
ip:137.19.60.184|fox:/myStation
Establish a connection to the tunneling Proxy server at IP address 137.19.60.184 using the proxy server fox port 1912.
The proxy server establishes a fox connection to the tunneled host at 137.19.61.192 using the targeted host default fox port 1911.
Display the view defined by the rest of the ORD (station:|slot:/AirHandler)
Establish a connection to the tunneling Proxy server at the IP address 137.19.60.184 using default fox
port 1911.
Proxy server establishes a fox connection to the host at 137.19.61.242 again using default fox port
1911.
Tunnel through the intermediate host at 137.19.61.242 and connect to the host at 137.19.60.119 using default fox port 1911.
Display the view (alarm console) defined by the rest of the ORD (station:|slot:/Services/AlarmService/ConsoleRecipient)
Note: Note the following additional information about the examples described, above.
When doing multiple tunnels, as in the example above, each "parent" tunnel must be a NiagaraAX3.3 Supervisor station running with tunneling enabled. The final targeted host requires NiagaraAX3.3 but does not need to be an AXSupervisor station.
NiagaraAX-3.x
Engineering Note: Fox Tunneling and HTTP Tunneling
Instead of typing a long ORD, as in Examples 2 and 3, it may be easier to simply establish a connection at the station level and then use the nav tree to open the view you want.
Client Requirements
The client station must have a standard browser and network access to a "Proxy" station.
Proxy Requirements
The Proxy station must be licensed for HTTP tunneling and be running NiagaraAX-3.3 on a network with an IP address that is available to the Client. Also, the Proxy station must have Tunneling
enabled (see Enabling a Tunneling Web Server, below).
Host Requirements
The host station (or targeted station) needs to provide an accessible network IP address to the Proxy
server and must be running NiagaraAX-3.3.
5.
In a NiagaraAX-3.3, or later, workbench view, connect to the station that you want to use as an
HTTP server (this could be a Proxy or Host server station).
In the nav tree pane, under the Station node , expand the Config>Services nodes to display the
WebService node
in the nav tree.
In the nav tree, right-click on the WebService node
and select Property Sheet from the popup
menu. The property sheet view displays.
In the property sheet view, set the following properties, as desired:
Tunneling Enabled
Select true from the property option list to enable HTTP tunneling. Select false (default)
to leave tunneling disabled. See Enabling Fox Tunneling for information about how to limit
allowable tunneling destinations (Fox and HTTP) using the Only Tunnel Known Stations property.
NiagaraAX-3.x
Engineering Note: Fox Tunneling and HTTP Tunneling
Where:
Proxy Server
This is the NiagaraAX-3.3 (or later) station with an IP address that is available to the client station
that you are currently using. The proxy server web service port number defaults to port 80 (the standard default HTTP port) unless otherwise specified.
Host Server
This is the station that you are trying to tunnel to. After supplying the IP address of the proxy server,
complete the URL by including a slash and the word "tunnel" followed by another slash and the address of the host server. If tunneling is limited to known stations, only, then the stations name is
used in place of the host server IP address. The host server http port number defaults to port 80 (the
standard default HTTP port) unless otherwise specified.
Syntax example 1
The following graphic shows an example of a URL address for tunneling through a Proxy server
(137.19.60.184) and then to the target host (137.19.61.242). If Only Tunnel Known Stations is enabled then the station name is used instead of the target host IP address. No port is specified for either station in this example, so HTTP port 80 is used.
Figure 3-9
Syntax example 2
The following graphic shows an example of a URL address for tunneling through a proxy server
(137.19.60.119) using the proxy server http port 82, then tunneling and connecting to the host server
(137.19.60.184) using the host server http port 81.
Figure 3-10
Syntax example 3
The following graphic shows an example of tunneling through a proxy server (137.19.60.184) that
uses port 81, then through a second proxy server (137.19.61.242) and on to the target host and login
view at (137.19.61.100/login). Note that port 81 is specified and used only on the proxy server station. The intermediate and target host server ports are not specified so they are assumed to be port
80.
Figure 3-11
NiagaraAX-3.x
Engineering Note: Fox Tunneling and HTTP Tunneling
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).
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.
NiagaraAX-3.x
Engineering Note: Fox Tunneling and HTTP Tunneling