Secure Mobile Access 12.4 Administration Guide

Configuring Tunnel Client Settings

Connect Tunnel is a client application that is installed on a user’s device, and OnDemand Tunnel is the same CT client that is activated each time a user logs in to WorkPlace from supported device.

This section describes how to configure settings for the tunnel clients. For a more detailed description of these settings, see Network Tunnel Client Configuration.

To configure tunnel client or agent settings

  1. In the AMC, navigate to User Access > Realms and click the link for the community you want to configure, and select Tunnel Access tab.

    The Tunnel Access page displays.

    1. By default, any configured IP address pool is available to the selected community. To select specific IP address pools, click Edit in the IP address pools area and then select from the list of configured pools.

    2. Select the Redirection mode used to route client traffic to the appliance. The network tunnel service supports several two redirection modes. For a more detailed description of the supported redirection modes, see Redirection Modes.

      • Split Tunnel (less secure): Traffic bound for resources defined in AMC is redirected through the tunnel, and all other traffic is routed as normal.
        • Enable Use tunnel as primary network (Mobile Connect only)checkbox. The appliance will resolve all the DNS queries when you enable the checkbox.
      • Redirect All (more secure): Traffic is redirected through the tunnel regardless of how resources are defined in AMC.
    3. You can override the behavior of Split Tunnel or Redirect All by specifying exclusions that will be used by this community.

      In the Community Exclusions field, enter the host names, IP addresses, subnets, and IP ranges that you want to exclude from being redirected through the appliance. Wildcard characters (* and ?) are permitted.

      Due to client operating system limitations, Mobile Connect cannot convert host name, URL, or domain type resources containing wildcards to an IP address and, therefore, cannot redirect them to the appliance.

      For example, if you have three public web servers (www.YourCompany.com, www2.YourCompany.com, and www3.YourCompany.com), you can allow the network traffic associated with them to avoid the appliance, which will improve performance. Add all three public sites to the Exclusions by using a wildcard character: www?.YourCompany.com. Resources in this list can also contain variables; see Using Variables in Resource an WorkPlace Shortcut Definitions for more information.

      Migration of prior versions of SMA that contains Resource Exclusion List to 12.4.1:

      • All entries in Resource Exclusion List migrate to a single exclusion named Split Tunnel
      • All Split tunnel communities use this exclusion named Split Tunnel
      • For Redirect All communities, exclusions will not be migrated, which may affect browser-only sessions

      Enable Exclude local network traffic by default checkbox if you want to allow users to access local printers and file shares. If corporate resources use the same address space as the local network, they will not be accessible.

      Enable Allow users to exclude or include local network traffic if you want to allow users to choose local/remote network preference and add custom exclusions. Recommended for advanced users only.

  2. Click to expand the Tunnel Client Options section:

  3. Scroll down to the Cached Credentials section and select one of these options:

    Option Description
    Always (if available) Always use cached credentials
    At user's discretion Choose no caching, biometric unlock required, or auto login from cache.
    Only with biometric verification Only use credential caching when biometric verification is supported and enabled. Cached credentials are only used after biometric identification verification.
    Username only Use cached username.
    Disabled Disable cached credentials in the Connect Tunnel client.

    On a Windows system, Connect Tunnel uses cached system credentials. On other systems, Connect Tunnel remembers the entered credentials and uses them on subsequent connection attempts.

  4. Use one of the Software updates options to alert users when client updates are available or update their software automatically. This setting is available only when the network tunnel client is configured to provision client from Secure Mobile Access WorkPlace:

    Option Description

    Manual

    User must start updates manually.
    At user's discretion Allows users to decide when to install software updates. The update can be deferred indefinitely; however, the user will see the software-update alert when he or she starts the tunnel client (once per day) until the update is installed.
    Required User must accept updates in order to access VPN resources through the tunnel client.
    Forced Updates are required in order to connect. The update program starts, and a progress bar is visible during installation, but the user is not prompted during the process.
  5. To automatically establish a tunnel connection when a user attempts to login from an unsecure location, check the Enable secure network detection check box in the Secure Network Detection section. For more information, see Secure Network Detection.
  6. By default, the client is configured to access the realm and appliance name from which the client was downloaded. However, you can override this default behavior and configure the client to access a different realm or appliance. In the Custom connection area, select the Configure client with custom realm and appliance FQDN check box, and then specify these options as needed:

    • From the Realm name list, click the name of the default realm.

    • In the Appliance FQDN field, type the fully qualified domain name of the default appliance.

  7. By default, a tunnel client session is time specified by Credential lifetimeby the appliance once it has been established. The default time, is set the Session Termination > Limit session length to credential lifetime. This requires users to re-authenticate once the amount of time specified by Credential lifetime (on the Configure General Appliance Options page) has passed. When this option is selected, users are notified when a session is nearing the inactivity threshold and users can avert the disconnect by performing any mouse or keyboard activity.

    If you need a TCP connection or consistent UDP traffic flow between the same two address/port tuples to live longer than eight hours, you must put the user in a community that has this option unchecked. Even with the Limit session length to credential lifetime checkbox unchecked, users cannot authorize new flows within the tunnel after their credentials expire.

  8. Scroll down to Always on VPN section and check the Enable Always On VPN box.

    Selecting Enable Always On VPN option establishes a VPN connection between the user's device and the appliance whenever the device has a network connection to the internet. You can select the following check boxes, see Device VPN endpoint enrollment

    Option Description
    Allow user to disconnect To allow users to unlock the Connect Tunnel client, disconnect the VPN connection, and modify the Always-on profile.
    Restrict network access when VPN is not Connected To restrict network access to the users until VPN is completely connected.

    Always On VPN is only supported for Connect Tunnel for Windows in SMA 12.4.

  9. If you enabled Redirect all in the Redirection mode area, you can configure Internet traffic to be sent through an internal proxy server when the VPN connection is active. In the Proxy options area, select the Redirect Internet traffic through internal proxy server checkbox, and then select one of the proxy server options.

    To specify a proxy auto-configuration (.pac) file, click Proxy auto-configuration file and then type the URL, preceded by the http:// protocol identifier, for the .pac file. The .pac file configures the user’s Web browser to load its proxy configuration settings from a JavaScript file rather than from information that you manually specify; the JavaScript file specifies which proxy servers can be used and can redirect specific URLs to specific proxy servers. For information about formatting .pac files, see:

    http://en.wikipedia.org/wiki/Proxy_auto-confighttp://en.wikipedia.org/wiki/Proxy_auto-config

    To manually specify a proxy server, click Proxy server and then type the server’s host name and port number in host:port format (for example, myhost:80). Optionally, in the Exclusion list field, you can type the host names, IP addresses, or domain names of any resources that you do not want redirected through the proxy server. When defining these resources, wild cards are valid, and multiple entries must be separated by semicolons.

  10. To launch an executable file or script after the connection has been established:

    1. Click to expand the Post-connection scripts area.

    2. Select the Run a post-connection script checkbox that corresponds to your operating system.

    3. Specify your settings. For more information, see Post-Connection Scripting.

      1. In the Run this file field, type the path and name for the script file. For example:

        %Program Files%\ACME\remote_access.bat

      2. In the Command line arguments field, type any command-line arguments that you want to execute when running the script. For example:

        -user=%USERNAME% -system=%OS%

      3. In the Working directory field, type the directory in which the script will be executed. When defining the working directory, you can specify environment variables formatted as %VariableName%, where VariableName represents the actual environment variable name. For example:

        %USERPROFILE%\ACME

    The post connection script file must be in a location on the client computer that the user can access and where that user can execute files.

  11. In the Advanced area, Enable ESP encapsulation of tunnel network traffic is selected by default for all network traffic (for all tunnel traffic). ESP (Encapsulating Security Payload) is a way to encapsulate and decapsulate packets inside of UDP packets for traversing Network Address Translators (NATs). Using it can improve the performance of applications, especially UDP-streaming applications like VoIP.

    For an ESP tunnel to function, UDP port 4500 needs to be open in the firewall for traffic to and from the SMA appliance external IP and Virtual IP addresses.

    When ESP is enabled, the tunnel client tries to bring up an ESP tunnel, but falls back to a legacy SSL tunnel if there is a problem establishing the ESP tunnel. The typical reason for this failure is that UDP port 4500 is not open in the network firewall.

    If you do not want to use ESP because you do not want to open UDP port 4500 in your firewall or for any reason, then clear the Enable ESP encapsulation of tunnel network traffic checkbox. To disable the default use of ESP in a community, clear the checkbox on the Realms > [your tunnel realm] > Communities > [your tunnel community] > Access Methods > Tunnel Access > Advanced.

  12. Click OK.

    • If users are running OnDemand Tunnel in “redirect all” mode, connections to translated Web resources fail with Page cannot be displayed errors. To work around this issue, add an A (Address) record to the internal DNS servers to assign the appliance VIP or external IP to the appliance FQDN.
    • When At user’s discretion is enabled for Client software updates in the Software updates area, the user sees an upgrade notification, and the Connect Tunnel client caches the user’s response for 24 hours. If the setting is then changed to Required or Forced, a user who opted to delay updating may not be prompted again until the following day because the earlier response is still cached.
    • If you plan to run a VB script after a connection has been established, you cannot simply enter the path and name of the .vbs script file; you must use the Windows Script Host utility to invoke it. To work around this, configure the post-connection options as follows:

      • Run this file: <drive>:\windows\system32\cscript.exe

      • Command line arguments: <Path to script>. For example:

        c:\path\to\script.vbs or \\path\to\script.vbs

      Leave Working directory empty.

    • When you specify a .pac file location, be certain that your tunnel users have access to it. You can do this by defining a resource and creating an access rule. See Creating and Managing Resource Groups and Configuring Access Control Rules.

Was This Article Helpful?

Help us to improve our support portal

Techdocs Article Helpful form

  • Hidden
  • Hidden

Techdocs Article NOT Helpful form

  • Still can't find what you're looking for? Try our knowledge base or ask our community for more help.
  • Hidden
  • Hidden