rport_create_tunnel
Creates a reverse tunnel to an active RPort client, exposing a local server port and returning the SSH command to use it. It sets up secure access via the RPort server without executing SSH directly.
Instructions
Crea un t�nel inverso en un cliente activo. El puerto local queda en iot.console.queo.com.co. Para SSH usa remote=22 y scheme=ssh. Por defecto restringe ACL a la IP de salida de este MCP. No ejecuta SSH: devuelve el comando a usar.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| acl | No | IPv4 o CIDR permitidas, separadas por coma. Si se omite, IP de este MCP | |
| local | No | Puerto en el servidor RPort. Si se omite, RPort elige uno libre | |
| remote | No | Destino en el cliente: 22, 127.0.0.1:22, o IP LAN:puerto para saltar | |
| scheme | No | ssh, http, https, vnc, rdp, etc. Default ssh | |
| protocol | No | ||
| client_id | Yes | Id del cliente RPort (de rport_list_clients) | |
| check_port | No | Comprobar que el puerto remoto est� abierto. Default true | |
| http_proxy | No | Reverse proxy HTTP (solo scheme http/https) | |
| host_header | No | Host header si http_proxy=true | |
| skip_idle_timeout | No | No cerrar por inactividad | |
| idle_timeout_minutes | No | Cierre por inactividad. Default RPort: 5 |