2022-11-11 20:17:37 +01:00
{
"nodes" : {
"<nodename>" : {
2022-11-21 19:41:28 +01:00
"endpoint" : "<clearnet-fqdn/ip-address>" , //optional, recommended, default: None/null
2022-11-17 07:20:03 +01:00
"api-con" : "http://<node-(internal)-ip/hostname>:<port>/" , // required
2022-11-19 18:12:01 +01:00
"#comment" : "/* from here: data to be displayed on the webinterface */" ,
2022-11-12 14:50:18 +01:00
"country" : "..." , // Countrycode: 2 capital letters
"city" : "..." ,
2022-11-17 07:20:03 +01:00
"wg-key" : "...=" , // pubkey of node; required
"internal-v4" : "172.2x.xxx.xxx" , //at least one ipv{4,6} addr required
2022-11-11 20:17:37 +01:00
"internal-v6" : "fdxx:..." ,
"internal-v4ll" : "169.254.xxx.xxx" ,
2022-11-19 18:12:01 +01:00
"internal-v6ll" : "fe80::..." ,
"note" : "..." , //optional, special precausions, like only supporting a specific amount of peers/ipv{4,6} in clearnet, etc
"capacity" : 100 //optional, default: -1 (infinite); estimated capacity of that node (i.e. OPENVZ(7) only has userspace WG (which consumes memory for every interface created))
2022-11-11 20:17:37 +01:00
}
} ,
"MNT" : "YOUR-MNT" , // your MNT tag
2022-11-21 19:41:28 +01:00
"ASN" : "424242000" , //Your ASN (used to generate default peer ListenPorts)
2022-11-11 20:17:37 +01:00
"listen" : "0.0.0.0" ,
"port" : 8042 ,
2022-11-12 17:36:11 +01:00
"domain" : "example.org" , // domain to use for kioubit verification service
2022-11-17 07:20:03 +01:00
"base-dir" : "/" , //optional:directury for which it is reachable (if behind some sort of reverse proxy) default "/"
2022-11-20 10:57:33 +01:00
"peerings-dir" : "/path/to/peering-configs/" , // optional; default "$PWD/peerings", directory to save existing peerings to
2022-11-19 18:12:01 +01:00
"production" : true , //optional, default true;
2022-11-17 07:20:03 +01:00
"debug-mode" : false , // optional; whethet to enable debugging; default false
2022-11-12 14:50:18 +01:00
"flask-secret-key" : "<secret-please-replace>" , // secret key for session cookies
2022-11-11 20:17:37 +01:00
"flask-template-dir" : "../frontend/" // optional; default "../frontend"
}