Lantronix XPort AR Network Card User Manual


 
7: Tunneling
XPort AR User Guide 121
When setting AES encryption, both the encrypt key and the decrypt key must be
specified. The encrypt key is used for data sent out. The decrypt key is used for
receiving data. Both of the keys may be set to the same value.
For Connect Mode using UDP, if the remote address or port is not configured, then
the XPort AR accepts packets from any device on the network. It will send packets to
the last device that sent it packets. As a result, it is advised to configure the remote
address and port. When the remote port and station are configured, the XPort AR
ignores date from other sources.
Note: The Local Port in Connect Mode is not the same port configured in
Accept Mode.
To ignore data sent to the XPort AR, enable the blocking of serial data or network
data (or both).
The TCP keepalive time is the time in which probes are periodically sent to the other
end of the connection. This ensures the other side is still connected.
To configure SSH, the SSH client username must be configured. In Connect Mode,
the XPort AR is the SSH client. Ensure the XPort AR’s SSH client username is
configured on the SSH server before using it with the XPort AR.
Connect Mode has five states:
Disabled (no connection)
Enabled (always makes a connection)
Active if it sees any character from the serial port
Active if it sees a specific (configurable) character from the serial port
Modem emulation
For the “any character” or “specific character” connection states, the XPort AR waits
and retries the connection if the connection cannot be made. Once it makes a
connection and then disconnects, it will not reconnect until it sees any character or
the start character again (depending on the configured setting).
Configure the Modem Control Active setting (for DSR or DTR) to start a Connect
Mode connection when the signal is asserted. The XPort AR will indefinitely try to
make a connection forever. If the connection closes, it will not make another
connection unless the signal is asserted again.
Accept Mode
In Accept Mode, the XPort AR waits for a connection. The configurable local port is
the port the remote device connects to for this connection. There is no remote port or
address. The default local port is 10001 for serial port 1 and 10002 for serial port 2.
Accept Mode supports the following protocols:
SSH (the XPort AR is the server in Accept Mode). When using this protocol,
the SSH server host keys and at least one SSH authorized user must be
configured.
TCP
AES encryption over TCP