diff --git a/Openrouter - software for routing.-.md b/Openrouter - software for routing.-.md index 82a1de0..c5315ef 100644 --- a/Openrouter - software for routing.-.md +++ b/Openrouter - software for routing.-.md @@ -1 +1,2 @@ -- [Endpoints](Endpoints.md) \ No newline at end of file +- [Endpoints](Endpoints.md) +- [Config](config.md) \ No newline at end of file diff --git a/config.md b/config.md new file mode 100644 index 0000000..5183308 --- /dev/null +++ b/config.md @@ -0,0 +1,57 @@ + +# Config file + +## Config file example + +```json +{ + "settings": { + "dns": { + "enabled": false, + "localdomains": [ + { + "domain": "localhost", + "ip": "127.0.0.1" + }, + { + "domain": "openrouter.local.com", + "ip": "192.168.200.1" + } + ], + "servers": [ + "8.8.8.8" + ] + }, + "ftp": { + "enabled": false + }, + "ssh": { + "enabled": false, + "keys": [ + "key1", + "key2" + ], + "port": 22, + "server": "dropbear" + }, + "telnet": { + "enabled": false, + "port": 23 + }, + "wifi": { + "channel": 6, + "enabled": false, + "name": "OpenRouterWifi", + "password": "OpenRouterPassword" + } + }, + "static": { + "css": "../src/web/css", + "js": "../src/web/js", + "root": "../src/web" + } +} +``` + +- ```[settings]``` - settings section +- ```[static]``` - static file section \ No newline at end of file