Tunnel – TCP Configuration parameters: “TCP_”

¿Buscas alguna otra cosa?

This important configuration parameter relates to TCP protocol communication in MTX-Tunnel. They are mandatory when using 2G/3G/4G TCP – Serial RS232/485 tunnel in client (MTX_mode: client) or server mode (MTX_mode: server)

TCP_IP

Description: IP server address that MTX-Tunnel will connect to if it is client configured (MTX_mode: client).

Possible values:

  • IP address format XXX.XXX.XXX.XXX or DNS
  • Default value: none

Additional notes:

  • This parameter is also used if MTX-Tunnel is configured in server mode (MTX_mode: server) and if MTX_temporalClient is enabled (value =”on”). The IP address or DNS name is used by the temporal client to establish a connection. Please read the information regarding the MTX_temporalClient parameter for more details

TCP_port

Description: TCP port value: MTX-Tunnel is used in both client (MTX_mode: client) and server mode (MTX_mode: server). In server mode, MTX-Tunnel waits for incoming connections at the specified port. This specifies the TCP port that MTX-Tunnel will connect to when it is configured in client mode (MTX_mode: client), and in server mode (MTX_mode: server) it indicates the TCP port where incoming connections are made.

Possible values:

  • 1… 65535
  • Default value: 20010

Additional notes:

  • This parameter is also used if MTX-Tunnel is configured in server mode and MTX_temporalClient parameter is enabled (value =”on”). The IP address or DNS name is used by the temporal client to establish a connection. Please read the information regarding the MTX_temporalClient parameter for more details

TCP_IP2

Description: This parameter has only been available since the MTX-Tunnelv7.8. In the event that the modem is configured as a client (MTX_mode: client) and the connection is permanent (GPRS_timeout: 0), you can specify an IP address in this parameter which allows you to establish a second 2G/3G/4Gserial gateway. This means that on one hand you have the first 2G/3G/4G-serial gateway associated with the modem’s COM1 port and on the other hand you have the new gateway associated with the modem’s COM2 port.

Possible values:

  • An IP address XXX.XXX.XXX.XXX or a DNS
  • Default Value: none

Additional notes:

  • This parameter can only be used with modems that have two serial ports.

TCP_port2

Description: This parameter has only been available since MTX-Tunnelv7.8. In the event that the modem is configured in client mode (MTX_mode: client), the connection is permanent (GPRS_timeout: 0) and you have specified an IP address in the parameter TCP_IP2, this parameter allows you to choose the port for the TCP connection.

This means that on the one hand you have the first 2G/3G/4G-serial gateway associated with the modem’s COM1 port and on the other hand you have the new gateway associated with the modem’s COM2 port.

From MTX-Tunnel v9 onwards, in case the modem is configured in Server mode (MTX_mode: server) and the connection is permanent (GPRS_timeout: 0) , this parameter allows you to specify the TCP listening port of the second gateway.

That means that on the one hand you have a 2G/3G/4G-serial gateway associated with the modem’s COM1 port, and on the other hand you have the new gateway associated with the modem’s COM2 serial port. So, two serial gateway running in parallel.

Possible values:

  • 1… 65535
  • Default Value: 20010

Additional notes:

  • This parameter can only be used with modems that have two serial ports.