diff --git a/shadowsocks-go.sh b/shadowsocks-go.sh index 41eb42c..1f6835b 100644 --- a/shadowsocks-go.sh +++ b/shadowsocks-go.sh @@ -145,7 +145,7 @@ function config_shadowsocks(){ fi cat > /etc/shadowsocks/config.json<<-EOF { - "server":"${IP}", + "server":"0.0.0.0", "server_port":8989, "local_port":1080, "password":"${shadowsockspwd}", diff --git a/shadowsocks-libev-debian.sh b/shadowsocks-libev-debian.sh index fc0653a..1e50ba9 100644 --- a/shadowsocks-libev-debian.sh +++ b/shadowsocks-libev-debian.sh @@ -108,7 +108,7 @@ function config_shadowsocks(){ fi cat > /etc/shadowsocks/config.json<<-EOF { - "server":"${IP}", + "server":"0.0.0.0", "server_port":8989, "local_address":"127.0.0.1", "local_port":1080, diff --git a/shadowsocks-libev.sh b/shadowsocks-libev.sh index b0fb718..b0ba92a 100644 --- a/shadowsocks-libev.sh +++ b/shadowsocks-libev.sh @@ -130,7 +130,7 @@ function config_shadowsocks(){ fi cat > /etc/shadowsocks-libev/config.json<<-EOF { - "server":"${IP}", + "server":"0.0.0.0", "server_port":8989, "local_address":"127.0.0.1", "local_port":1080, diff --git a/shadowsocks.sh b/shadowsocks.sh index f45b54c..7d6e5e6 100644 --- a/shadowsocks.sh +++ b/shadowsocks.sh @@ -120,7 +120,7 @@ function download_files(){ function config_shadowsocks(){ cat > /etc/shadowsocks.json<<-EOF { - "server":"${IP}", + "server":"0.0.0.0", "server_port":8989, "local_address": "127.0.0.1", "local_port":1080,