Multiple Ports for Use with Dell iDRAC, Fujitsu iRMC or HPE iLO Remote Console
To successfully access a remote system console, you may need to connect to multiple ports.
ButConnect is able to connect to multiple ports in a single session.
Multiple ports can be specified as lists, ranges and lists of ranges.
The mapping of the ports is based on the sequence of specifications for ‘remoteport’ and
‘localport’, so their order is relevant.
For instance:
[ILO]
mode = getaccess
server = <ssh_server>
port = <ssh_port>
user = <ssh_user>
ident = <ssh_key>
rhost = 192.168.1.234
lhost = 127.168.1.234
rport = 22-23, 80, 3002, 3389, 9300, 17988, 17990, 443
lport = 22-23, 80, 3002, 3389, 9300, 17988, 17990, 443
start = <browser>
param = "https://$LHOST:$LPORT"
(Only the last port entries can be referred to with ‘$RPORT’ or ‘$LPORT’.)
Connections to multiple hosts (and ports) are possible, too.
In that case, a one-by-one sequence of all involved remote and local hosts and ports is needed and its order also has to match.
For example:
[EXAMPLE]
mode = getaccess
server = <ssh_server>
port = <ssh_port>
user = <ssh_user>
ident = <ssh_key>
rhost = 172.16.0.80, 172.16.4.43
rport = 80, 443
lhost = 127.16.0.80, 127.16.4.43
lport = 8080, 8443
start = <browser>
(If the ports are the same for all hosts or if the hosts are the same for all ports, it is sufficient to specify them only once for ‘remote’ and ‘local’.)
It is also possible to map hosts to ports and vice versa.
Like this:
[THIS]
mode = getaccess
server = <ssh_server>
port = <ssh_port>
user = <ssh_user>
ident = <ssh_key>
rhost = 10.22.0.1, 10.22.0.2
rport = 22
lhost = 127.22.0.1
lport = 2201, 2202
start = <ssh_client>
... or that:
[THAT]
mode = getaccess
server = <ssh_server>
port = <ssh_port>
user = <ssh_user>
ident = <ssh_key>
rhost = 10.59.0.1
rport = 5901, 5902
lhost = 127.59.0.1, 127.59.0.2
lport = 5900
start = <vnc_viewer>
Here are some common port numbers for these purposes:
- HPE iLO
- Port 23 (Remote Console Port)
- Port 443 (Web Server SSL Port)
- HPE iLO2
- Port 23 (Remote Console/Telnet Port)
- Port 443 (Web Server SSL Port)
- HPE iLO4
- Port 22 (Secure Shell/SSH Port)
- Port 80 (Web Server Non-SSL Port - optional when not using .NET, but Java)
- Port 443 (Web Server SSL Port)
- Port 17990 (Remote Console Port)
- Port 17988 (Virtual Media Port - optional)
- Fujitsu iRMC
- Port 443 (Web Server SSL Port)
- Dell iDRAC
- Port 443 (Web Server SSL Port)
- Port 5900 (Keyboard and Mouse Redirection)
- Port 5901 (Video Redirection)
- Dell iDRAC6
- Port 443 (Web Server SSL Port)
- Port 5900 (Console Redirection)
- VMware vSphere
- Port 443 (vSphere Client Access)
- Port 902 (Virtual Machine Consoles)