一键安装 WireGuard Shadowsocks V2Ray 服务端三合一脚本 IPV6
bash <(curl -L -s https://git.io/vps.sh)
# curl脚本可以使用菜单,方便选择 # wget脚本是静默安装 # 目前 WireGuard 脚本支持 IPV6,稳定有待测试
# wget -qO- git.io/vps.sh | bash
WireGuard 管理 |
bash wgmtu |
卸载命令 |
bash wgmtu remove |
- 此项目仅限于技术交流和探讨,在您测试完毕后必须在1秒钟内彻底删除项目副本。此项目为bash一键脚本,其中涉及到的任何软件版权和责任归原作者所有。
- 在**境内使用、传播、售卖、免费分享等任何翻墙服务,都是违法的。如果你在**境内使用、测试此项目脚本,或者使用此脚本搭建服务器发生以上违法行为,都有违作者意愿!你必须立刻停止此行为!并删除脚本!
Shadowsocks 配置使用: 添加命令行到 /etc/rc.local
# -p 端口 -k 密码 -m 协议 -s 服务IP
ss-server -s 0.0.0.0 -p 40000 -k ${PASSWORD} -m aes-256-gcm -t 300 >> /var/log/ss-server.log &
cat /etc/v2ray/config.json
Telegram 代理 MTProxy Go版 一键脚本(源:逗比网)
# Telegram 代理 MTProxy Go版 一键脚本(源:逗比网)
wget -qO mtproxy_go.sh git.io/fpWo4 && bash mtproxy_go.sh
wget -qO- https://raw.githubusercontent.com/hongwenjun/vps_setup/master/autoBestTrace.sh | bash
Google Cloud Platform GCP实例开启密码与root用户登陆
# GCP一键启用root帐号命令
# wget -qO- git.io/fpQWf | bash
# 一键安装 vnstat 流量检测
wget -qO- git.io/fxxlb | bash
# linux下golang环境搭建自动脚本 by 蘭雅sRGB
wget -qO- https://git.io/fp4jf | bash
Debian或Ubuntun mini版 wget下载证书无法验证
apt-get install -y ca-certificates
apt-get install locales
dpkg-reconfigure locales
vim /etc/default/locale
LANG=en_US.UTF-8
wget -O .vimrc --no-check-certificate https://raw.githubusercontent.com/hongwenjun/srgb/master/vim/_vimrc
wget -O .bashrc --no-check-certificate https://raw.githubusercontent.com/hongwenjun/srgb/master/vim/_bashrc
wget -O .tmux.conf --no-check-certificate https://raw.githubusercontent.com/hongwenjun/tmux_for_windows/master/.tmux.conf
$ vim /etc/nginx/sites-enabled/default
root /var/www;
autoindex on;
udp2raw_kcptun_ss_for_debian9.sh 一键安装,默认$$只对本地开放
wget --no-check-certificate -O vps_setup.sh https://git.io/fx6UQ && \
chmod +x vps_setup.sh && ./vps_setup.sh
ps aux
ps aux | grep -e shadowsocks -e brook -e ss-server -e kcp-server -e udp2raw -e speederv2 -e python
ls /sys/class/net | awk {print} | head -n 1
可以得到软件的安装目录和配置文件目录
/usr/bin/shadowsocks-server -c /etc/shadowsocks-go/config.json
/usr/local/frps/frps -c /usr/local/frps/frps.ini
/bin/bash /etc/init.d/brook start
./brook servers -l :2333 srgb.xyz
screen ./fuck_net
screen iperf3 -s
tar -czvf ss_frp.tar.gz /etc/init.d/brook /usr/local/brook/brook /usr/local/brook/brook.conf \
/usr/bin/shadowsocks-server /etc/shadowsocks-go/config.json /etc/init.d/shadowsocks-go \
/usr/local/frps/frps /usr/local/frps/frps.ini /etc/init.d/frps /root/fuck_net
tar -czv -T filelist -f ss_frp.tar.gz
-T 选项可以指定包含要备份的文件列表
- 可以先不删除原来机器,新建立机器使用wget把备份文件挪过去
- 本笔记,由于使用Vultr_IPV6的机器,所以使用wget先下载到本地电脑了
$ scp /c/Users/vip/Desktop/ss_frp/ss_frp.tar.gz root@[2001:19f0:8001:c85:5400:01ff:fe91:7ed8]:/tmp/ss_frp.tar.gz
cd / && tar -xvf /tmp/ss_frp.tar.gz
/etc/init.d/frps start && /etc/init.d/brook start && /etc/init.d/shadowsocks-go start
systemctl enable frps
systemctl enable brook
systemctl enable shadowsocks-go
systemctl disable frps #禁止的脚本
curl -i https://git.io -F "url=https://raw.githubusercontent.com/hongwenjun/vps_setup/master/vps.sh" -F "code=vps.sh"
#### 返回信息
HTTP/1.1 201 Created
Server: Cowboy
Connection: keep-alive
Date: Fri, 08 Mar 2019 04:47:37 GMT
Status: 201 Created
Content-Type: text/html;charset=utf-8
Location: https://git.io/vps.sh
Content-Length: 68
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Runtime: 0.193189
X-Node: 4c602b07-61d9-41e0-bee8-654fbdc36e98
X-Revision: 392798d237fc1aa5cd55cada10d2945773e741a8
Strict-Transport-Security: max-age=31536000; includeSubDomains
Via: 1.1 vegur
https://raw.githubusercontent.com/hongwenjun/vps_setup/master/vps.sh
git fetch --all
git reset --hard origin/master
git pull
git fetch origin master
git merge origin/master
git merge origin/master --allow-unrelated-histories
git diff