Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SSl VPN Can't connect after computer goes into suspend

I'm running the latest 9.210-20, and my PC is running Windows 8.1. The SSL VPN connects fine, but if the computer goes into suspend while the VPN is connected, the connection is 'broken'. When I reconnect, the little traffic light shows green, and I get a 'Connected' message. However, there is no VPN connection. Disconnecting and reconnecting doesn't help. Rebooting the PC doesn't help. Oddly, connecting with another device (One of my Android devices) works fine, even though the username and password is the same as on the PC. Once, this fixed itself eventually. Another time, I had to reboot the UTM before it would work again. Is there a setting to get the session to time out properly, or some other fix or workaround for this behavior?
Thanks!


This thread was automatically locked due to age.
  • What happens if you run, at the command line:

    chroot /var/sec/chroot-openvpn
    /usr/bin/ras_update.plx ssl disconnect username $USER $IP


    Are you then able to connect?

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Unfortunately, I haven't been able to run the command (I'm not able to get a console remotely without VPN). I resigned myself to going into web admin, and disabling and re-enabling my user. That clears the status screen showing I'm still connected. This used to work about 60% of the time, but it seemed to get worse over time. Now, I'm home, trying to access my office for over an hour. I've disabled and re-enabled my user many times, as well as disabling and re-enabling the VPN. I've reboot the UTM. Again, I never have any problems connecting with OpenVPN on Android. Maybe it's the client? I've rebooted my laptop 5 or 6 times already, and have tried stopping and restarting the client. A while ago, I tried installing OpenVPN on my laptop instead of the Sophos client (Which looks pretty much the same), and reused the config, but it didn't work at all.
  • On the 'Settings' tab, have you selected 'Allow multiple concurrent connections per user'?

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • It was originally checked, but when I was having problems, I noticed it, and thinking it might be insecure, I unchecked it. I re-checked it last night, and tried to connect. The first time failed, but without doing anything else (Rebooting, disabling users, etc), it connected fine on the second try. 

    Also, before connecting these last 2 times, I downloaded and reinstalled the latest client from the UTM. 

    Also, I can tell by timing if it will work. If the time between trying to connect, and the time it says 'Connected' is about 10 seconds, the connection works. When the connection doesn't work, the connect time is about 30 seconds.
  • I just wanted to clarify... I'm now having issues just connecting. I haven't let it go into suspend for a while now.
    Thanks!
  • I wanted to let you know I figured it out. I just realized the computer I was having problems with was running Windows 8.1. Looking up OpenVPN, I found the exact problem I was having, on Windows 8.1. It was apparently fixed 3 months ago, so I uninstalled the Sophos client, and installed the latest OpenVPN client (http://swupdate.openvpn.org/community/releases/openvpn-install-2.3.6-I601-x86_64.exe), copied my configs over, and it works perfectly and 100% of the time (So far).
  • As an update, OpenVPN stopped working completely on the Windows 8.1 machine. Not sure why. Still, it looks like the problem is likely on the client side. My other computers, and Android devices, all work fine with OpenVPN.