icql

常用网站


使用googlehelper插件(部分常用学习网站可免费使用)

官网 http://googlehelper.net/


搭建shadowsocks私服

安装前提:1台海外vps,本文基于centos:7

安装shadowsocks-libev

#安装依赖
yum install epel-release -y
yum update
yum install gcc gettext autoconf libtool automake make openssl-devel pcre-devel asciidoc xmlto zlib-devel openssl-devel libsodium-devel udns-devel libev-devel -y

#更新yum仓库,https://copr.fedorainfracloud.org/coprs/librehat/shadowsocks/
wget https://copr.fedorainfracloud.org/coprs/librehat/shadowsocks/repo/epel-7/librehat-shadowsocks-epel-7.repo
cp librehat-shadowsocks-epel-7.repo /etc/yum.repos.d/
yum update
yum install shadowsocks-libev

#设置配置文件
vi /etc/shadowsocks-libev/config.json

#单端口配置,注意server设为0.0.0.0
{
    "server":"0.0.0.0",
    "server_port":59000,
    "password":"password0",
    "timeout":300,
    "method":"chacha20"
}

#多端口配置:暂不支持,不稳定
{
    "server":"0.0.0.0",
    "port_password":{
      "59000":"password0",
      "59001":"password1",
      "59002":"password2"
    },
    "timeout":300,
    "method":"chacha20"
}


#开启服务
systemctl enable shadowsocks-libev
systemctl start shadowsocks-libev
systemctl status shadowsocks-libev

#开启防火墙设置的相关端口,如59000

Server端配置加速器,建议以下两种加速器都安装

#安装完成后会要求你输入需要加速的端口,填写ss的端口即可

#开启服务 systemctl enable rinetd-bbr systemctl start rinetd-bbr systemctl status rinetd-bbr

#会直接安装成服务 #后续有需要更改,可修改配置文件 /etc/rinetd-bbr.conf


* 2、KCPTUN加速,效果最好,但ios不支持
* github地址 https://github.com/xtaci/kcptun ,在release中获取最新版本
* 服务端配置如下
``` bash
#获取kcptun linux服务端应用程序
mkdir /app/kcptun
cd /app/kcptun
wget https://github.com/xtaci/kcptun/releases/download/v20190611/kcptun-linux-amd64-20190611.tar.gz
tar -zxf kcptun-linux-amd64-20190611.tar.gz

#配置kcptun.service
cd /usr/lib/systemd/system/
vi kcptun.service
#填入以下内容
[Unit]
Description=kcptun
[Service]
ExecStart=/app/kcptun/server_linux_amd64 -t "127.0.0.1:ss端口" -l ":kcp端口" -key "密码" -mode fast3
[Install]
WantedBy=multi-user.target

#启动服务
systemctl start kcptun
systemctl enable kcptun
systemctl status kcptun

客户端配置

参考