diff --git a/config.json b/config.json index 0611624..047bc4a 100644 --- a/config.json +++ b/config.json @@ -1,12 +1,7 @@ -{ - "server":["127.0.0.1"], - "server_port":8388, - "local_port":1080, - "password":"barfoo!", - "port_password": { - "8388": "barfoo!", - "8387": "foobar!" - }, - "timeout":60, - "cache_enctable":false -} +{ + "server":"127.0.0.1", + "server_port":8388, + "local_port":1080, + "password":"barfoo!", + "timeout":60 +} diff --git a/sample-config/client-multi-server.json b/sample-config/client-multi-server.json new file mode 100644 index 0000000..0a16c62 --- /dev/null +++ b/sample-config/client-multi-server.json @@ -0,0 +1,7 @@ +{ + "local_port":1081, + "server_password": { + "127.0.0.1:8387": "foobar", + "127.0.0.1:8388": "barfoo" + } +} diff --git a/sample-config/server-multi-port.json b/sample-config/server-multi-port.json new file mode 100644 index 0000000..be8db6c --- /dev/null +++ b/sample-config/server-multi-port.json @@ -0,0 +1,8 @@ +{ + "port_password": { + "8387": "foobar", + "8388": "barfoo" + }, + "timeout": 60, + "cache_enctable": true +}