2018-01-26 03:12:53 +03: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-24 03:34:24 +03:00
|
|
|
"settings": {
|
|
|
|
"_MongoDb": "mongodb://127.0.0.1:27017/meshcentral",
|
|
|
|
"_WANonly": true,
|
|
|
|
"_LANonly": true,
|
2018-08-24 23:14:20 +03:00
|
|
|
"_Minify": 1,
|
2018-08-23 02:18:01 +03:00
|
|
|
"_SessionTime": 30,
|
2019-02-02 02:16:46 +03:00
|
|
|
"_SessionKey": "MyReallySecretPassword1",
|
|
|
|
"_DbEncryptKey": "MyReallySecretPassword2",
|
2019-02-19 09:20:25 +03:00
|
|
|
"_DbExpire": { "events": 1728000, "powerevents": 864000 },
|
2018-07-24 03:34:24 +03:00
|
|
|
"_Port": 443,
|
|
|
|
"_RedirPort": 80,
|
|
|
|
"_AllowLoginToken": true,
|
|
|
|
"_AllowFraming": true,
|
|
|
|
"_WebRTC": false,
|
|
|
|
"_ClickOnce": false,
|
2018-09-19 19:15:31 +03:00
|
|
|
"_SelfUpdate": true,
|
2019-01-31 00:43:42 +03: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",
|
2018-11-07 06:41:21 +03:00
|
|
|
"_LocalDiscovery": { "name": "Local server name", "info": "Information about this server" },
|
|
|
|
"_TlsOffload": true,
|
2018-12-20 23:12:24 +03:00
|
|
|
"_MpsTlsOffload": true,
|
|
|
|
"_WebRtConfig": { "iceServers": [ { "urls": "stun:stun.services.mozilla.com" }, { "urls": "stun:stun.l.google.com:19302" } ] }
|
2018-01-26 03:12:53 +03:00
|
|
|
},
|
|
|
|
"_domains": {
|
|
|
|
"": {
|
2018-12-21 01:14:37 +03:00
|
|
|
"Title": "MyServer",
|
|
|
|
"Title2": "Servername",
|
2018-12-22 03:39:26 +03:00
|
|
|
"TitlePicture": "title-sample.png",
|
2018-12-21 01:14:37 +03:00
|
|
|
"UserQuota": 1048576,
|
|
|
|
"MeshQuota": 248576,
|
|
|
|
"NewAccounts": 1,
|
|
|
|
"Footer": "<a href='https://twitter.com/mytwitter'>Twitter</a>",
|
|
|
|
"_CertUrl": "https://192.168.2.106:443/",
|
2019-01-31 00:43:42 +03:00
|
|
|
"_PasswordRequirements": { "min": 8, "max": 128, "upper": 1, "lower": 1, "numeric": 1, "nonalpha": 1 },
|
|
|
|
"_AgentNoProxy": true,
|
2019-01-05 02:29:27 +03:00
|
|
|
"_UserAllowedIP": "127.0.0.1,192.168.1.0/24",
|
2019-01-31 00:43:42 +03:00
|
|
|
"_UserBlockedIP": "127.0.0.1,::1,192.168.0.100",
|
|
|
|
"_AgentAllowedIP": "192.168.0.100/24",
|
2019-02-11 03:04:36 +03:00
|
|
|
"_AgentBlockedIP": "127.0.0.1,::1",
|
2019-02-12 01:41:15 +03:00
|
|
|
"_Limits": {
|
2019-02-19 05:08:36 +03:00
|
|
|
"_MaxUserAccounts": 100,
|
|
|
|
"_MaxUserSessions": 100,
|
|
|
|
"_MaxAgentSessions": 100,
|
|
|
|
"MaxSingleUserSessions": 10
|
2019-02-12 01:41:15 +03:00
|
|
|
},
|
2019-02-19 05:08:36 +03:00
|
|
|
"_yubikey": { "id": "0000", "secret": "xxxxxxxxxxxxxxxxxxxxx", "_proxy": "http://myproxy.domain.com:80" },
|
|
|
|
"_httpheaders": { "Strict-Transport-Security": "max-age=360000" },
|
|
|
|
"_agentConfig": [ "webSocketMaskOverride=1" ]
|
2018-01-26 03:12:53 +03:00
|
|
|
},
|
|
|
|
"customer1": {
|
2018-12-21 01:14:37 +03:00
|
|
|
"DNS": "customer1.myserver.com",
|
|
|
|
"Title": "Customer1",
|
|
|
|
"Title2": "TestServer",
|
|
|
|
"NewAccounts": 1,
|
|
|
|
"Auth": "sspi",
|
|
|
|
"Footer": "Test",
|
|
|
|
"_CertUrl": "https://192.168.2.106:443/"
|
2018-01-26 03:12:53 +03:00
|
|
|
},
|
|
|
|
"info": {
|
|
|
|
"share": "C:\\ExtraWebSite"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"_letsencrypt": {
|
2019-02-19 05:08:36 +03:00
|
|
|
"__comment__": "Go to https://letsdebug.net/ first before trying Let's Encrypt.",
|
2018-01-26 03:12:53 +03: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
|
|
|
|
}
|
|
|
|
}
|