icon-zapp.svg
Client Connector

Best Practices for Zscaler Client Connector and VPN Client Interoperability

If your users are running Zscaler Client Connector in conjunction with a corporate VPN client, follow these best practices:

  • To ensure maximum interoperability between the VPN client and Zscaler Client Connector, you must select the appropriate forwarding profile action that determines if Zscaler Client Connector works at the network (IP) layer or the application layer to tunnel traffic (or whether Zscaler Client Connector tunnels traffic at all).

    Forwarding Profile ActionHow Zscaler Client Connector Traffic
    Tunnel (Route-Based) as the Tunnel Driver TypeTunnels traffic at the network (IP) layer and captures user traffic by setting IP routes on users’ devices.
    Tunnel (Packet Filter Based) as the Tunnel Driver TypeUses Windows packet filtering to send traffic directly to Zscaler Client Connector to process.
    Tunnel with Local Proxy

    Tunnels traffic to the application layer and captures traffic by applying proxy settings on users' devices.

    This option has advantages over the Enforce Proxy option because the app transparently handles authentication for users. Users don't have to reauthenticate for applications when they open new browsers and rarely run into issues accessing applications that aren't browser-based.

    Enforce ProxyDoes not tunnel any traffic. Only sets proxy settings for browsers on users' devices and prohibits users from changing those proxy settings.
    NoneDoes not tunnel any traffic. Performs no actions on users' devices.

    To prevent interoperability issues, Zscaler recommends the following forwarding profile actions for the different platforms:

    For Android, you cannot run Zscaler Client Connector and any third-party VPN simultaneously because the Android OS only allows one concurrent VPN at a time.

    Close
  • You must ensure that the VPN client is not configured to change proxy settings on users’ devices (even if you select Tunnel with Local Proxy as the forwarding profile action for VPN Trusted Network). If VPN clients tamper with proxy settings in any way, Zscaler Client Connector does not forward traffic properly.

    Close
  • Your VPN can run in full-tunnel mode or split-tunnel mode, but each mode requires different Zscaler Client Connector configurations:

    • When your VPN runs full-tunnel mode, all of your users’ traffic is routed to the VPN client. Zscaler Client Connector treats the network as a VPN Trusted Network and applies the forwarding profile action you chose for that network. However, the following important caveats apply to this configuration:

      • Zscaler strongly recommends against using the forwarding profile Tunnel (Route-Based) for VPN Trusted Network. It can cause interoperability issues because Zscaler Client Connector in Tunnel mode works on the IP layer (the same layer as the VPN client). Zscaler recommends selecting Tunnel with Local Proxy in this scenario for Windows and macOS.
      • If your VPN doesn't set a default route, select Tunnel with Local Proxy. Zscaler Client Connector detects a full tunnel VPN by looking for a default route in the routing table. If the VPN doesn’t set a default route and uses a different mechanism to capture all traffic, Zscaler Client Connector won't consider the VPN a full-tunnel VPN. It won't treat the user as connected to a VPN Trusted Network. Instead, the app treats the user as Off Trusted Network and applies the corresponding forwarding profile action.
      • Zscaler Client Connector looks for the following words in the default interface description to detect a VPN Trusted Network: Cisco, Juniper, Fortinet, PanGP, Check Point, and VPN. If these words are missing, the app treats the user as Off Trusted Network.
      Close
    • When your VPN runs split-tunnel mode, only some of your users’ traffic is routed to the VPN client. For example, the VPN can set routes only for specific subnets, such as 10/8 or 192.168/16. Additionally, the VPN can set the DNS on the device to capture traffic for internal hosts. Zscaler Client Connector treats the device as Off Trusted Network and applies the forwarding profile action you chose for that network. For a simpler configuration, Zscaler recommends selecting Tunnel with Local Proxy or Tunnel (Packet Filter Based) in this scenario.

      If you choose to run Zscaler Client Connector in Tunnel mode and your VPN runs split-tunnel mode, you must take steps to ensure that the app interoperates with your VPN client. To learn more, see Recommendation for using Tunnel (Route-Based) Forwarding Profile Action below.

      Close
    Close

Recommendation for Using Tunnel (Route-Based) Forwarding Profile Action

If your organization decides to use Tunnel (Route-Based) as the forwarding profile action, follow these recommendations for different deployment modes to ensure users don't experience connectivity issues.

  • If your VPN runs in full-tunnel mode, Zscaler strongly recommends against selecting Tunnel (Route-Based) for the forwarding profile action.

    Close
  • If your VPN runs in split-tunnel mode:

    • When you select Tunnel (Route-Based) and your VPN runs split-tunnel mode, Zscaler Client Connector can only forward traffic properly if you allow traffic destined for the VPN gateway to bypass Zscaler Client Connector.

      To configure this, you must specify the hostnames and IP addresses for all your VPN gateways in the Hostname or IP Address Bypass for VPN Gateway field when you configure the app profile. Zscaler Client Connector sets the routing table to exclude all traffic destined for the VPN gateway, ensuring that this traffic is allowed to bypass the app tunnel and properly go to the VPN.

      To ensure against connectivity issues, it's critical that you include all VPN hostnames or all IP addresses to which these hostnames can be resolved.

      Close
    • On Windows devices, when Zscaler Client Connector runs in Tunnel (Route-Based) mode, the app sets the DNS on the interface to point to 100.64.0.3, 100.64.0.4, and 100.64.0.5. When a user launches a VPN connection, the app detects this network change and responds accordingly.

      If the VPN client runs in split-tunnel mode, Zscaler Client Connector applies the forwarding profile action for Off Trusted Network. While this is the expected behavior, sometimes the following scenario can occur even when you configure the DNS to resolve only internal domains: Upon launch, the VPN client sets its own DNS on the interface to make it the prioritized DNS to resolve internal domains. Zscaler Client Connector detects this change and reverts it, so that 100.64.0.3 (Zscaler's DNS) is again the prioritized DNS for the user device. However, the app redirects any DNS query that comes to 100.64.0.3 to the original prioritized DNS (i.e., the VPN client DNS).

      At this point, if the DNS query is for an external domain, and the original VPN DNS is configured only to resolve internal domains, the DNS query should continue to be redirected to the next DNS in the priority list, until it finds a server that can resolve the requested external domain.

      However, some Windows programs do not redirect DNS queries to the next DNS in the priority list. In this scenario, the DNS query can't find a server to resolve the requested external domain, and the user can't reach the external domain. To prevent this, ensure that all VPN clients set the DNS so that they can resolve both internal and external domains.

      If a third-party VPN operates in split-tunnel mode, you must configure DNS search domains in the VPN connection profile. Otherwise, Zscaler Client Connector intercepts the VPN connection's DNS requests and forwards them to the system DNS server, which might be unable to resolve the VPN domains.

      Close
    Close
  • If your VPN has any firewall functionality, you must disable it or allowlist Zscaler Client Connector in the firewall. Otherwise, the VPN firewall can interfere with app tunnel processes.

    Close
  • When configuring the Trusted Network Criteria for your forwarding profile, Zscaler recommends that you select DNS Server and DNS Search Domain. To learn more, see Trusted Network Criteria.

    Close
  • Keep in mind that users can see some momentary network instability when a VPN client initially launches while Zscaler Client Connector is running.

    On Windows devices, when Zscaler Client Connector runs in Tunnel (Route-Based), the app sets the DNS on the interface to point to 100.64.0.3, 100.64.0.4, and 100.64.0.5. When a user launches a VPN connection, the app detects this network change and responds accordingly. If the VPN client runs in full-tunnel mode, the app removes all of its own DNS settings to allow all traffic to properly go to the VPN. If the VPN client runs in split-tunnel mode, the app reconfigures DNS settings so it can properly apply the forwarding profile action for Off Trusted Network.

    While that is the ultimate expected outcome, the user can experience some temporary network instability. When the app removes its own DNS settings, this is detected as a network change by the VPN client. In response, the VPN client can disconnect and attempt to reestablish the connection. The user can experience some connectivity issues until this process is complete and the app and VPN client reach equilibrium.

    Close
Related Articles
Implementing Zscaler Client Connector in No-Default Route EnvironmentsDomain Validation in Zscaler Client Connector for ZPA ApplicationsBest Practices for Zscaler Client Connector and VPN Client InteroperabilityZscaler Client Connector and Charles Proxy InteroperabilityZscaler Client Connector Processes to AllowlistAllowing Traffic to the ID Federation URL by Bypassing Zscaler Client ConnectorEnrolling Zscaler Client Connector Users When Using a ProxyUsing Fiddler with Zscaler Client ConnectorBest Practices for Using PAC Files with Zscaler Client Connector