From 20ccbd4fb432b2baf1905ba75867da76510e46d1 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Thu, 5 Feb 2015 18:05:05 +0800 Subject: [PATCH] Update shadowsocks configuration --- shadowsocks-go.sh | 2 +- shadowsocks-libev-debian.sh | 2 +- shadowsocks-libev.sh | 2 +- shadowsocks.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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,