Kaspersky IoT Secure Gateway 100

Appendices

This section describes the location of the main configuration files on the SD card, and provides examples of the structure of each of these files.

In this Help section

Example dhcpcd.conf configuration file

Example OpcUaClientSettings-0.json configuration file

Example MindSphereAgentSettings-0.json configuration file

Example GuideSettings-0.json configuration file

Page top
[Topic 213347]

Example dhcpcd.conf configuration file

The dhcpcd.conf configuration file is located in the folder /etc in the TGW-HW-ENW and TGW-HW-INW sections of the SD card. The SD card is included in the distribution kit.

Below is an example of a dhcpcd.conf configuration file in which you need to define the settings for the external or internal network.

Example dhcpcd.conf configuration file:

static ip_address=192.168.1.177/23

static routers=192.168.1.1

Page top

[Topic 230989]

Example OpcUaClientSettings-0.json configuration file

The OpcUaClientSettings-0.json configuration file is located in the folder /app/Core/config/transfer/opc_ua/client in the TGW-HW-IDS section of the SD card. The SD card is included in the distribution kit.

Below is an example of an OpcUaClientSettings-0.json configuration file in which you need to define the settings for receiving data from a monitored object over the OPC UA protocol.

Example OpcUaClientSettings-0.json configuration file:

{

"id": 0,

"name": "Kaspersky IoT Secure Gateway 100 OPC UA Client",

"description": "Collects data from CNC by Kaspersky IoT Secure Gateway 100",

"url": "opc.tcp://192.168.177.7:4840",

"readingCycle": 1,

"security": {

"mode": "SignAndEncrypt",

"policy": "Basic256Sha256",

"clientPkiData": {

"certificate": "client.crt",

"privateKey": "client.key"

},

"trustList": ["server.crt"]

},

"userCredentials":

{

"username": "KISG100",

"password": "0R20jN#yZd~zaLKe?2J#@~|YC"

},

"heartbeat": {

"id": 0,

"name": "Heartbeat",

"timeout": 60

},

"nodes": [

{

"id": 1,

"name": "Temperature",

"nodeId": "ns=1;s=VariableTemperature"

},

{

"id": 2,

"name": "Speed",

"nodeId": "ns=2;i=2045"

}

]

}

Page top

[Topic 213348]

Example MindSphereAgentSettings-0.json configuration file

The MindSphereAgentSettings-0.json configuration file is located in the folder /app/Core/config/transfer/mind_shere/agent in the TGW-HW-IDS section of the SD card. The SD card is included in the distribution kit.

Below is an example of a MindSphereAgentSettings-0.json configuration file.

Example MindSphereAgentSettings-0.json configuration file:

{

"id": 0,

"name": "Kaspersky IoT Secure Gateway 100 MindSphere Agent",

"description": "Transfers data to MindSphere by Kaspersky IoT Secure Gateway 100",

"boardingConfiguration": {

"content": {

"baseUrl": "https://southgate.eu1.mindsphere.io",

"iat": "eyJraWQiOiJrZXktaWQtMSIsInR5cCI6IkpXVCIsImFsZyI6IlJTMjU2In0.eyJpc3MiOiJTQ0kiLCJzdWIiOiI0ZTBhYjcwZWZjNzI0NDQ1YTVmNDgzZjM0NGEyMmYxYyIsImF1ZCI6IkFJQU0iLCJpYXQiOjE2MTYwMDcyMzEsIm5iZiI6MTYxNjAwNzIzMSwiZXhwIjoxNjE2NjEyMDMxLCJqdGkiOiJjMmQ1YWY1Ni1iOTJmLTRmOGMtOTYzOC03MmM2NTE1N2E5MmMiLCJzY29wZSI6IklBVCIsInRlbiI6ImFwcm90ZWNoIiwidGVuX2N0eCI6Im1haW4tdGVuYW50IiwiY2xpZW50X2NyZWRlbnRpYWxzX3Byb2ZpbGUiOlsiU0hBUkVEX1NFQ1JFVCJdLCJzY2hlbWFzIjpbInVybjpzaWVtZW5zOm1pbmRzcGhlcmU6djEiXX0.HNA_BxA7J_zmOQI9fStVpoUlVS-55bKT5DHR3JEYEChbUxRx1xz-TlX9elZPokstLCb58l7pjlNnkg8YhW43Od0vixNOHWGKjVnLhwwJ0yyB9z4S54Wk1ceuLdzwrDCnKuaiKgTCnKXCrwVrUDx_OA1EMMtfgWKDdfS8hoo-6D-dafyeBIB5nOFlOXiF5YkRHp8znWydcQIrb0pdev9qTS8tpY8wGlsCKIAoo6mAUlh0uqxNDguVwwWjGVcrXKEIRrwk4rD2lTWHLMaJ69v1CZhyAFusx6URrRdIQGOguOuwKjVv-Zwn-BarZleZw1xMmehWeo7oV5sEZ0OW4uAZnw",

"clientCredentialProfile": [

"SHARED_SECRET"

],

"clientId": "4e0ab70efc724445a5f483f344a22f1c",

"tenant": "aprotech"

},

"expiration": "2021-03-24T18:53:51.000Z"

},

"configurationId": "1606380355815",

"proxySettings": {

"type": "HTTP",

"host": "192.168.188.1",

"port": 3128

},

"limits": {

"maxStorageSize": 90000,

"itemGroupTimeout": 5,

"maxTimeseriesSize": 64,

"maxHttpPayloadSize": 16384

},

"dataPoints": [

{

"id": 0,

"name": "Heartbeat",

"dataPointId": "1625019234863"

},

{

"id": 1,

"name": "Temperature",

"dataPointId": "1616007325504"

},

{

"id": 2,

"name": "Speed",

"dataPointId": "1616007338184"

},

]

}

Page top

[Topic 213389]

Example GuideSettings-0.json configuration file

The GuideSettings-0.json configuration file is located in the folder /app/Core/config/transfer/navigation in the TGW-HW-IDS section of the SD card. The SD card is included in the distribution kit.

Below is an example of a GuideSettings-0.json configuration file in which you need to define the settings for configuring data transfer between the OPC UA data source node and data points in MindSphere.

Example GuideSettings-0.json configuration file

{

"id": 0,

"receivingHubId": 0,

"sendingHubId": 0,

"roadmap": [

{

"sourcePortId": 0,

"targetPortId": 0

},

{

"sourcePortId": 1,

"targetPortId": 1

},

{

"sourcePortId": 2,

"targetPortId": 2

}

]

}

Page top

[Topic 213366]