Sample Session Persistence Server Configurations
The following samples display Session Persistence Server configurations and detailed descriptions of the parameters used.
Sample Configuration 1
proxyservice TelnetOne
listen 0.0.0.0:2301
server TelnetHost
timeout 5
ssl on
hostservice TelnetHost
connect 192.168.1.1:23
timeout 60
reconnect-string %0c
undeliverable ABORT
codeset ASCII
The following table describes the parameters in Sample Configuration 1.
Sample Configuration |
Description |
proxyservice TelnetOne |
The proxy service name is TelnetOne. |
listen 0.0.0.0:2301 |
The proxy service listens for mobile devices on any local IP interface with 2301 as the listen port. |
server TelnetHost |
The proxy service interfaces with the host service named TelnetHost. |
timeout 5 |
The Client-proxy connection will time out after five minutes of inactivity. |
ssl on |
Mobile devices must use SSL to access a host service using the TelnetOne proxy service. |
hostservice |
The host service name is TelnetHost. TelnetHost is referenced within the proxy service TelnetOne. |
connect 192.168.1.1:23 |
When a mobile device connects to the proxy service “TelnetOne” using the a host profile that contains 192.168.1.1:23, the Session Persistence Server establishes a connection with the target host 192.168.1.1:23. |
timeout 1h |
Once the client-proxy connection times out, the proxy-host connection starts counting down. It times out after one hour of inactivity. |
reconnect-string %0c |
The reconnect entry instructs the mobile device to send the command %0c to the host upon reconnect. |
undeliverable ABORT |
If the host sends an unsolicited message while the mobile device is unavailable, both the Client-proxy and the proxy-host connection will be dropped. |
codeset ASCII |
The capture data displays in ASCII. |
Sample Configuration 2
proxyservice "TelnetHosts"
listen 20.30.40.50:4430
server "Host AS400”, “Host VT"
hostservice "Host AS400"
connect 206.125.145.25:23
reconnect-string %00%0D%12%A0%00%00%04%00%00%03%01%01%33%FF%EF
codeset EBCDIC
stationid-template "Display [.] +:\s+ (.t?) []"
hostservice "Host VT"
connect 207.95.165.10:23
loglevel info
httpservice 127.0.0.1:6666
ssl on
The following table describes the parameters in Sample Configuration 2.
Sample Configuration |
Description |
proxyservice TelnetHosts |
The proxy service name is TelnetHosts. |
listen 20.30.40.50:4430 |
The proxy service listens for mobile devices at 20.30.40.50 and port 4430. |
server "Host AS400", "Host VT" |
The proxy service services two host services named "Host AS400" and "Host VT". |
hostservice "Host AS400" |
The first host service name is "Host AS400". |
connect 206.125.145.25:23 |
When a mobile device connects to the proxy service "TelnetHosts" using the a host profile that contains 206.125.145.25:23, the Session Persistence Server establishes a connection with the target host 206.125.145.25:23. |
reconnect %00%0D%12%A0%00%00%04%00%00%03%01%01%33%FF%EF |
This reconnect string sends an F3 upon reconnect. |
codeset EBCDIC |
The EBCDIC codeset allows the workstation ID to display in the Session List page of the Session Persistence Server web interface. |
stationid-template “Display [ .] +:\s+ (.t?) [ ]” |
The stationid-template allows the workstation ID to display in the Session List page of the Session Persistence Server web interface. |
hostservice "Host VT" |
The second host service name is "Host VT". |
connect 207.95.165.10:23 |
When a mobile device connects to the proxy service "TelnetHosts" using the a host profile that contains 207.95.165.10:23, the Session Persistence Server establishes a connection with the target host 207.95.165.10:23. |
log level INFO |
The log level entry instructs the proxy server to log information at the INFO level only. |
httpservice 201.120.140.10:4428 |
The http service entry instructs the proxy server to bind the HTTP server to the IP address 201.120.140.10 on port 4428. |
ssl on |
The ssl entry instructs the proxy server to use the SSL protocol. |
Timeout is not specifically defined in this sample configuration. The timeout parameter defaults to 24 hours.