User guide
set config
100 Chapter 2 Command Descriptions
securerealport=tcp port
The TCP port number used for secure RealPort connections. The default
is 1027.
sockets=socket num
Sets the base TCP socket service. TCP socket communication enables
serial devices to communicate with each other over an Ethernet network
as though they were connected by a serial cable. Configuring TCP socket
communications involves configuring the Digi device for inbound
connections (connections initiated by the device on the other side of the
network) and outbound connections: connections initiated by the device
connected to the serial port.
The base TCP socket service is used in reverse Telnet, raw, SSH, and
SSL/TLS connections to identify the connection type (Telnet, raw, SSH,
or SSL/TLS) and a particular port. The base socket range varies by
device. Enter “set config ?” to see the base socket range for your device.
Once the base socket is set, the port accessed and the connection type
are determined by the command the user issues to access the port. The
formulas for issuing commands are as follows:
The following examples illustrate how these formulas work.
.
submask=mask
The subnet mask for the subnetwork.
Connection Type Formula
Telnet base socket + port number
Raw base socket + 100 + port number
SSH base socket + 500 + port number
SSL/TLS base socket + 600 + port number
Base
Socket
Example Connection Established
1000
telnet 192.168.1.1 1002
A Telnet connection to port 2
telnet 192.168.1.1 1102
A raw connection to port 2
ssh root@192.168.1.4 -p 1502
An SSH connection to port 2
openssl s_client -connect
192.168.1.4:2604 1602
A SSL/TLS connection to port
2
1121
telnet 192.168.1.1 1122
A Telnet connection to port 1
telnet 192.168.1.1 1222
A raw connection to port 1
ssh root@192.168.1.4 -p 1622 An SSH connection to port 1
openssl s_client -connect
192.168.1.4:2604 1722
A SSL/TLS connection to port
1