hongwenjun 6 rokov pred
rodič
commit
a9e5da08d1
5 zmenil súbory, kde vykonal 106 pridanie a 161 odobranie
  1. 8 5
      README.md
  2. 28 25
      v2ray_ss_conf.sh
  3. 30 32
      vps.sh
  4. 38 98
      wgmtu.sh
  5. 2 1
      wireguard-install.sh

+ 8 - 5
README.md

@@ -1,14 +1,17 @@
 # Three-in-One-Step Automated Install WireGuard Shadowsocks V2Ray on Server
 
 ```
-bash <(curl -L -s https://raw.githubusercontent.com/hongwenjun/vps_setup/english/vps.sh)
+bash <(curl -L -s https://git.io/vps.setup)
 ```
 ------
-### WireGuard
+### WireGuard Install
 
 ```
 # One-Step Automated Install WireGuard Script
-bash <(curl -L -s https://raw.githubusercontent.com/hongwenjun/vps_setup/english/wireguard-install.sh)
+wget -qO- https://git.io/wireguard.sh | bash
+
+# Custom Port Install WireGuard Script, Number set Port
+bash <(curl -L -s https://git.io/wireguard.sh) 9999
 ```
 
 [WireGuard](https://www.wireguard.com) installer for Ubuntu 18.04 LTS, Debian 9 and CentOS 7.
@@ -32,5 +35,5 @@ Project V is a set of network tools that help you to build your own computer net
 
 ```
 # Easy Install Shadowsocks & V2Ray : Generate and display QR code
-bash <(curl -L -s https://raw.githubusercontent.com/hongwenjun/vps_setup/english/v2ray_ss_conf.sh)
-```
+bash <(curl -L -s https://git.io/v2ray_ss.sh)
+```

+ 28 - 25
v2ray_ss_conf.sh

@@ -1,7 +1,7 @@
 #!/bin/bash
-# Shadowsocks 和 V2Ray 简易配置: 生成和显示二维码  短网址: https://git.io/v2ray.ss
+# Easy Install Shadowsocks & V2Ray : Generate and display QR_code  URL: https://git.io/v2ray_ss.sh
 
-# Usage:  bash <(curl -L -s https://git.io/v2ray.ss)
+# Usage:  bash <(curl -L -s https://git.io/v2ray_ss.sh)
 
 let v2ray_port=$RANDOM+9999
 UUID=$(cat /proc/sys/kernel/random/uuid)
@@ -15,10 +15,10 @@ if [ ! -e '/var/ip_addr' ]; then
 fi
 serverip=$(cat /var/ip_addr)
 
-# 修改端口号
+# Modify Port Number
 setport(){
-    echo_SkyBlue ":: 1.请修改 V2ray 服务器端端口号,随机端口:${RedBG} ${v2ray_port} "
-    read -p "请输入数字(100--60000): " num
+    echo_SkyBlue ":: 1. Please Modify the V2ray Server Port Number, Random Port: ${RedBG} ${v2ray_port} "
+    read -p "Please Enter the Number, Press Enter to not Modify(100--60000): " num
 
     if [[ ${num} -ge 100 ]] && [[ ${num} -le 60000 ]]; then
        v2ray_port=$num
@@ -38,7 +38,7 @@ sysctl_config() {
 ss_enable(){
     cat <<EOF >/etc/rc.local
 #!/bin/sh -e
-ss-server -s 0.0.0.0 -p 40000 -k ${ss_passwd} -m aes-256-gcm -t 300 >> /var/log/ss-server.log &
+ss-server -s 0.0.0.0 -p 40000 -k ${ss_passwd} -m aes-256-gcm -t 300  -s ::0 >> /var/log/ss-server.log &
 
 exit 0
 EOF
@@ -46,22 +46,22 @@ EOF
 
 conf_shadowsocks(){
 
-    echo_SkyBlue ":: 2.请修改 Shadowsocks 服务器端端口号,随机端口: ${RedBG} ${ss_port} "
-    read -p "请输入数字(100--60000): " num
+    echo_SkyBlue ":: 2. Please Modify the Shadowsocks Server Port Number, Random Port: ${RedBG} ${ss_port} "
+    read -p "Please Enter the Number, Press Enter to not Modify(100--60000): " num
 
     if [[ ${num} -ge 100 ]] && [[ ${num} -le 60000 ]]; then
        ss_port=$num
     fi
 
-    echo_SkyBlue ":: 3.请修改 Shadowsocks 的密码,随机密码: ${RedBG} ${ss_passwd} "
-    read -p "请输入你要的密码(按回车不修改): "  new
+    echo_SkyBlue ":: 3. Please Modify the Password of Shadowsocks, Random Password: ${RedBG} ${ss_passwd} "
+    read -p "Now, You can change the Password, Press Enter to not Modify: "  new
 
     if [[ ! -z "${new}" ]]; then
         ss_passwd="${new}"
-        echo -e "修改密码: ${GreenBG} ${ss_passwd} ${Font}"
+        echo -e "Now, New Password: ${GreenBG} ${ss_passwd} ${Font}"
     fi
 
-    # 如果 Shadowsocks 没有安装,安装Shadowsocks
+    # If Shadowsocks not install, Now install.
     if [ ! -e '/usr/local/bin/ss-server' ]; then
         sysctl_config
         ss_enable
@@ -77,7 +77,7 @@ conf_shadowsocks(){
 	sed -i "s/ss-server -s 127.0.0.1/ss-server -s 0.0.0.0/g"  "/etc/rc.local"
 
     systemctl stop rc-local
-    # 简化判断系统 debian/centos 族群
+    # Simple Judgment System:  Debian / Centos
     if [ -e '/etc/redhat-release' ]; then
         mv /etc/rc.local /etc/rc.d/rc.local
         ln -s /etc/rc.d/rc.local /etc/rc.local
@@ -90,18 +90,19 @@ conf_shadowsocks(){
 
 	systemctl restart rc-local
 
-    echo_Yellow ":: Shadowsocks 服务 加密协议/密码/IP/端口 信息!"
+    echo_Yellow ":: Info: Shadowsocks Server, Encrypt_Method / Password / IP / Port"
 	# ss://<<base64_shadowsocks.conf>>
 	echo "${method}:${ss_passwd}@${serverip}:${ss_port}" | tee ${cur_dir}/base64_shadowsocks.conf
+	echo
 }
 
 conf_v2ray(){
-    # 如果 v2ray 没有安装,安装v2ray
+    # If V2ray not install, Now install.
     if [ ! -e '/etc/v2ray/config.json' ]; then
         bash <(curl -L -s https://install.direct/go.sh)
     fi
 
-    echo_SkyBlue ":: V2ray 服务 IP/端口/UUID等信息!"
+    echo_SkyBlue ":: Info: V2ray Server, IP / Port / UUID"
     # vmess://<<base64_v2ray_vmess.json>>
     cat <<EOF | tee ${cur_dir}/base64_v2ray_vmess.json
 {
@@ -119,7 +120,9 @@ conf_v2ray(){
 }
 EOF
 
-# v2ray服务端mKcp配 /etc/v2ray/config.json
+echo
+
+# v2ray Server mKcp config_file: /etc/v2ray/config.json
 cat <<EOF >/etc/v2ray/config.json
 {
   "inbounds": [
@@ -216,7 +219,7 @@ echo_Yellow(){
     echo -e "${Yellow}$1${Font}"
 }
 
-# 显示手机客户端二维码
+# Display mobile client QR_code
 conf_QRcode(){
 
      st="$(cat ${cur_dir}/base64_shadowsocks.conf)"
@@ -226,16 +229,16 @@ conf_QRcode(){
      v2_b64=$(base64 -w0 ${cur_dir}/base64_v2ray_vmess.json)
      v2ray_vmess="vmess://${v2_b64}"
 
-     echo_SkyBlue ":: Shadowsocks 服务器二维码,请手机扫描!"
+     echo_SkyBlue ":: Shadowsocks Client Configuration for Mobile QR_code!"
      echo -n $shadowsocks_ss | qrencode -o - -t UTF8
      echo_Yellow $shadowsocks_ss
      echo
-     echo_SkyBlue ":: V2rayNG 手机配置二维码,请手机扫描!"
+     echo_SkyBlue ":: V2rayNG Client Configuration for Mobile QR_code!"
      echo -n $v2ray_vmess  | qrencode -o - -t UTF8
-     echo_SkyBlue  ":: V2rayN Windows 客户端 Vmess 协议配置"
+     echo_SkyBlue  ":: V2rayN Windows Client Vmess Protocol Configuration"
      echo $v2ray_vmess
-     echo_SkyBlue ":: SSH工具推荐Git-Bash 2.20; GCP_SSH(浏览器)字体Courier New 二维码显示正常!"
-     echo_Yellow  ":: 命令${RedBG} bash <(curl -L -s https://git.io/v2ray.ss) setup ${Font}设置修改端口密码和UUID"
+     echo
+     echo_Yellow  ":: Usage: ${RedBG} bash <(curl -L -s https://git.io/v2ray_ss.sh) setup ${Font} to Modified Port Password and UUID"
 }
 
 # 设置 v2ray 端口和UUID
@@ -269,8 +272,8 @@ if [[ $# > 0 ]]; then
     esac
 fi
 
-echo_SkyBlue  ":: Shadowsocks 和 V2Ray 简易配置: 生成和显示二维码  By 蘭雅sRGB "
-echo_Yellow   ":: 一键命令 ${RedBG} bash <(curl -L -s https://git.io/v2ray.ss) "
+echo_SkyBlue  ":: Easy Install Shadowsocks & V2Ray : Generate and display QR_code  By 蘭雅sRGB "
+echo_Yellow   ":: Usage:  bash <(curl -L -s https://git.io/v2ray_ss.sh) "
 
 # 输出ss和v2ray配置和二维码
 conf_QRcode 2>&1 | tee ${cur_dir}/v2ray_ss.log

+ 30 - 32
vps.sh

@@ -1,21 +1,18 @@
 #!/bin/bash
-# WireGuard Shadowsocks V2Ray 服务端三合一脚本  短网址 https://git.io/vps.sh
+# Three-in-One-Step Automated Install WireGuard Shadowsocks V2Ray on Server. URL: https://git.io/vps.setup
 
-# Usage:  bash <(curl -L -s https://git.io/vps.sh)
+# Usage:  bash <(curl -L -s https://git.io/vps.setup)
 
-# 默认安装三合一  Usage:  wget -qO- git.io/vps.sh | bash
+# Default Three-in-One-Step Automated Installation
 default_install(){
 
-    # 一键安装wireguard 脚本
-    wget -qO- git.io/fptwc | bash
+    # WireGuard installer
+    wget -qO- https://git.io/wireguard.sh | bash
 
-    # V2Ray官方一键脚本
-    bash <(curl -L -s https://install.direct/go.sh)
+    # Install Shadowsocks & V2Ray
+    bash <(curl -L -s https://git.io/v2ray_ss.sh)
 
-    # 一键安装shadowsocks-libev脚本
-    wget -qO- git.io/fhExJ | bash
-
-    # 安装 WireGuard+Speeder+Udp2Raw 和 SS+Kcp+Udp2RAW 配置
+    # Install WireGuard+Speeder+Udp2Raw and SS+Kcp+Udp2RAW Configuration
     bash wgmtu setup
 }
 
@@ -23,17 +20,17 @@ display_conf(){
     echo
     echo
     echo_SkyBlue "# ======================================="
-    echo_GreenBG "# V2ray 服务端配置 /etc/v2ray/config.json"
+    echo_GreenBG "# V2ray Server Configuration: /etc/v2ray/config.json"
     cat /etc/v2ray/config.json
     echo
-    echo_SkyBlue "# WG+Speed+Udp2Raw 和 SS+Kcp+Udp2RAW 配置 /etc/rc.local"
+    echo_SkyBlue "# WG+Speed+Udp2Raw and SS+Kcp+Udp2RAW Configuration: /etc/rc.local"
     cat vps_setup.log
-    echo_GreenBG "# WireGuard 客户端配置 /etc/wireguard/client.conf"
+    echo_GreenBG "# WireGuard Client Configuration: /etc/wireguard/client.conf"
     cat /etc/wireguard/client.conf
 }
 
 base_tools(){
-    # 简化判断系统 debian/centos 族群
+    # Simple Judgment System:  Debian / Centos
     if [ -e '/etc/redhat-release' ]; then
         yum update -y && yum install -y  wget curl vim ca-certificates
     else
@@ -50,26 +47,26 @@ wget_curl(){
     fi
 }
 
-# 设置菜单
+# Setting Menu
 start_menu(){
     clear
-    echo_GreenBG ">  开源项目:  https://github.com/hongwenjun/vps_setup  "
-    echo_SkyBlue ">  1. 默认安装 WireGuard Shadowsocks V2Ray 服务端三合一"
-    echo_SkyBlue ">  2. 选择安装 WireGuard 多用户服务端"
-    echo_SkyBlue ">  3. 编译安装/更新 ${RedBG} shadowsocks-libev ${Font}"
-    echo_SkyBlue ">  4. 卸载 WireGuard Shadowsocks V2ray 服务程序"
+    echo_GreenBG ">     Open Source Project: https://github.com/hongwenjun/vps_setup    "
+    echo_SkyBlue ">  1. Default Three-in-One-Step Automated WireGuard Shadowsocks V2Ray "
+    echo_SkyBlue ">  2. Choose to install WireGuard VPN Multi-user Configuration "
+    echo_SkyBlue ">  3. Compile install / Update ${RedBG} shadowsocks-libev ${Font}"
+    echo_SkyBlue ">  4. Uninstall WireGuard Shadowsocks V2ray Service"
     echo         "-------------------------------------------------------"
-    echo_Yellow  ">  5. 显示 WireGuard V2ray 和 rc.local 配置信息"
-    echo_Yellow  ">  6. 退出"
-    echo_Yellow  ">  7. WireGuard 管理命令 ${RedBG} bash wgmtu "
-    echo_Yellow  ">  8. 选择安装 ${GreenBG} Shadowsocks 和 V2Ray ${Yellow} 配置显示二维码"
-    read -p "请输入数字:" num
+    echo_Yellow  ">  5. Display WireGuard V2ray and rc.local Configuration"
+    echo_Yellow  ">  6. Exit"
+    echo_Yellow  ">  7. WireGuard Management Command: ${RedBG} bash wgmtu "
+    echo_Yellow  ">  8. Choose to install ${GreenBG} Shadowsocks 和 V2Ray ${Yellow} Generate and Display QR_code"
+    read -p "Please Enter the Number to Choose (Press Enter to Default):" num
     case "$num" in
         1)
         default_install
         ;;
         2)
-        wget -qO- git.io/fptwc | bash
+        wget -qO- https://git.io/wireguard.sh | bash
         ;;
         3)
         bash <(curl -L -s git.io/fhExJ) update
@@ -85,11 +82,12 @@ start_menu(){
         exit 1
         ;;
         7)
-        bash <(curl -L -s https://git.io/wgmtu)
-        wget -O wgmtu https://git.io/wgmtu  >/dev/null 2>&1
+        #  Get WireGuard Management Command : bash wgmtu
+        wget -O ~/wgmtu  https://raw.githubusercontent.com/hongwenjun/vps_setup/english/wgmtu.sh
+        bash wgmtu
         ;;
         8)
-        bash <(curl -L -s https://git.io/v2ray.ss)
+        bash <(curl -L -s https://git.io/v2ray_ss.sh)
         ;;
         *)
         default_install
@@ -97,7 +95,7 @@ start_menu(){
         esac
 }
 
-# 显示文字颜色
+# Definition Display Text Color
 Green="\033[32m"  && Red="\033[31m" && GreenBG="\033[42;37m" && RedBG="\033[41;37m"
 Font="\033[0m"  && Yellow="\033[0;33m" && SkyBlue="\033[0;36m"
 
@@ -111,7 +109,7 @@ echo_GreenBG(){
     echo -e "${GreenBG}$1${Font}"
 }
 
-# 安装 wg ss v2 脚本开始菜单和必要的wget和curl工具
+# Now, install wg ss v2 wget curl
 wget_curl
 start_menu
 

+ 38 - 98
wgmtu.sh

@@ -1,12 +1,11 @@
 #!/bin/bash
-# WireGuard 管理使用命令 bash wgmtu    短网址: https://git.io/wgmtu
+#  Get WireGuard Management Command : bash wgmtu
+#  wget -O ~/wgmtu https://raw.githubusercontent.com/hongwenjun/vps_setup/english/wgmtu.sh
 
-# Usage:  wget https://git.io/wgmtu && bash wgmtu
-
-# 修改mtu数值
+# Modify WireGuard Server MTU Number
 setmtu(){
-    echo -e "${GreenBG}WireGuard 修改服务器端MTU值,提高效率;默认值MTU=1420${Font}"
-    read -p "请输入数字(1200--1500): " num
+    echo -e "${GreenBG}Modify WireGuard Server MTU Number, Default=1420${Font}"
+    read -p "Please Enter the Number(1200--1500): " num
 
     if [[ ${num} -ge 1200 ]] && [[ ${num} -le 1500 ]]; then
        mtu=$num
@@ -16,26 +15,26 @@ setmtu(){
 
     ip link set mtu $num up dev wg0
     wg-quick save wg0
-    echo -e "${SkyBlue}:: 服务器端MTU值已经修改!${Font}"
+    echo -e "${SkyBlue}:: WireGuard Server MTU Number Changed!${Font}"
 }
 
-# 修改端口号
+# Modify WireGuard Server Port
 setport(){
-    echo -e "${GreenBG}修改 WireGuard 服务器端端口号,客户端要自行修改${Font}"
-    read -p "请输入数字(100--60000): " num
+    echo -e "${GreenBG}Modify WireGuard Server Port${Font}"
+    read -p "Please Enter the Number(100--60000): " num
 
     if [[ ${num} -ge 100 ]] && [[ ${num} -le 60000 ]]; then
        port=$num
        wg set wg0 listen-port $port
        wg-quick save wg0
 
-       echo -e "${SkyBlue}:: 端口号已经修改, 客户端请手工修改! ${Font}"
+       echo -e "${SkyBlue}::  WireGuard Server Port Number Changed!${Font}"
     else
-       echo -e "${Red}:: 没有修改端口号!${Font}"
+       echo -e "${Red}:: Port Number Not Change!${Font}"
     fi
 }
 
-# 显示客户端配置和手机二维码
+# Display Client Configuration and Mobile Phone QR code
 conf_QRcode(){
     echo -e "${Yellow}:: 显示客户端配置和手机二维码 (默认2号),请输入数字${Font}\c"
     read -p "(2-9): " x
@@ -161,34 +160,6 @@ ss_kcp_udp2raw_wg_speed(){
     rm ~/ss_wg_set_raw
 }
 
-# 常用工具和配置
-get_tools_conf(){
-    apt update
-    apt install -y htop tmux screen iperf3  >/dev/null 2>&1
-    yum install -y vim htop tmux screen iperf3  >/dev/null 2>&1
-    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
-}
-
-# 主菜单输入数字 88      # 隐藏功能:从源VPS克隆服务端配置,获得常用工具和配置
-scp_conf(){
-    echo -e "${RedBG}:: 警告: 警告: 警告:${Yellow} VPS服务器已经被GFW防火墙关照,按 Ctrl+ C 可以紧急逃离!  ${Font}"
-    echo_SkyBlue  ":: 隐藏功能: 从源VPS克隆服务端配置,共用客户端配置"
-    read -p ":: 请输入源VPS的IP地址(域名):"  vps_ip
-    cmd="scp root@${vps_ip}:/etc/wireguard/*  /etc/wireguard/. "
-    echo -e "${GreenBG}#  ${cmd}  ${Font}   现在运行scp命令,按提示输入yes,源vps的root密码"
-    ${cmd}
-
-    wg-quick down wg0   >/dev/null 2>&1
-    wg-quick up wg0     >/dev/null 2>&1
-    echo -e "${RedBG}    我真不知道WG服务器端是否已经使用源vps的配置启动!    ${Font}"
-
-    if [ ! -e '/root/.tmux.conf' ]; then
-        get_tools_conf
-    fi
-}
-
 # 定义文字颜色
 Green="\033[32m"  && Red="\033[31m" && GreenBG="\033[42;37m" && RedBG="\033[41;37m"
 Font="\033[0m"  && Yellow="\033[0;33m" && SkyBlue="\033[0;36m"
@@ -206,35 +177,6 @@ echo_RedBG(){
     echo -e "${RedBG}$1${Font}"
 }
 
-#  Vps_Setup 一键脚本 藏经阁
-onekey_plus(){
-    echo_RedBG   "           一键安装设置全家桶    by 蘭雅sRGB             "
-    echo_GreenBG "    开源项目:https://github.com/hongwenjun/vps_setup    "
-
-    echo_SkyBlue "  # 一键安装 WireGuard Shadowsocks V2Ray 服务端三合一脚本"
-    echo_Yellow  "  bash <(curl -L -s https://git.io/vps.sh)"
-    echo_SkyBlue "  # 下载 IPTABLES 设置防火墙规则 脚本 By 蘭雅sRGB"
-    echo_Yellow  "  wget -qO safe_iptables.sh git.io/fhUSe && bash safe_iptables.sh"
-    echo_SkyBlue "  # Google Cloud Platform GCP实例开启密码与root用户登陆"
-    echo_Yellow  "  wget -qO- git.io/fpQWf | bash"
-    echo_SkyBlue "  # 一键安装 vnstat 流量检测   by 蘭雅sRGB"
-    echo_Yellow  "  wget -qO- git.io/fxxlb | bash"
-    echo_SkyBlue "  # 一键安装wireguard 脚本 For Debian_9 Ubuntu Centos_7"
-    echo_Yellow  "  wget -qO- git.io/fptwc | bash"
-    echo_SkyBlue "  # 一键安装 SS+Kcp+Udp2Raw 脚本 快速安装 for Debian 9"
-    echo_Yellow  "  wget -qO- git.io/fpZIW | bash"
-    echo_SkyBlue "  # 一键安装 SS+Kcp+Udp2Raw 脚本 for Debian 9  Ubuntu (编译安装)"
-    echo_Yellow  "  wget -qO- git.io/fx6UQ | bash"
-    echo_SkyBlue "  # Telegram 代理 MTProxy Go版 一键脚本(源:逗比网)"
-    echo_Yellow  "  wget -qO mtproxy_go.sh  git.io/fpWo4 && bash mtproxy_go.sh"
-    echo_SkyBlue "  # linux下golang环境搭建自动脚本  by 蘭雅sRGB"
-    echo_Yellow  "  wget -qO- https://git.io/fp4jf | bash"
-    echo_SkyBlue "  # SuperBench.sh 一键测试服务器的基本参数"
-    echo_Yellow  "  wget -qO- git.io/superbench.sh | bash"
-    echo_SkyBlue "  # 使用BestTrace查看VPS的去程和回程"
-    echo_Yellow  "  wget -qO- git.io/fp5lf | bash"
-
-}
 
 safe_iptables(){
    # IPTABLES 设置防火墙规则 脚本 By 蘭雅sRGB  特别感谢 TaterLi 指导
@@ -243,8 +185,8 @@ safe_iptables(){
 
 # 更新wgmtu脚本
 update_self(){
-    # 安装 bash wgmtu 脚本用来设置服务器
-    wget -O ~/wgmtu  https://git.io/wgmtu >/dev/null 2>&1
+    #  Get WireGuard Management Command : bash wgmtu
+    wget -O ~/wgmtu  https://raw.githubusercontent.com/hongwenjun/vps_setup/english/wgmtu.sh
 }
 
 # 更新 WireGuard
@@ -420,15 +362,15 @@ EOF
 }
 
 wg_clients_menu(){
-    echo -e "${RedBG}   添加/删除 WireGuard Peer 客户端管理  ${Font}"
-    echo -e "${Green}>  1. 添加一个 WireGuard Peer 客户端配置"
-    echo -e ">  2. 删除末尾 WireGuard Peer 客户端配置"
-    echo -e ">  3. 指定删除 WireGuard Peer 客户端配置"
+    echo -e "${RedBG}   Add/Delete WireGuard Client Peer Management ${Font}"
+    echo -e "${Green}>  1. Add One WireGuard Client Peer "
+    echo -e ">  2. Delete Last WireGuard Client Peer "
+    echo -e ">  3. Delete Choose WireGuard Client Peer "
     echo    "------------------------------------------------------"
-    echo -e "${SkyBlue}>  4. 退出"
-    echo -e ">  5.${RedBG} 重置 WireGuard 客户端 Peer 数量 ${Font}"
+    echo -e "${SkyBlue}>  4. Exit"
+    echo -e ">  5.${RedBG} Reset WireGuard All Client Peer${Font}"
     echo
-    read -p "请输入数字(1-5):" num_x
+    read -p "Please Enter the Number(1-5):" num_x
     case "$num_x" in
         1)
         add_peer
@@ -456,22 +398,22 @@ wg_clients_menu(){
 # 设置菜单
 start_menu(){
     clear
-    echo -e "${RedBG}   一键安装 WireGuard 脚本 For Debian_9 Ubuntu Centos_7   ${Font}"
-    echo -e "${GreenBG}     开源项目: https://github.com/hongwenjun/vps_setup    ${Font}"
-    echo -e "${Green}>  1. 显示客户端配置和二维码 (手机支持纯IPV6,稳定性有待测试)"
-    echo -e ">  2. 修改 WireGuard 服务器端 MTU 值"
-    echo -e ">  3. 修改 WireGuard 端口号"
-    echo -e ">  4. 安装 WireGuard+Speeder+Udp2Raw 和 SS+Kcp+Udp2RAW 一键脚本"
+echo_RedBG   " One-Step Automated Install WireGuard Script For Debian_9 Ubuntu Centos_7 "
+echo_GreenBG "      Open Source Project: https://github.com/hongwenjun/vps_setup        "
+    echo -e "${Green}>  1. Display Client Configuration and QR code for Mobile Phone "
+    echo -e ">  2. Modify WireGuard Server MTU Number"
+    echo -e ">  3. Modify WireGuard Server Port"
+    echo -e ">  4. WireGuard+Speeder+Udp2Raw and SS+Kcp+Udp2RAW Automated Configuration"
     echo    "----------------------------------------------------------"
-    echo -e "${SkyBlue}>  5. 添加/删除 WireGuard Peer 客户端管理"
-    echo -e ">  6. 更新/卸载 WireGuard服务端和Udp2Raw"
-    echo -e ">  7. Vps_Setup 一键脚本 藏经阁"
-    echo -e ">  8. ${RedBG}  IPTABLES 防火墙设置脚本  ${Font}"
+    echo -e "${SkyBlue}>  5. Add/Delete WireGuard Client Peer Management"
+    echo -e ">  6. Update/Remove WireGuard and Udp2Raw Service"
+    echo -e ">  7. Replace English to Simplified Chinese(中文)"
+    echo -e ">  8. ${RedBG}  IPTABLES Firewall Setup Script  ${Font}"
     echo
     echo_SkyBlue  "Usage: ${GreenBG} bash wgmtu ${SkyBlue} [ setup | remove | vps | bench | -U ] "
     echo_SkyBlue                      "                    [ v2ray | vnstat | log | trace | -h ] "
     echo
-    read -p "请输入数字(1-8):" num
+    read -p "Please Enter the Number(1-8):" num
     case "$num" in
         1)
         conf_QRcode
@@ -494,13 +436,14 @@ start_menu(){
         exit 1
         ;;
         7)
-        onekey_plus
+        wget -O wgmtu https://git.io/wgmtu && bash wgmtu
+        exit 1
         ;;
         8)
         safe_iptables
         ;;
 
-    # 菜单输入 管理命令 bash wgmtu 命令行参数
+    #  Manage menu input command line parameters
         setup)
         ss_kcp_udp2raw_wg_speed
         ;;
@@ -508,11 +451,8 @@ start_menu(){
         wireguard_remove
         rc-local_remove
         ;;
-        88)
-        scp_conf
-        ;;
         9999)
-        bash <(curl -L -s https://git.io/fpnQt) 9999
+        bash <(curl -L -s https://git.io/wireguard.sh) 9999
         ;;
         -U)
         update_self
@@ -521,7 +461,7 @@ start_menu(){
         wgmtu_help
         ;;
         vps)
-        bash <(curl -L -s https://git.io/vps.sh)
+        bash <(curl -L -s https://git.io/vps.setup)
         ;;
         vnstat)
         wget -qO- git.io/fxxlb | bash
@@ -533,7 +473,7 @@ start_menu(){
         wget -qO- git.io/fp5lf | bash
         ;;
         v2ray)
-        bash <(curl -L -s https://git.io/v2ray.ss)
+        bash <(curl -L -s https://git.io/v2ray_ss.sh)
         ;;
         log)
         cat vps_setup.log

+ 2 - 1
wireguard-install.sh

@@ -1,10 +1,11 @@
 #!/bin/bash
 # WireGuard  installer for Ubuntu 18.04 LTS, Debian 9 and CentOS 7.
 
+# Usage:  wget -qO- https://git.io/wireguard.sh | bash
+
 # This script will let you setup your own VPN server in no more than a minute, even if you haven't used WireGuard before.
 # It has been designed to be as unobtrusive and universal as possible.
 
-# wireguard-install
 wireguard_install(){
     if [ -e /etc/centos-release ]; then
         DISTRO="CentOS"