Update configuration
1. run as user nobody; 2. set name servers for internal DNS resolver is 8.8.8.8; 3. set mode is TCP and UDP in configuration file. Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
parent
a54e45dd19
commit
570dbb10f9
|
|
@ -501,8 +501,11 @@ elif [ "${selected}" == "4" ]; then
|
|||
"local_port":1080,
|
||||
"password":"${shadowsockspwd}",
|
||||
"timeout":300,
|
||||
"user":"nobody",
|
||||
"method":"${shadowsockscipher}",
|
||||
"fast_open":${fast_open},
|
||||
"nameserver":"8.8.8.8",
|
||||
"mode":"tcp_and_udp",
|
||||
"plugin":"obfs-server",
|
||||
"plugin_opts":"obfs=${shadowsocklibev_obfs}"
|
||||
}
|
||||
|
|
@ -515,8 +518,11 @@ EOF
|
|||
"local_port":1080,
|
||||
"password":"${shadowsockspwd}",
|
||||
"timeout":300,
|
||||
"user":"nobody",
|
||||
"method":"${shadowsockscipher}",
|
||||
"fast_open":${fast_open}
|
||||
"fast_open":${fast_open},
|
||||
"nameserver":"8.8.8.8",
|
||||
"mode":"tcp_and_udp"
|
||||
}
|
||||
EOF
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user