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 (OpenVPN on iOS) dont want users to be able to save password

Hello

I just set up SSL VPN and it works as intended on windows clients.
(They must type username and password each time they connect).

The same is not the case on iOS. 

Here is what I done.

- Installed OpenVPN on my iOS device.
- Logged on to the user portal and under Remote Access i clicked "install» for iOS. Opened the file in OpenVPN. 
- Imported these settings to OpenVPN
- Connected. 

All works fine. I would just like to disable the saving of the password on the client.

Googling lead me to an FAQ on OpenVPN.

****************************************
Why is the save password switch sometimes disabled?
A: The save password switch on the authentication password field is normally enabled, but can be disabled by the following:
• The following OpenVPN directive, if present in a profile, will disable the password save switch:
setenv ALLOW_PASSWORD_SAVE 0 
Note however that the above directive only applies to the authentication password. The private key password, if it exists, can always be saved.
****************************************************


This suggests that the setting can be added to the configuration file. 
However I have not found anywhere in the sophos UTM GUI (Web Admin) where I can set settings for the SSL client / configuration file.

Do I need to SSH into the UTM and edit the file?
If anyone got any tips on how to disable the “save password” feature in OpenVPN on iOS (Guess the same settings also applies for Android), please leave a note.


This thread was automatically locked due to age.
Parents Reply Children
  • auth-user-pass /etc/openvpn/client/[]/credentials


    The setenv ALLOW_PASSWORD_SAVE 0 is working, but you also specified a path to the user's credentials after the auth-user-pass option, essentially allowing the user to login without typing a password.  Don't put anything after auth-user-pass and try again:

    setenv ALLOW_PASSWORD_SAVE 0
    auth-user-pass


    If that doesn't fix it, verify your OpenVPN client version.  Some older versions do not support ALLOW_PASSWORD_SAVE
  • Hi,

    Yes, remove the path for the user credential specified after auth-user-pass. That forces auto login during the system startup. 

    Thanks

    Sachin Gurung
    Team Lead | Sophos Technical Support
    Knowledge Base  |  @SophosSupport  |  Video tutorials
    Remember to like a post.  If a post (on a question thread) solves your question use the 'This helped me' link.