浏览代码

安装 WireGuard+Speeder+Udp2Raw 和 SS+Kcp+Udp2RAW 配置命令 bash wgmtu setup

hongwenjun 6 年之前
父节点
当前提交
2eaa3a5266
共有 5 个文件被更改,包括 26 次插入7 次删除
  1. 3 1
      README.md
  2. 13 1
      Wireguard/wgmtu.sh
  3. 4 1
      shadowsocks/README.md
  4. 1 1
      shadowsocks/install_ss-server.sh
  5. 5 3
      vps.sh

+ 3 - 1
README.md

@@ -3,7 +3,7 @@
 
 
 | [一键安装 WireGuard 脚本](https://github.com/hongwenjun/vps_setup/blob/master/Wireguard/README.md) |[一键安装 Shadowsocks-libev 脚本](https://github.com/hongwenjun/vps_setup/blob/master/shadowsocks/README.md) | [V2Ray 官方一键脚本](https://github.com/hongwenjun/vps_setup/blob/master/v2ray/README.md) |
 | [一键安装 WireGuard 脚本](https://github.com/hongwenjun/vps_setup/blob/master/Wireguard/README.md) |[一键安装 Shadowsocks-libev 脚本](https://github.com/hongwenjun/vps_setup/blob/master/shadowsocks/README.md) | [V2Ray 官方一键脚本](https://github.com/hongwenjun/vps_setup/blob/master/v2ray/README.md) |
 | :------:| :------: | :------: |
 | :------:| :------: | :------: |
-| wget -qO- git.io/fptwc \| bash | wget -qO- git.io/fhExJ \| bash | bash <(curl -L -s https://install.direct/go.sh)|
+| wget -qO- git.io/fptwc \| bash | bash <(curl -L -s git.io/fhExJ) update | bash <(curl -L -s https://install.direct/go.sh) |
 
 
 ### 严重声明和友情提示:
 ### 严重声明和友情提示:
 - 此项目仅限于技术交流和探讨,在您测试完毕后必须在1秒钟内彻底删除项目副本。此项目为bash一键脚本,其中涉及到的任何软件版权和责任归原作者所有。
 - 此项目仅限于技术交流和探讨,在您测试完毕后必须在1秒钟内彻底删除项目副本。此项目为bash一键脚本,其中涉及到的任何软件版权和责任归原作者所有。
@@ -60,6 +60,8 @@ wget -qO- git.io/fxxlb | bash
 wget -qO- https://git.io/fp4jf | bash
 wget -qO- https://git.io/fp4jf | bash
 ```
 ```
 ----
 ----
+
+```
 ### Debian或Ubuntun mini版 wget下载证书无法验证
 ### Debian或Ubuntun mini版 wget下载证书无法验证
 	apt-get install -y ca-certificates
 	apt-get install -y ca-certificates
 
 

+ 13 - 1
Wireguard/wgmtu.sh

@@ -424,4 +424,16 @@ start_menu(){
         esac
         esac
 }
 }
 
 
-start_menu
+# 安装 WireGuard+Speeder+Udp2Raw 和 SS+Kcp+Udp2RAW 配置
+# bash wgmtu setup  
+
+if [[ $# > 0 ]]; then
+    key="$1"
+    case $key in
+        setup)
+        ss_kcp_udp2raw_wg_speed
+        ;;
+    esac
+else
+	start_menu
+fi

+ 4 - 1
shadowsocks/README.md

@@ -1,8 +1,11 @@
 # 一键安装shadowsocks-libev脚本 For Debian_9  Ubuntu  Centos_7
 # 一键安装shadowsocks-libev脚本 For Debian_9  Ubuntu  Centos_7
 ```
 ```
-# 一键安装shadowsocks-libev 也可下载使用update参数
+# 一键安装shadowsocks-libev
 wget -qO- git.io/fhExJ | bash
 wget -qO- git.io/fhExJ | bash
 
 
+# 一键安装shadowsocks-libev脚本(编译安装)
+bash <(curl -L -s git.io/fhExJ) update
+
 ```
 ```
 ### 使用: 添加命令行到 /etc/rc.local
 ### 使用: 添加命令行到 /etc/rc.local
 ```
 ```

+ 1 - 1
shadowsocks/install_ss-server.sh

@@ -5,7 +5,7 @@ Green="\033[32m"  && Red="\033[31m" && GreenBG="\033[42;37m" && RedBG="\033[41;3
 
 
 echo -e "${Green}:: 注意 快速安装 shadowsocks-libev 脚本 For debian 9 ${Font}"
 echo -e "${Green}:: 注意 快速安装 shadowsocks-libev 脚本 For debian 9 ${Font}"
 echo -e "${RedBG}:: Centos和Ubuntu系统,进行编译安装 ${RedBG} shadowsocks-libev  ${Font}"
 echo -e "${RedBG}:: Centos和Ubuntu系统,进行编译安装 ${RedBG} shadowsocks-libev  ${Font}"
-echo -e "${Green}$  wget -qO ss.sh git.io/fhExJ && bash ss.sh update  ${Font}"
+echo -e "${Green}$  bash <(curl -L -s git.io/fhExJ) update  ${Font}"
 
 
 debian_fast(){
 debian_fast(){
     # 安装所需运行库
     # 安装所需运行库

+ 5 - 3
vps.sh

@@ -3,9 +3,11 @@
 # 一键安装wireguard 脚本
 # 一键安装wireguard 脚本
 wget -qO- git.io/fptwc | bash
 wget -qO- git.io/fptwc | bash
 
 
-# 一键安装shadowsocks-libev脚本
-wget -qO- git.io/fhExJ | bash
-
 # V2Ray官方一键脚本
 # V2Ray官方一键脚本
 bash <(curl -L -s https://install.direct/go.sh)
 bash <(curl -L -s https://install.direct/go.sh)
 
 
+# 一键安装shadowsocks-libev脚本(编译安装)
+bash <(curl -L -s git.io/fhExJ) update
+
+# 安装 WireGuard+Speeder+Udp2Raw 和 SS+Kcp+Udp2RAW 配置
+bash wgmtu setup