FortiClient
FortiClient proactively defends against advanced attacks. Its tight integration with the Security Fabric enables policy-based automation to contain threats and control outbreaks. FortiClient is compatible with Fabric-Ready partners to further strengthen enterprises’ security posture.
tsimeonov_FTNT
Article Id 196305

Description


To enable DNS registration option for SSL VPN clients when the FortiClient participates in FSSO, special steps must be followed.

Specifically, there is an additional registry value which needs to be changed.

Complete the Following Steps:

  1.  Enable DNS registration under Network properties:

 


Tsvetan_fortissl_proper.JPG

 

 

Tsvetan_fortissl_IP4_proper.JPG
Tsvetan_fortissl_regDNS_enabled.JPG

The same result can be achieved by modifying the <no_dns_registration>0</no_dns_registration> parameter on an xml file.The three possible states:

  • 0: FortiClient will try to register all NIC addresses in DNS (default parameter).
  • 1: FortiClient will not register any IP.
  • 2: FortiClient will try to register only the SSL VPN tunnel IP in DNS.

 

  1. If FortiClient version is 5.2.1 or earlier or if FortiClient is unmanageable.
    Note: All steps have to be applied under the workstation administrator account.
    1. Run shutdown forticlient.
    2. Run net stop fortishield.
    3. Start the CMD with administrator privileges and add following registry:

 


[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Fortinet\FortiClient\Sslvpn]
"WinDnsCacheService"=dword:00000003

 

    1. Run net start fortishield.
    2. Run start forticlient.

 

  1. Alternatively, if the FortiClient is manageable by FortiGate and the FortiClient version is 5.2.2 or above, all steps from 2 can be automated by adding the following XML into the FortiClient's configuration XML script.

 

<dnscache_service_control>3</dnscache_service_control>


For example:


<?xml version="1.0" encoding="UTF-8" ?>
<forticlient_configuration>
    <partial_configuration>1</partial_configuration>
    <os_version>windows</os_version>
    <vpn>
        <sslvpn>
            <options>
                <enabled>1</enabled>
<dnscache_service_control>3</dnscache_service_control>
                <!--0=disable dnscache, 1=do not tounch dnscache service, 2=restart dnscache service, 3=sc control dnscache paramchange-->                
            </options>
        </sslvpn>
    </vpn>
</forticlient_configuration>