2018-01-25 19:12:53 -05:00
|
|
|
{
|
|
|
|
"__comment__" : "This is a sample configuration file, edit a section and remove the _ in front of the name. Refer to the user's guide for details.",
|
2018-07-23 20:34:24 -04:00
|
|
|
"settings": {
|
2019-02-25 14:13:13 -05:00
|
|
|
"_Cert": "myserver.mydomain.com",
|
2019-07-29 21:21:52 -04:00
|
|
|
"_MongoDb": "mongodb://127.0.0.1:27017",
|
|
|
|
"_MongoDbName": "meshcentral",
|
2019-05-28 20:42:11 -04:00
|
|
|
"_MongoDbChangeStream": true,
|
2018-07-23 20:34:24 -04:00
|
|
|
"_WANonly": true,
|
|
|
|
"_LANonly": true,
|
2018-08-24 16:14:20 -04:00
|
|
|
"_Minify": 1,
|
2018-08-22 19:18:01 -04:00
|
|
|
"_SessionTime": 30,
|
2019-02-01 18:16:46 -05:00
|
|
|
"_SessionKey": "MyReallySecretPassword1",
|
|
|
|
"_DbEncryptKey": "MyReallySecretPassword2",
|
2019-02-25 14:13:13 -05:00
|
|
|
"_DbExpire": {
|
|
|
|
"events": 1728000,
|
|
|
|
"powerevents": 864000
|
|
|
|
},
|
2018-07-23 20:34:24 -04:00
|
|
|
"_Port": 443,
|
|
|
|
"_RedirPort": 80,
|
|
|
|
"_AllowLoginToken": true,
|
|
|
|
"_AllowFraming": true,
|
|
|
|
"_WebRTC": false,
|
|
|
|
"_ClickOnce": false,
|
2018-09-19 12:15:31 -04:00
|
|
|
"_SelfUpdate": true,
|
2019-05-28 13:58:46 -04:00
|
|
|
"_AgentPing": 60,
|
|
|
|
"_AgentPong": 60,
|
2019-06-17 18:20:47 -04:00
|
|
|
"_AgentIdleTimeout": 150,
|
2019-07-08 18:59:44 -04:00
|
|
|
"_MeshErrorLogPath": "c:\\tmp",
|
2019-07-17 18:57:42 -04:00
|
|
|
"_NpmPath": "c:\\npm.exe",
|
|
|
|
"_NpmProxy": "http://1.2.3.4:80",
|
2019-05-28 13:10:56 -04:00
|
|
|
"_AllowHighQualityDesktop": true,
|
2019-01-30 16:43:42 -05:00
|
|
|
"_UserAllowedIP": "127.0.0.1,192.168.1.0/24",
|
|
|
|
"_UserBlockedIP": "127.0.0.1,::1,192.168.0.100",
|
|
|
|
"_AgentAllowedIP": "192.168.0.100/24",
|
|
|
|
"_AgentBlockedIP": "127.0.0.1,::1",
|
2019-02-25 14:13:13 -05:00
|
|
|
"_LocalDiscovery": {
|
|
|
|
"name": "Local server name",
|
|
|
|
"info": "Information about this server"
|
|
|
|
},
|
2018-11-06 22:41:21 -05:00
|
|
|
"_TlsOffload": true,
|
2018-12-20 15:12:24 -05:00
|
|
|
"_MpsTlsOffload": true,
|
2019-03-26 17:11:51 -04:00
|
|
|
"_No2FactorAuth": true,
|
2019-02-25 14:13:13 -05:00
|
|
|
"_WebRtConfig": {
|
|
|
|
"iceServers": [
|
|
|
|
{ "urls": "stun:stun.services.mozilla.com" },
|
|
|
|
{ "urls": "stun:stun.l.google.com:19302" }
|
|
|
|
]
|
2019-05-17 15:40:15 -04:00
|
|
|
},
|
|
|
|
"_AutoBackup": {
|
2019-05-28 20:42:11 -04:00
|
|
|
"backupIntervalHours": 24,
|
2019-05-17 15:40:15 -04:00
|
|
|
"keepLastDaysBackup": 10,
|
2019-05-22 18:22:10 -04:00
|
|
|
"zipPassword": "MyReallySecretPassword3",
|
|
|
|
"_backupPath": "C:\\backups"
|
2019-06-07 13:20:54 -04:00
|
|
|
},
|
|
|
|
"_Redirects": {
|
|
|
|
"meshcommander": "https://www.meshcommander.com/"
|
2019-02-25 14:13:13 -05:00
|
|
|
}
|
2018-01-25 19:12:53 -05:00
|
|
|
},
|
|
|
|
"_domains": {
|
|
|
|
"": {
|
2018-12-20 17:14:37 -05:00
|
|
|
"Title": "MyServer",
|
|
|
|
"Title2": "Servername",
|
2019-02-26 17:39:45 -05:00
|
|
|
"_TitlePicture": "title-sample.png",
|
|
|
|
"_UserQuota": 1048576,
|
|
|
|
"_MeshQuota": 248576,
|
2019-04-23 16:42:54 -04:00
|
|
|
"_NewAccounts": true,
|
2019-07-08 18:59:44 -04:00
|
|
|
"_UserNameIsEmail": true,
|
2019-02-26 17:39:45 -05:00
|
|
|
"_NewAccountEmailDomains": [ "sample.com" ],
|
2019-05-12 22:14:24 -04:00
|
|
|
"_NewAccountsRights": [ "nonewgroups", "notools" ],
|
2018-12-20 17:14:37 -05:00
|
|
|
"Footer": "<a href='https://twitter.com/mytwitter'>Twitter</a>",
|
|
|
|
"_CertUrl": "https://192.168.2.106:443/",
|
2019-04-10 14:33:17 -04:00
|
|
|
"_PasswordRequirements": { "min": 8, "max": 128, "upper": 1, "lower": 1, "numeric": 1, "nonalpha": 1, "reset": 90, "force2factor": true },
|
2019-01-30 16:43:42 -05:00
|
|
|
"_AgentNoProxy": true,
|
2019-02-26 19:26:33 -05:00
|
|
|
"_GeoLocation": true,
|
2019-01-04 18:29:27 -05:00
|
|
|
"_UserAllowedIP": "127.0.0.1,192.168.1.0/24",
|
2019-01-30 16:43:42 -05:00
|
|
|
"_UserBlockedIP": "127.0.0.1,::1,192.168.0.100",
|
|
|
|
"_AgentAllowedIP": "192.168.0.100/24",
|
2019-02-10 19:04:36 -05:00
|
|
|
"_AgentBlockedIP": "127.0.0.1,::1",
|
2019-05-31 12:58:23 -04:00
|
|
|
"___UserSessionIdleTimeout__" : "Number of user idle minutes before auto-disconnect",
|
|
|
|
"_UserSessionIdleTimeout" : 30,
|
2019-04-12 17:19:03 -04:00
|
|
|
"__UserConsentFlags__" : "Set to: 1 for desktop, 2 for terminal, 3 for files, 7 for all",
|
|
|
|
"_UserConsentFlags" : 7,
|
2019-02-11 17:41:15 -05:00
|
|
|
"_Limits": {
|
2019-06-05 18:24:07 -04:00
|
|
|
"_MaxDevices": 100,
|
2019-02-18 21:08:36 -05:00
|
|
|
"_MaxUserAccounts": 100,
|
|
|
|
"_MaxUserSessions": 100,
|
|
|
|
"_MaxAgentSessions": 100,
|
|
|
|
"MaxSingleUserSessions": 10
|
2019-02-11 17:41:15 -05:00
|
|
|
},
|
2019-06-20 21:23:52 -04:00
|
|
|
"_AmtAcmActivation": {
|
|
|
|
"log": "amtactivation.log",
|
|
|
|
"certs": {
|
|
|
|
"mycertname": {
|
|
|
|
"certfiles": [ "amtacm-leafcert.crt", "amtacm-intermediate1.crt", "amtacm-intermediate2.crt", "amtacm-rootcert.crt" ],
|
|
|
|
"keyfile": "amtacm-leafcert.key"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2019-06-07 19:44:00 -04:00
|
|
|
"_Redirects": {
|
|
|
|
"meshcommander": "https://www.meshcommander.com/"
|
|
|
|
},
|
2019-02-18 21:08:36 -05:00
|
|
|
"_yubikey": { "id": "0000", "secret": "xxxxxxxxxxxxxxxxxxxxx", "_proxy": "http://myproxy.domain.com:80" },
|
|
|
|
"_httpheaders": { "Strict-Transport-Security": "max-age=360000" },
|
2019-08-06 16:27:24 -04:00
|
|
|
"_agentConfig": [ "webSocketMaskOverride=1" ],
|
|
|
|
"_SessionRecording": {
|
|
|
|
"_filepath": "C:\\temp",
|
|
|
|
"protocols": [ 1, 2 ]
|
|
|
|
}
|
2018-01-25 19:12:53 -05:00
|
|
|
},
|
|
|
|
"customer1": {
|
2018-12-20 17:14:37 -05:00
|
|
|
"DNS": "customer1.myserver.com",
|
|
|
|
"Title": "Customer1",
|
|
|
|
"Title2": "TestServer",
|
|
|
|
"NewAccounts": 1,
|
|
|
|
"Auth": "sspi",
|
|
|
|
"Footer": "Test",
|
|
|
|
"_CertUrl": "https://192.168.2.106:443/"
|
2018-01-25 19:12:53 -05:00
|
|
|
},
|
|
|
|
"info": {
|
|
|
|
"share": "C:\\ExtraWebSite"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"_letsencrypt": {
|
2019-02-18 21:08:36 -05:00
|
|
|
"__comment__": "Go to https://letsdebug.net/ first before trying Let's Encrypt.",
|
2018-01-25 19:12:53 -05:00
|
|
|
"email": "myemail@myserver.com ",
|
|
|
|
"names": "myserver.com,customer1.myserver.com",
|
|
|
|
"rsaKeySize": 3072,
|
|
|
|
"production": false
|
|
|
|
},
|
|
|
|
"_peers": {
|
|
|
|
"serverId": "server1",
|
|
|
|
"servers": {
|
|
|
|
"server1": { "url": "wss://192.168.2.133:443/" },
|
|
|
|
"server2": { "url": "wss://192.168.1.106:443/" }
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"_smtp": {
|
|
|
|
"host": "smtp.myserver.com",
|
|
|
|
"port": 25,
|
|
|
|
"from": "myemail@myserver.com",
|
|
|
|
"tls": false
|
|
|
|
}
|
|
|
|
}
|