General configuration tab
Network settings
Public IP address (or FQDN) of the UTM used |
Indicate the IP address that users must use to reach the SNS firewall in order to set up VPN tunnels. You can indicate either an IP address or FQDN.
|
Available networks or hosts |
Select the object representing the networks or hosts that will be reached through the VPN tunnel. This object makes it possible to automatically set on the workstation the routes needed to reach resources that can be accessed via the VPN.
Filter rules (in the Filter - NAT module) will be necessary to more granularly allow or prohibit traffic between remote workstations and internal resources. You may also need to set static routes for access to the network assigned to VPN clients on corporate network devices located between the SNS firewall and the internal resources provided. |
Network assigned to clients (UDP)
Network assigned to clients (TCP) |
Select the object corresponding to the network that has been assigned to VPN clients in UDP and TCP. The network mask must not be smaller than /28. If you assign two networks, VPN client will always choose the UDP network first to ensure better performance. Choosing the network or sub-networks:
|
Maximum number of simultaneous tunnels allowed |
The number appears automatically. This number corresponds to the lowest value, either the number of tunnels allowed on the SNS firewall, or the number of sub-networks available for VPN clients. The number of sub-networks represents 1/4 of the number of IP addresses minus 2. An SSL VPN tunnel takes up 4 IP addresses and the server reserves 2 sub-networks for its own use. |
DNS settings sent to client
Domain name | Enter the domain name assigned to the SSL VPN clients so that they can resolve their host names. |
Primary DNS server
Secondary DNS server |
Select the object representing the DNS server to be assigned. |
Advanced properties
Public IP address of the UTM for the SSL VPN (UDP) |
In either of the following cases, you need to select the object representing the IP address used for setting up UDP SSL VPN tunnels:
|
Port (UDP)
Port (TCP) |
The listening ports of the SSL VPN service can be changed. Note:
|
Interval before key renegotiation (in seconds) |
You can change the length of time (14400 seconds by default, or 4 hours) after which the keys used by the encryption algorithms will be renegotiated. During this operation:
|
Use DNS servers provided by the firewall |
You can instruct VPN clients to include the DNS servers retrieved via the SSL VPN in the workstation's (Windows only) network configuration. If DNS servers are already defined on the workstation, they may be queried. |
Prohibit use of third-party DNS servers | You can instruct VPN clients to exclude the DNS servers that have already been defined in the workstation's (Windows only) configuration. Only DNS servers sent by the SNS firewall can be queried. |
Scripts to run on the client
In Windows, the Stormshield SSL VPN client can run .bat scripts when an SSL VPN tunnel is opened or closed. In these scripts, you can use:
-
Windows environment variables (%USERDOMAIN%, %SystemRoot%, etc.),
-
Variables relating to the Stormshield SSL VPN client: %NS_USERNAME% (user name used for authentication) and %NS_ADDRESS% (IP address assigned to the SSL VPN client).
Script to run when connecting |
Select the script to run when the VPN tunnel is opened. Example of a script that makes it possible to connect the Z: network drive to the shared network: NET USE Z: \\myserver\myshare |
Script to run when disconnecting |
Select the script to run when the VPN tunnel is closed. Example of a script that makes it possible to disconnect the Z: network drive from a shared network: NET USE Z: /delete |
Certificates
Select the certificates that the SNS firewall’s SSL VPN service and the Stormshield SSL VPN client must present to set up a tunnel. They must be issued from the same certification authority. The default suggestions are the certification authority dedicated to the SSL VPN, and a server certificate and a client certificate created when the firewall was initialized.
Server certificate |
Select the desired certificate. The |
Client certificate | Select the desired certificate. Client certificates with a TPM-protected private key cannot be selected as the private keys of such certificates must be available in plaintext (unencrypted) in the VPN configuration that is distributed to VPN clients. |
Configuration
Export the configuration file | Click on this button to export the SSL VPN configuration in .ovpn format. |