Add servers behind a Tunnel Host in SSH Gateway or Add servers that are accessible via port forwarding via the ssh gateway server.

Tunnel Host feature lets you add in server in a LAN or behind router on a different network into the Ezeelogin SSH gateway.  As shown in the diagram below, Server A & B can be added into the SSH Jumphost even though they are behind a NAT hence has private IPs.  In such scenario the tunnel host feature would be useful to add in servers into the ssh gateway that has only public ips. Tunnel host lets you add in servers that are behind a Router R but has the ports being forwarded so that the machines in LAN can be accessed.

ssh tunnel host

 

Tunnel Host feature is used to add target servers that are not directly accessible but can be accessed only via forwarded ports on the tunnel host server RouterR.eznoc.com. Tunnel Host variable is found under the Advanced section while adding a new server.

To add and access the SSH server on ServerA.eznoc.com with  the private ip 192.168.1.2 behind RouterR.eznoc.com, we enter the values  as shown in the diagram below.  The forwarding port of 9999 on RouterR.eznoc.com is entered in the SSH port field.

 

setup tunnelhost

 

Under the Advanced settings of ServerA.eznoc.com, the Tunnel Host is set as RouterR.eznoc.com so its ipaddress of 200.11.1.22 is entered as shown below.

tunnel adv

 

 

Similarly, to add and access the RDP server on ServerB.eznoc.com with private ip address 192.168.1.3 behind RouterR.eznoc.com, we enter the values as shown in the diagram below.  We disable the SSH field since this is a windows server.  The forwarding port of 8888 on RouterR is entered in the SSH port field.

 serverb

 

 

Under the Advanced settings of ServerA.eznoc.com, the Tunnel Host is set as RouterR.eznoc.com so its ipaddress of 200.11.1.22 is entered as shown below.

tunnelhost

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    How to copy a file to a remote server or group of servers behind the ssh jumphost? Parallel Copy - How to do it?
    Viewed 1016 times since Thu, Apr 12, 2018
    How to stream the ssh sessions in real time?
    Viewed 2282 times since Wed, Nov 22, 2017
    Is it possible to view all ssh logs of a deleted user ?
    Viewed 989 times since Sun, Dec 17, 2017
    Installing Jump server or Bastion host on a linux host in Google or AWS instance ?
    Viewed 1867 times since Thu, Sep 21, 2017
    Add custom fields on server add form
    Viewed 103 times since Wed, Mar 27, 2019
    How to increase the speed of execution in parallel shell?
    Viewed 826 times since Fri, Mar 30, 2018
    How does the license upgrade work?
    Viewed 969 times since Mon, Aug 21, 2017
    Will i be locked out of my servers if my ezeelogin hosted server goes down ?
    Viewed 1546 times since Mon, Aug 21, 2017
    How to find the ssh jumphost software version that is being run?
    Viewed 879 times since Thu, Mar 1, 2018
    Can we map existing user group in ldap to ezeelogin as ezeelogin user group ?
    Viewed 2429 times since Mon, Sep 25, 2017