Issue connecting over VPN

Hi all,

I am having issues setting up my ThinLinc server. I am trying to use my home desktop to my laptop, which runs windows, over a Wireguard VPN and when I try to connect to any user from the client it says that the connection to the server timed out and to check my settings. I have checked the settings and there isn’t anything that looks wrong to me, but I am not very familiar with setting up this kind of program so I might be missing something. Are there settings I should be looking for to handle logging in over a VPN connectted sever?

Hi @August_Friebolin,

Generally speaking, you shouldn’t need to use a VPN with ThinLinc, since all traffic between the client and server is sent via an encrypted SSH tunnel. But if you need to use a VPN for some reason, you will need to make sure that the agent_hostname parameter is set correctly on the server. This can be found in the configuration file at /opt/thinlinc/etc/conf.d/vsmagent.hconf.

You should set agent_hostname to whatever hostname or IP address the client should use to connect to your session. When using a VPN, this will probably be a local IP address. Don’t forget to restart the vsmagent service after making this change.

Hope that helps.