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

UTM 9 SG330 - SSL VPN Provisioning File

 I've been everywhere and can not figure out what I'm doing wrong or if I can even do this.

 Due to a new process with sending out new laptops for our completely remote company I need to automate everything I can out of box.  Here is my situation.

Currently:

  • For a user to be able to VPN they must first go to the Sophos User Portal and download their config (*.ovpn) file, then import that file into Sophos Connect.
  • This is what I’m trying to get around (remove the end user)

 

Where I’m stuck:

  • I believe, from what I have reviewed, that a Provisioning File should be able to be used so when a user connects it grabs their config without them having to do anything themselves.

Notes:

 1. Am I even able to use a provisioning file in this manner where I can save the user from having to go to the user portal themself to download the config and then import it

 2. When I try this I keep getting a "Cannot connect to gateway policy".  I am not Sophos savvy, hence why I am here, and am not sure what the gateway policy is

 3. I'm thinking possibly that I'm getting this error because in the events it says "Please enter user credentials" but it never asks for any credentials and moves on to the gateway policy error.

Any help is greatly appreciated.  I've spent hours on this with zero progress.



This thread was automatically locked due to age.
Parents
  • Hi Michael and welcome to the UTM Community!

    You can use the following to download the configuration for one or more users.

       

    When you're logged into the new laptop to load the SSL VPN config, are you logged in as the future user of the laptop?

    Cheers - Bob (200 miles west and a little south of you. :-)

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Reply
  • Hi Michael and welcome to the UTM Community!

    You can use the following to download the configuration for one or more users.

       

    When you're logged into the new laptop to load the SSL VPN config, are you logged in as the future user of the laptop?

    Cheers - Bob (200 miles west and a little south of you. :-)

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Children
  •   - Thanks for the reply.  I did recently find this option, but what I'm trying to do is automate it.  I guess the best example I can give is a powershell script (or some script) that can reach out the the UTM and based on the logged in user (or manually provided credentials) pull their config file then just run it so it imports into Sophos Connect VPN Client.

    I may have to just consider this route of manually downloading and scripting around a repository, just if possible I'm trying to actually call to the UTM since it is already a repository and auto updates with new users assigned to the AD group.

  • Michael, I copied the following lines from the source code on the 'Remote Access' tab of the User Portal:

    <script src="jape/jape_01_config.js" type="text/JavaScript"></script>
    <script src="jape/jape_05_ajax.js" type="text/JavaScript"></script>
    <script src="jape/jape_10_dflt.js" type="text/JavaScript"></script>
    <script src="jape/jape_20_util.js" type="text/JavaScript"></script>
    <script src="jape/jape_30_dom.js" type="text/JavaScript"></script>
    <script src="jape/jape_40_widget.js" type="text/JavaScript"></script>
    <script src="jape/jape_50_form.js" type="text/JavaScript"></script>
    <script src="jape/jape_60_grid.js" type="text/JavaScript"></script>
    <script src="jape/jape_99_common.js" type="text/JavaScript"></script>

    I don't see the SSL_VPN configs anywhere in cc, so I believe they're only built using javascript programs when one is requested.  That's beyond my skill sets.

    Good luck!

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA