cd /tmp && curl -k -o shadow.sh https://raw.githubusercontent.com/cllu/hiwifi-ss/hiwifi-v1.2.5/shadow.sh && sh shadow.sh && rm shadow.sh
安装过程都是全自动的,之所以转载完整版本的,是因为感觉安装过程中的汉字提示蛮有情怀的~~
Connecting to 192.168.199.1:1022… Connection established. To escape to local shell, press ‘Ctrl+Alt+]’. BusyBox v1.19.4 (2016-11-08 00:47:10 CST) built-in shell (ash) Enter ‘help’ for a list of built-in commands.
*********************************************************** __ __ _ _ ____ _ TM / / / / (_) _ __ (_) / __/ (_) / /_/ / / / | | /| / / / / / /_ / / / __ / / / | |/ |/ / / / / __/ / / /_/ /_/ /_/ |__/|__/ /_/ /_/ /_/ http://www.hiwifi.com/ *********************************************************** root@Hiwifi:~# cd /tmp && curl -k -o shadow.sh https://raw.githubusercontent.com/cllu/hi wifi-ss/hiwifi-v1.2.5/shadow.sh && sh shadow.sh && rm shadow.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2635 100 2635 0 0 2411 0 0:00:01 0:00:01 –:–:– 2488
/*教程请参考:极路由Shadowsocks家庭无痛翻墙实践*/ https://luolei.org/hiwifi-shadowsocks/ by @foru17
那一天, 人类终于回想起了, 曾经一度被他们所支配的恐怖, 还有被囚禁于鸟笼中的那份屈辱.
進撃の巨人 諫山創
Building environment… 创建临时目录ing
Done! 成功创建临时目录!
Downloading files… 下载插件ing
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 403k 100 403k 0 0 101k 0 0:00:03 0:00:03 –:–:– 101k Done! 下载完成
global ulimit-n? 51200 defaults log global mode??? tcp option? dontlognull timeout connect 1000 timeout client 150000 timeout server 150000 frontend ss-in bind *:8008 default_backend ss-out backend ss-out server server1 XX.XX.XX.XX:8080 maxconn 20480
启动:#service haproxy start
补充:
1、如果无法代理,请检查防火墙是否开启8008端口:#service iptables status
2、如需开机启动,使用命令:#chkconfig haproxy on
=========================
补充:
如出现如下错误:
正在启动 haproxy:
[WARNING] 242/225203 (1334) : parsing [/etc/haproxy/haproxy.cfg:7] : the ‘contimeout’ directive is now depcated in favor of ‘timeout connect’, and will not be supported in future versions.
[WARNING] 242/225203 (1334) : parsing [/etc/haproxy/haproxy.cfg:8] : the ‘clitimeout’ directive is now depcated in favor of ‘timeout client’, and will not be supported in future versions.
[WARNING] 242/225203 (1334) : parsing [/etc/haproxy/haproxy.cfg:9] : the ‘srvtimeout’ directive is now depcated in favor of ‘timeout server’, and will not be supported in future versions.
Congratulations, shadowsocks-libev install completed!
Your Server IP: xxx.xxx.xxx.xxx
Your Server Port: 443
Your Password: mpyes.com
Your Local Port: 1080
Your Encryption Method:rc4-md5