Skip to content

Commit

Permalink
Update configuration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
teddysun committed Jun 3, 2018
1 parent a54e45d commit 570dbb1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion shadowsocks-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
Expand All @@ -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
Expand Down

0 comments on commit 570dbb1

Please sign in to comment.