I can't seem to SSH into my server over VPN and can't figure out why.

Using JuiceSSH on my phone, I'm able to connect to my device without any problems when I'm on my home Wi-Fi. However, when off WiFi and connected to my VPN, the server doesn't connect. I'm still able to access the services it's running, but can't SSH into the server itself.

https://kbin.social/m/selfhosted@lemmy.world/t/35440

I can't seem to SSH into my server over VPN and can't figure out why. - selfhosted - kbin.social

Using JuiceSSH on my phone, I'm able to connect to my device without any problems when I'm on my home Wi-Fi. However, when off WiFi and connected to my VPN, the server doesn't connect. I'm still able to access the services it's running, but can't SSH into the server itself.

Are you trying to connect via IP or via hostname/DNS? Try IP if you haven't yet.

Perhaps you have only allowed connections from specific clients or from local IP's only?

Are there any error messages or do you get a timeout?

I get the below message and nothing happens. Then about 60 seconds later Juice gives a timeout error.

ssh_socket_connect: Nonblocking connection socket: 98 ssh_connect: Socket connecting , now waiting for the callbacks to work

Connecting via IP.
how does the ip start? 192.x or 10.x maybe?