Fortinet black logo

EMS Administration Guide

Configuring a profile with application-based split tunnel

Configuring a profile with application-based split tunnel

FortiClient (Windows) supports source application-based split tunnel, where you can specify which application traffic to exclude from the VPN tunnel. You can exclude high bandwidth-consuming applications. For example, you can exclude applications like the following from the VPN tunnel:

  • Microsoft Office 365
  • Microsoft Teams
  • Skype
  • GoToMeeting
  • Zoom
  • WebEx
  • YouTube

You must configure these settings in the endpoint profile in EMS. The scope for the setting is for all VPN tunnels for that profile. The following instructions assume that you have already configured a remote SSL or IPsec VPN server in FortiOS. See the FortiOS documentation.

To configure application-based split tunnel:
  1. In EMS, go to Endpoint Profiles, and select the desired profile. On the XML Configuration tab, configure the <traffic_control> elements to configure application-based split tunnel. The following provides an example and descriptions of the elements:

    <vpn>

    <traffic_control>

    <enabled>1</enabled>

    <mode>2</mode>

    <apps>

    <app>chrome.exe</app>

    <app>C:\windows\</app>

    <app>%LOCALAPPDATA%\Microsoft\Teams\Current\Teams.exe</app>

    <app>%appdata%\Zoom\bin\Zoom.exe</app>

    <app>C:\Program Files (x86)\Microsoft\Skype for Desktop\skype.exe</app>

    <app>%LOCALAPPDATA%\GoToMeeting\18068\g2mcomm.exe</app>

    <app>%LOCALAPPDATA%\GoToMeeting\18068\g2mlauncher.exe</app>

    <app>%LOCALAPPDATA%\GoToMeeting\18068\g2mstart.exe</app>

    </apps>

    <fqdns>

    <fqdn>webex.com</fqdn>

    <fqdn>gotomeeting.com</fqdn>

    <fqdn>youtube.com</fqdn>

    </fqdns>

    </traffic_control>

    </vpn>

    XML tag

    Description

    <enabled>

    To enable the feature, enter 1. To disable the feature, enter 0.

    <mode>

    Enter 2 so that network traffic for all defined applications and FQDNs do not go through the VPN tunnel. You must configure this value as 2 for the feature to function.

    <app>

    Specify which application traffic to exclude from the VPN tunnel and redirect to the endpoint physical interface. You can specify an application using its process name, full path, or the directory where it is installed. You can enter file and directory paths using environment variables, such as %LOCALAPPDATA%, %programfiles%, and %appdata%. Do not use spaces in the tail or head, or add double quotes to full paths with spaces.

    To find a running application's full path, on the Details tab in Task Manager, add the Image path name column.

    Once the VPN tunnel is up, FortiClient binds the specified applications to the physical interface.

    In the example, for the GoToMeeting path, 18068 refers to the current installed version of the GoToMeeting application.

    <fqdn>

    Specify which FQDN traffic to exclude from the VPN tunnel and redirect to the endpoint physical interface. The FQDN resolved IP address is dynamically added to the route table when in use, and is removed after disconnection.

    In the example, youtube.com equals youtube.com and *.youtube.com.

    After defining an FQDN, such as youtube.com in the example, if you use any popular browser such as Chrome, Edge, or Firefox to access youtube.com, this traffic does not go through the VPN tunnel.

  2. Assign the profile to the desired endpoints. When VPN is up on those endpoints, FortiClient excludes the application traffic specified in the profile from the VPN tunnel.

Configuring a profile with application-based split tunnel

FortiClient (Windows) supports source application-based split tunnel, where you can specify which application traffic to exclude from the VPN tunnel. You can exclude high bandwidth-consuming applications. For example, you can exclude applications like the following from the VPN tunnel:

  • Microsoft Office 365
  • Microsoft Teams
  • Skype
  • GoToMeeting
  • Zoom
  • WebEx
  • YouTube

You must configure these settings in the endpoint profile in EMS. The scope for the setting is for all VPN tunnels for that profile. The following instructions assume that you have already configured a remote SSL or IPsec VPN server in FortiOS. See the FortiOS documentation.

To configure application-based split tunnel:
  1. In EMS, go to Endpoint Profiles, and select the desired profile. On the XML Configuration tab, configure the <traffic_control> elements to configure application-based split tunnel. The following provides an example and descriptions of the elements:

    <vpn>

    <traffic_control>

    <enabled>1</enabled>

    <mode>2</mode>

    <apps>

    <app>chrome.exe</app>

    <app>C:\windows\</app>

    <app>%LOCALAPPDATA%\Microsoft\Teams\Current\Teams.exe</app>

    <app>%appdata%\Zoom\bin\Zoom.exe</app>

    <app>C:\Program Files (x86)\Microsoft\Skype for Desktop\skype.exe</app>

    <app>%LOCALAPPDATA%\GoToMeeting\18068\g2mcomm.exe</app>

    <app>%LOCALAPPDATA%\GoToMeeting\18068\g2mlauncher.exe</app>

    <app>%LOCALAPPDATA%\GoToMeeting\18068\g2mstart.exe</app>

    </apps>

    <fqdns>

    <fqdn>webex.com</fqdn>

    <fqdn>gotomeeting.com</fqdn>

    <fqdn>youtube.com</fqdn>

    </fqdns>

    </traffic_control>

    </vpn>

    XML tag

    Description

    <enabled>

    To enable the feature, enter 1. To disable the feature, enter 0.

    <mode>

    Enter 2 so that network traffic for all defined applications and FQDNs do not go through the VPN tunnel. You must configure this value as 2 for the feature to function.

    <app>

    Specify which application traffic to exclude from the VPN tunnel and redirect to the endpoint physical interface. You can specify an application using its process name, full path, or the directory where it is installed. You can enter file and directory paths using environment variables, such as %LOCALAPPDATA%, %programfiles%, and %appdata%. Do not use spaces in the tail or head, or add double quotes to full paths with spaces.

    To find a running application's full path, on the Details tab in Task Manager, add the Image path name column.

    Once the VPN tunnel is up, FortiClient binds the specified applications to the physical interface.

    In the example, for the GoToMeeting path, 18068 refers to the current installed version of the GoToMeeting application.

    <fqdn>

    Specify which FQDN traffic to exclude from the VPN tunnel and redirect to the endpoint physical interface. The FQDN resolved IP address is dynamically added to the route table when in use, and is removed after disconnection.

    In the example, youtube.com equals youtube.com and *.youtube.com.

    After defining an FQDN, such as youtube.com in the example, if you use any popular browser such as Chrome, Edge, or Firefox to access youtube.com, this traffic does not go through the VPN tunnel.

  2. Assign the profile to the desired endpoints. When VPN is up on those endpoints, FortiClient excludes the application traffic specified in the profile from the VPN tunnel.