Stormshield SSLVPN Client

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
vince86
Messages: 16
Registration: June 11, 2018 - 4:58 PM

June 13, 2023 - 11:24

Good morning,

I set up the package as shown here: viewtopic.php?t=3276
(Version 3.2.2)

WAPT version: 2.4
license: company

Code: Select all

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

# Defining variables
bin_name_string = 'Stormshield_SSLVPN_Client_%s_win10_fr_x64.msi'
vpn_server = 'vpn.xxx.xx' # Set default vpn server fqdn to connect to

def install():
    # Initializing variables
    package_version = control.get_software_version()
    bin_name = bin_name_string % package_version

    # Installing the package
    print('Installing %s' % bin_name)
    install_msi_if_needed(bin_name)
    killalltasks(control.impacted_process.split(",")) # Kill client process launched with system account
    create_programs_menu_shortcut('Stormshield SSL VPN Client','C:\Program Files\Stormshield\Stormshield SSL VPN Client\sslvpn_client.exe',wDir='C:\Program Files\Stormshield\Stormshield SSL VPN Client\\',folder='Stormshield SSL VPN Client')
    registry_set(HKEY_LOCAL_MACHINE,makepath('SOFTWARE','Microsoft','Windows','CurrentVersion','Run'),'stormshield-vpn','C:\Program Files\Stormshield\Stormshield SSL VPN Client\sslvpn_client.exe',type=REG_SZ)

def session_setup():
    # Initializing variables
    currentuser = os.getlogin()

    # Configuring user client default vpn server to connect to
    registry_set(HKEY_CURRENT_USER,r'Software\\STORMSHIELD\\STORMSHIELD SSL VPN CLIENT','address',vpn_server,type=REG_SZ)
    registry_set(HKEY_CURRENT_USER,r'Software\\STORMSHIELD\\STORMSHIELD SSL VPN CLIENT','automatic','true',type=REG_SZ)
    registry_set(HKEY_CURRENT_USER,r'Software\\STORMSHIELD\\STORMSHIELD SSL VPN CLIENT','username',currentuser,type=REG_SZ)

def uninstall():
    remove_programs_menu_folder('Stormshield SSL VPN Client')
    if reg_key_exists(HKEY_LOCAL_MACHINE,r'Software\Microsoft\Windows\CurrentVersion\run\stormshield-vpn'):
        run('reg delete "Software\Microsoft\Windows\CurrentVersion\run\stormshield-vpn" /f')
The installation/uninstallation works (fresh install) but not the VPN.
After entering my login details, I received the following message via the Windows notification center:
Disconnected.
The SSL VPN connection was interrupted during Windows sleep or hibernation.
Please reconnect.
Tested on Windows 10 and Windows 11.

Installed manually, I have no errors and I can connect properly.

Any ideas?
Do you have a working package?
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

June 14, 2023 - 2:57 PM

Same problem on my machine. Manual installation worked fine too.
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

June 16, 2023 - 10:58

Good morning,
The WAPT agent runs under the SYSTEM account. To test the installation manually, you must run the installer as the SYSTEM account. To do this, you can install the package https://store.wapt.fr/store/fr/tis-sysinternals-pstools Then run the following command (as a local admin) and you will then have a cmd.exe in which you can test the installation manually:

Code: Select all

psexec -i -s cmd.exe
Sincerely,
Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
olaplanche
Messages: 178
Registration: January 26, 2017 - 11:11

June 19, 2023 - 3:48 PM

Hello,

I can confirm that I've also been experiencing a problem since version 3.2.2.
If I find a solution, I'll post it here.
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
olaplanche
Messages: 178
Registration: January 26, 2017 - 11:11

June 21, 2023 - 4:50 PM

Hello,

I think we'll need to migrate the installation to the session-setup function:

https://documentation.stormshield.eu/SN ... indows.htm

I don't think I'll be able to tackle it before next week. It's not complicated, though; there are already examples of this type in some packages on the wapt store.
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
vince86
Messages: 16
Registration: June 11, 2018 - 4:58 PM

July 5, 2023 - 12:55

Response from stormShield:

https://kb.stormshield.eu/en/network-se ... ient-3-2.x

/!\ This problem is currently under analysis, the R&D ticket is 85070, stay tuned.
olaplanche
Messages: 178
Registration: January 26, 2017 - 11:11

July 5, 2023 - 2:01 PM

Hello and thank you for your feedback.

Personally, I had already looked into that, but the workaround doesn't solve the problem for me.
Perhaps there's a problem with this particular version that will be fixed in the next one...

In any case, the idea of ​​using session-setup doesn't seem feasible to me because the official documentation clearly states that the client must be installed with the admin user account...
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
vince86
Messages: 16
Registration: June 11, 2018 - 4:58 PM

September 26, 2023 - 6:10 PM

No issues with the latest version released by Stormshield (3.2.3).
For now, we're distributing via GPO. I've downloaded the tis package, which I'll test.
By the way, I have a question for the Wapt team:
Why was the tis package made private? Downloading the client isn't private at all from Stormshield.
To download the client: https://vpn.stormshield.eu/
User avatar
vcardon
WAPT Expert
Messages: 278
Registration: Oct 06, 2017 - 10:55 p.m.
Location: Nantes, France

September 27, 2023 - 7:20 PM

Hello vince86,

a growing number of packages will switch to a "restricted" mode.

The very simple objective is to encourage the adoption of the Enterprise version of WAPT, as organizations subscribing to the Enterprise version will be able to download packages from the store without restrictions.
Vincent CARDON
Tranquil IT
cbaziret
Messages: 5
Registration: Sep 28, 2023 - 3:46 p.m.

September 28, 2023 - 3:52 PM

vince86 wrote: Sep 26, 2023 - 6:10 PM No problems with the latest version released by Stormshield (3.2.3).
For now, we're distributing via GPO. I've downloaded the tis package, which I'll test.
By the way, I have a question for the Wapt team:
Why was the tis package made private? Downloading the client isn't private at all from Stormshield.
To download the client: https://vpn.stormshield.eu/
Hello vince86,

If you want to use the "tis-stormshield-vpn" package, be sure to use the latest version available on the store, which is version "3.2.3-5", previous versions will almost certainly not work.

Good day !
Clément BAZIRET - Tranquil IT,
Package Creator
Locked