I am a new user and I have installed thinlinc on our linus RHEL8.5 machine… this has the local address 192.168.1.6. I can use Thinlinc to connect to this machine from my mac using the address 192.168.1.6 without problem.
However from home I have to connect to the server with its address: 193.XXX.XXX.XX … and when I do that I get the following
Connection to server: "193… "
Connection to agent: “192.168.1.6”
and then Connection to server:“192.168.1.6” timed out. Check your settings.
What am I doing wrong - is it just some port that I need to open in the router?
I believe I have the following ports open:
22, 300,5901,5902,1010,9000
The port you need to open in your router to allow external connections to Thinlinc is port 22 (SSH).
Regarding the message " Connection to server:“192.168.1.6” timed out. Check your settings." is due to fact that Thinlinc VSMServer will instruct your Thinlinc client to make a second SSH connection to the ipaddress of your server, which is 192.168.1.6.
Your client machine must have some way to directly make a connection to this address, and since it’s an internal address, we can work around this by utilizing an SSH tunnel and HOST_ALIASES.
Update: If your client machine is running Windows, the configuration for HOST_ALIASES will be different than what is written in link above.
instead of configuring the Thinlinc client configuration in the file tlclient.conf, in Windows this is done in the Windows Registry (with the tool regedit), please see attached screenshot.
After you’ve setup the HOST_ALIAS parameter in the registry and started your ssh tunnel, you should be good to go to connect to 192.168.1.6 in the Server field in the Thinlinc Client
Many thanks for your quick reply … however I am a bit new to this game so I still have problems.
my external machine is running RHEL7.5 - and I connect to it using Tigervnc from my mac.
I have added this line to the
“HOST_ALIASES=192.168.0.2:22=localhost:2222” to the tlclient.conf on both the external machine and the server machine that I want to connect to…
I have run the tunnel command on my external machine:
ssh -L 2222:192.168.1.6:22 username@193.XXX.XXX.XX