Update configuration

1. run as user nobody;
2. timeout has changed to 300s;
3. set name servers for internal DNS resolver is 8.8.8.8;
4. set mode is TCP and UDP in configuration file.

Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
Teddysun 2018-06-04 00:26:33 +09:00
parent ebfb4e5c76
commit a54e45dd19
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D
2 changed files with 10 additions and 4 deletions

View File

@ -383,9 +383,12 @@ config_shadowsocks(){
"server_port":${shadowsocksport},
"local_port":1080,
"password":"${shadowsockspwd}",
"timeout":600,
"timeout":300,
"user":"nobody",
"method":"${shadowsockscipher}",
"fast_open":${fast_open}
"fast_open":${fast_open},
"nameserver":"8.8.8.8",
"mode":"tcp_and_udp"
}
EOF
}

View File

@ -400,9 +400,12 @@ config_shadowsocks(){
"server_port":${shadowsocksport},
"local_port":1080,
"password":"${shadowsockspwd}",
"timeout":600,
"timeout":300,
"user":"nobody",
"method":"${shadowsockscipher}",
"fast_open":${fast_open}
"fast_open":${fast_open},
"nameserver":"8.8.8.8",
"mode":"tcp_and_udp"
}
EOF
}