Cisco Secure Access Help

PDF

Cisco Secure Access Help

Manage Machine Tunnels

Want to summarize with AI?

Log in

Machine tunnels ensure connectivity to the corporate network whenever the client system is powered up, whether or not a VPN connection has been established.


A Secure Access VPN machine tunnel ensures connectivity to the corporate network whenever the client system is powered up, not just when a VPN connection is established by the end user. You can perform patch management on out-of-the-office endpoints, especially devices that are infrequently connected by the user, via VPN, to the office network. Endpoint OS login scripts that require corporate network connectivity also benefit from this feature. For this tunnel to be created without user interaction, certificate-based authentication is used.

About the VPN Machine Tunnel

The Secure Access machine tunnel allows administrators to have the Cisco Secure Client connected without user intervention prior to when the user logs in. Secure Access machine tunnel is triggered when the endpoint is off-premises and disconnected from a user-initiated VPN. The Secure Access VPN machine tunnel is transparent to the end user and disconnects automatically when the user initiates VPN.

The Secure Client VPN agent service is automatically started upon system boot-up. The Secure Client VPN agent uses the VPN profile to detect that the machine tunnel feature is enabled. If the machine tunnel feature is enabled, the agent launches the management client application to initiate a machine tunnel connection. The management client application uses the host entry from the VPN profile to initiate the connection. Then the VPN tunnel is established as usual, with one exception: no software update is performed during a machine tunnel connection since the machine tunnel is meant to be transparent to the user.

The user initiates a VPN tunnel via the Secure Client, which triggers the machine tunnel termination. Upon machine tunnel termination, the user tunnel establishment continues as usual.

The user disconnects the VPN tunnel, which triggers the automatic re-establishment of the machine tunnel.

For information about viewing connection events filtered by machine tunnel, see View the Remote Access Log Report.

Limitations

  • User interaction is not supported.

  • Certificate-based authentication through Machine Certificate Store (Windows) is only supported.

  • Strict Server Certificate checking is enforced.

  • A private proxy is not supported.

  • A public proxy is not supported (ProxyNative value is supported on platforms where Native Proxy settings are not retrieved from the browser).

  • Secure Client Customization Scripts are not supported.


Add a Machine Tunnel and Configure General Settings

This section describes how to configure Secure Access as the VPN gateway and accept connections from the Secure Client through the VPN machine tunnel.

Before you begin

  • Full Admin role in Secure Access. For more information, see Manage Accounts.

Procedure

  1. Navigate to Connect > End User Connectivity > Virtual Private Network.

  2. Navigate to VPN Profiles and configure the general settings for the machine tunnel.

    1. Click +VPN profile, navigate to Profile Settings, and then click +Add Machine Tunnel.

      Profile Settings section with option for adding machine tunnel
    2. Click Settings, and then choose Manage Machine Tunnel from the drop-down.

      Configuration of general settings for machine tunnel
  3. Enter the Default domain.

  4. The DNS Server mapped through the Manage Regions and IP Pools page is set as the default server. You can accept the default DNS server, choose another DNS server from the drop-down, or click + Add to add a new DNS server pair. Selecting another DNS server or adding a new DNS server overwrites this default server.

  5. Select one IP pool per region from the IP Pools drop-down. VPN profiles must have at least one IP pool assigned in each region for a valid configuration.

  6. Select the Tunnel Protocol that this machine tunnel will use.

    Note
    Select at least one protocol.
    • TLS/DTLS

    • IPSec (IKEv2)

  7. Optionally, check Include protocol to enforce client bypass protocol.


    General Settings section with option for enforcing client bypass protocol

Configure Authentication for Machine Certificate

The machine tunnel is transparent to the end user and disconnects automatically when the user initiates a VPN session. For this tunnel to be created without user interaction, certificate-based authentication is used.

Set up the authentication for the machine certificate.

Procedure

  1. Choose CA certificates from the list or click Upload CA certificates.

    These certificates can be used by the machine tunnel as a machine certificate to authenticate devices.

    Upload your organization's signed CA root certificate. For more information, see VPN Certificates for User and Device Authentication.


    Authentication for Machine Certificate section displaying options to view list of CA certificates or upload new CA certificate for device authentication
  2. Select the certificate-based authentication fields.

    1. For Primary field to authenticate, choose the certificate field that contains the device name (computer name).
      Secure Access uses the device name as the machine tunnel identifier. The format of the computer name must match the format of the chosen device identifier. For more information, see Authenticate Device Identity with Active Directory.
    2. (Optional) For Secondary field to authenticate, choose a secondary attribute to authenticate to Active Directory endpoint devices.
      You cannot choose the same value for the primary and secondary authentication fields.
  3. Click Next.


Configure Traffic Steering (Split Tunnel)

For Traffic Steering (Split Tunnel), you can configure a machine tunnel to maintain a full tunnel connection to Secure Access, or configure it to use a split tunnel connection to direct traffic through the VPN only if necessary.

Procedure

  1. For Tunnel Mode, choose either:

    • Connect to Secure Access to direct all traffic through the tunnel; or,


      Tunnel Mode section showing Connect to Secure Access tunnel mode configuration to steer traffic through the tunnel
    • Bypass Secure Access to direct all traffic outside the tunnel.


      Tunnel Mode section showing Bypass Secure Access tunnel mode configuration to steer traffic outside the tunnel
  2. Depending on your selection, you can Add Exceptions to steer traffic inside or outside the tunnel.

    1. Click +Add.
    2. In the search bar, enter the name of a Network Object or a Network Object Group in the search bar, click Select sources and then select the same on the Select sources tab.
    3. Click the Add a source, and then enter comma-separated IPs, domains, and network spaces.
    4. Click Save.
  3. For DNS Mode, you can accept the default mode or, depending on your selection, choose to Tunnel all DNS traffic or Split DNS traffic.

    When Split DNS is chosen, DNS names matching the configured DNS Names will be routed over the encrypted Secure Client connection for resolution. Any that do not match the configured DNS Names are routed via the local physical interface for the resolution.

    Note

    At this time, Split DNS is only available for Bypass Secure Access tunnel mode.

  4. Click Next, and then configure the Cisco Secure Client.


Define the Cisco Secure Client Configuration

You can modify a subset of Cisco Secure Client settings based on the needs of a particular VPN machine tunnel.

Procedure

  1. Review the options presented on the Cisco Secure Client Configuration tab.


    Review and update Cisco Secure Client Configuration
  2. Configure the options that are specific to your machine tunnel.

    • Local LAN Access—Allows the user complete access to the local LAN connected to the remote computer during the VPN session to Secure Access.

      Note
      Enabling local LAN access can potentially create a security weakness from the public network through the user computer into the corporate network.
    • Disable Captive Portal Detection—When Cisco Secure Client receives a certificate with a common name that does not match the Secure Access name, a captive portal is detected. This behavior prompts the user to authenticate. Some users using self signed certificates may want to enable connection to corporate resources behind an HTTP captive portal and should thus mark the Disable Captive Portal Detection check box. The administrator can also determine if they want the option to be user configurable and mark the check box accordingly. If user configurable is selected, the check box appears on the Preferences tab of the Cisco Secure Client UI.

    • Suspend Secure Client during suspended standby— (Windows Only) Available only for devices that support Connected Standby. During Connected Standby, the operating system throttles system process, which can impact how packets are processed. With this option, you can disable VPN traffic when the system enters Connected Standby mode. The feature is disabled by default.

    • Captive Portal Remediation Browser Failover—Allows the end user to use an external browser (after closing the Cisco Secure Client browser) for captive portal remediation.

    • Allow Local Proxy Connections—By default, Cisco Secure Client lets Windows users establish a VPN session through a transparent or non-transparent proxy service on the local PC. Uncheck this parameter if you want to disable support for local proxy connections. Some examples of elements that provide a transparent proxy service include acceleration software provided by some wireless data cards, and network components on some antivirus software.

    • Automatic VPN Policy (Windows and macOS only)—Enables Trusted Network Detection allowing Cisco Secure Client to automatically manage when to start or stop a VPN connection according to the Trusted Network Policy and Untrusted Network Policy. If disabled, VPN connections can only be started and stopped manually. Setting an Automatic VPN Policy does not prevent users from manually controlling a VPN connection.

      • Trusted Network Policy—Action Cisco Secure Client automatically takes on the VPN connection when the user is inside the corporate network (the trusted network).

        • Disconnect (Default)—Disconnects the VPN connection upon the detection of the trusted network.

        • Connect—Initiates a VPN connection upon the detection of the trusted network.

        • Do Nothing—Takes no action in the untrusted network. Setting both the Trusted Network Policy and Untrusted Network Policy to Do Nothing disables Trusted Network Detection.

        • Pause—Cisco Secure Client suspends the VPN session instead of disconnecting it if a user enters a network configured as trusted after establishing a VPN session outside the trusted network. When the user goes outside the trusted network again, Cisco Secure Client resumes the session. This feature is for the user's convenience because it eliminates the need to establish a new VPN session after leaving a trusted network.

      • Untrusted Network Policy—Cisco Secure Client starts the VPN connection when the user is outside the corporate network (the untrusted network). This feature encourages greater security awareness by initiating a VPN connection when the user is outside the trusted network.

        • Connect (Default)—Initiates the VPN connection upon the detection of an untrusted network.

        • Do Nothing—Takes no action in the trusted network. This option disables Always-On VPN. Setting both the Trusted Network Policy and Untrusted Network Policy to Do Nothing disables Trusted Network Detection.

      • Trusted DNS Domains—DNS suffixes (a string separated by commas) that a network interface may have when the client is in the trusted network. For example: ''.cisco.com.

        Note
        Wildcards ('*') are not supported for DNS suffixes.
      • Trusted DNS Servers—DNS server addresses (IP addresses separated by commas) that a network interface may have when the client is in the trusted network. For example: 192.168.1.2, 2001:DB8::1.

        Note
        Wildcards ('*') are not supported for DNS server addresses.

    Distinguished Name—Specifies distinguished names (DNs) for exact match criteria in choosing acceptable client certificates. When you add multiple Distinguished Names, each certificate is checked against all entries, and all of them must match.

    Note
    A maximum of 10 distinguished names are allowed.
    • Name—The distinguished name (DN) to use for matching:

      • CN—Subject Common Name

      • C—Subject Country

      • DC—Domain Component

      • DNQ—Subject Dn Qualifier

      • EA—Subject Email Address

      • GENQ—Subject Gen Qualifier

      • GN—Subject Given Name

      • I—Subject Initials

      • L—Subject City

      • N—Subject Unstruct Name

      • O—Subject Company

      • OU—Subject Department

      • SN—Subject Sur Name

      • SP—Subject State

      • ST—Subject State

      • T—Subject Title

      • ISSUER-CN—Issuer Common Name

      • ISSUER-DC—Issuer Component

      • ISSUER-SN—Issuer Sur Name

      • ISSUER-GN—Issuer Given Name

      • ISSUER-N—Issuer Unstruct Name

      • ISSUER-I—Issuer Initials

      • ISSUER-GENQ—Issuer Gen Qualifier

      • ISSUER-DNQ—Issuer Dn Qualifier

      • ISSUER-C—Issuer Country

      • ISSUER-L—Issuer City

      • ISSUER-SP—Issuer State

      • ISSUER-ST—Issuer State

      • ISSUER-O—Issuer Company

      • ISSUER-OU—Issuer Department

      • ISSUER-T—Issuer Title

      • ISSUER-EA—Issuer Email Address

  3. Click Save.

What to do next

You need to associate the machine tunnel with remote access VPN for users and their devices.


Authenticate Device Identity with Active Directory

Cisco Secure Access supports the integration of users, groups, and endpoint devices through various identity providers (IdPs). Once integrated with Secure Access, you can protect and monitor the connections for the users and devices to internet and private destinations by configuring Access rules in the organization's policy.

Note
We recommend that you use certificate-based authentication to register device identities with Active Directory.

Configure Active Directory Endpoint Device Management

The Active Directory integration in Secure Access includes the option to provision endpoint devices from an on-premise Active Directory domain controller (DC).

Before you begin

Note
Make a note of the primary attribute for Active Directory certificate-based authentication. For more information, see Add a Machine Tunnel.

Procedure

  1. Navigate to Connect > Users, Groups, and Endpoint Devices, and click Configuration management.

  2. On the Configurations tab, navigate to Directories, and then expand Active Directory.

  3. Check the box at the bottom of your Active Directory integration menu to Use a specified property to Authenticate Active Directory Devices.


    Configuration setting to authenticate Active Directory devices
  4. Select a Property to Authenticate from the list of Active Directory machine attributes for certificate-based authentication.

    Secure Access supports the Distinguished Name, Common Name, and DNS Host Name attributes. For more information see, Manage Machine Tunnels.

    When selecting the Property to Authenticate option, we recommend:

    • For the computer names in the FQDN format, choose DNS Host Name.

    • For the computer name in the short-format, choose Common Name.

  5. After making changes to the AD integration, restart the AD Connector to trigger a full synchronization of AD Users, Groups, and Endpoint Devices.

    For more information, see Restart the Active Directory Connector.

What to do next

Secure Access has a single Access policy, which consists of policy rules and settings. Your private access and internet policy rules and the default policy rules control the access and security of your resources and protect the traffic in your organization.

Secure Access supports configuring security controls for sources and destinations (resources) on private and internet access rules. Once authenticated in Active Directory, user devices are available as sources in private access and internet access rules. You can select all endpoint devices in the organization, all existing and future AD devices, or individual AD devices.


Migrate AD User for Machine Tunnel to Identity Endpoint

Secure Access provides the option to configure a remote access VPN machine (RA VPN) machine tunnel in an organization. You can set up the machine tunnel using a device and single-machine certificate for all identities in the organization. You can also configure unique certificates for various identity endpoints in the organization.

If your organization provisioned an AD User for a machine tunnel in Secure Access, you must remove this AD User and provision an identity endpoint. For information about machine tunnels, see Manage Machine Tunnels.

Best Practices: Deploying Identity Endpoints for Machine Tunnels

  • We recommend that you provision an identity endpoint for the machine tunnel through the Secure Access AD Connector or Secure Access Identities Registration API.

  • Because of potential security vulnerabilities, do not provision AD Users for machine tunnels or surrogates of AD devices.

  • Before onboarding identities, we recommend that you remove all AD Users configured as machine tunnels or surrogates of AD devices in your system and Secure Access.

  • If you are unable to remove an AD User with a machine tunnel, contact Cisco Support.

  • Follow one of the recommended methods to migrate an AD User provisioned as a machine tunnel or surrogate of an AD device to an identity endpoint.

Migrate AD User for Machine Tunnel: Provisioned with CSV Import

If you previously imported a CSV file in Secure Access that included a single AD User for a machine tunnel, you must migrate the AD User to an identity endpoint.

Follow these steps to remove the AD User for the machine tunnel in Secure Access and provision an identity endpoint.

  1. Delete the User Authentication profile for the AD User or upload an empty CSV file to Secure Access.

    For information about User Authentication profiles, see Manage User Authentication Profiles.

  2. Confirm that Secure Access removed the AD User provisioned for the machine tunnel.

  3. Provision the new identity endpoint using either the Secure Access AD Connector or Secure Access Identities Registration API.

  4. Confirm that you added the new identity endpoint in Secure Access.

Migrate AD Users and an AD User for Machine Tunnel: Provisioned with CSV Import

If you previously imported a CSV file in Secure Access that included AD Users and a specific AD User for a machine tunnel, you must migrate the AD Users to identity endpoints.

Follow these steps to import the AD Users, remove the AD User for the machine tunnel, and then provision a new identity endpoint for the machine tunnel.

  1. Upload a new CSV file that excludes the AD User provisioned for the machine tunnel.

    For more information, see Import Users and Groups from CSV File.

  2. Confirm that Secure Access removed the AD User provisioned for the machine tunnel.

  3. Provision the new identity endpoints using either the Secure Access AD Connector or Secure Access Identities Registration API.

  4. Confirm that you added the new identity endpoints in Secure Access.

Migrate AD User for Machine Tunnel: Provisioned with AD Connector

If you previously provisioned an AD User for a machine tunnel in Secure Access through the AD Connector, you must migrate the AD User to an identity endpoint.

Follow these steps to migrate the AD User for the machine tunnel to an identity endpoint.

  1. Delete the AD User provisioned for the machine tunnel in Secure Access.

  2. Provision the new identity endpoint using the AD Connector. For information about the Secure Access AD Connector, see Manage Active Directory Integration.

  3. Add the User Authentication profile for the identity endpoint in Secure Access.

    For information about User Authentication profiles, see Manage User Authentication Profiles.

  4. Use the AD Connector to resync the identity endpoints in the organization.

  5. Confirm that you added the identity endpoints in Secure Access.