KSC Open API
Kaspersky Security Center API description
Tunnels creation

To create a tunnel to the managed host one should download and launch klsctunnel utility. Use HTTP GET with resource path FTFI/klsctunnel to download it.

        GET /FTSF/klsctunnel HTTP/1.1
See also:

With KlAkOAPI Python package ksctunel utility can be downloaded as follows:

    server = KlAkOAPI.AdmServer.KlAkAdmServer.Create("https://ksc.example.com:13299", "username", "password", verify = False)
    server.DownloadFile('/FTSF/klsctunnel', './klsctunnel.exe')