Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.

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

Automated post-connection logon script

Hi folks,

 

I'm new to using the VPN's on the Sophos XG appliance, and I've been comparing the SSL VPN and the Sophos Connect clients.  One thing I've managed to achieve with the SSL is automating a 'logon script' once the VPN connection is made.  Has anyone managed to get this working with the Sophos Connect client?

 

I've enabled the 'Run logon script' in the Sophos Connect Admin for the connection profile, but sadly it doesn't appear to do anything (at least, it doesn't run the logon script I've assigned to my test user within AD on the Profile tab of the user).  I'm not sure if there is some way of specifying a particular script too - I've had a look at the .scx profile file but the only reference to scripts is "run_logon_script": true; (or false, presumably).  For the SSL VPN it's quite straight forward as all you need is a <ssl connection name>_up.bat in the config folder and it runs automatically, so I was hoping there would be something similar for Sophos Connect.

 

If anyone has managed to get this to work, any pointers would be greatly appreciated!

 

Sam



This thread was automatically locked due to age.
Parents
  • Same problem here!

    you find the log here: c:\program files (x86)\sophos\connect\scvpn.log

    2019-10-18 12:54:32PM [2824] dbg RunLogonScript thread started
    2019-10-18 12:54:32PM [8444] dbg VPN state changed to connected
    2019-10-18 12:54:32PM [2824] dbg Executing logon script: 'login.bat'

    but it does nothing at all... 

  • An answer from Sophos on this subject would be helpful or at least provide some documentation on what the logon script option actually does eg which script on AD is it trying to run? An option to be able to run your own scripts after the VPN connection has connected would be even more useful.

    Sophos can you provide some clarification on this subject please?

Reply
  • An answer from Sophos on this subject would be helpful or at least provide some documentation on what the logon script option actually does eg which script on AD is it trying to run? An option to be able to run your own scripts after the VPN connection has connected would be even more useful.

    Sophos can you provide some clarification on this subject please?

Children