hongwenjun 6 tahun lalu
induk
melakukan
c05079e61e
2 mengubah file dengan 9 tambahan dan 8 penghapusan
  1. 6 5
      README.md
  2. 3 3
      Wireguard/wgmtu.sh

+ 6 - 5
README.md

@@ -1,8 +1,9 @@
-## 一键安装 WireGuard  Shadowsocks V2Ray 服务端三合一脚本
+## 一键安装 WireGuard Shadowsocks V2Ray 服务端三合一脚本 [IPV6](https://github.com/hongwenjun/vps_setup/blob/master/ipv6/README.md)
     bash <(curl -L -s https://git.io/vps.sh)
-    wget -qO- git.io/vps.sh | bash       # wget调用是静默安装  curl调用可以使用菜单
+    # curl脚本可以使用菜单,方便选择 # wget脚本是静默安装 # 目前 WireGuard 脚本支持 IPV6,稳定有待测试
+    # wget -qO- git.io/vps.sh | bash
 
-| [一键安装 WireGuard 脚本:支持IPV6 ](https://github.com/hongwenjun/vps_setup/blob/master/Wireguard/README.md) |[一键安装 Shadowsocks 脚本](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 脚本](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 | bash <(curl -L -s git.io/fhExJ) update | bash <(curl -L -s https://install.direct/go.sh) |
 
@@ -19,10 +20,10 @@
 - 此项目仅限于技术交流和探讨,在您测试完毕后必须在1秒钟内彻底删除项目副本。此项目为bash一键脚本,其中涉及到的任何软件版权和责任归原作者所有。
 - 在中国境内使用、传播、售卖、免费分享等任何翻墙服务,都是违法的。如果你在中国境内使用、测试此项目脚本,或者使用此脚本搭建服务器发生以上违法行为,都有违作者意愿!你必须立刻停止此行为!并删除脚本!
 
-### V2Ray和Shadowsocks配置显示二维码  短网址: https://git.io/v2ray.ss
+### V2Ray  Shadowsocks 配置显示二维码  短网址: https://git.io/v2ray.ss
 ![](https://raw.githubusercontent.com/hongwenjun/vps_setup/master/v2ray/v2ray.ss.png)
 
-### WireGuard 管理使用命令 bash wgmtu
+### WireGuard 管理使用命令 bash wgmtu    短网址: https://git.io/wgmtu
 [![点击图片链接视频演示](https://raw.githubusercontent.com/hongwenjun/vps_setup/master/img/wgmtu.png)](https://youtu.be/iOnAeWRvSQI)
 
 ### Shadowsocks 配置使用: 添加命令行到 /etc/rc.local

+ 3 - 3
Wireguard/wgmtu.sh

@@ -75,8 +75,8 @@ ipv6_QRcode(){
     if [[ -z $serveripv6 ]]; then
         echo -e "${Red}:: 获取IPV6地址不正确,你的服务器可能没有IPV6网络支持!${Font}"
     else
-        cat /etc/wireguard/wg_${host}_$i.conf | sed "s/${serverip}/${serveripv6}/g" | qrencode -o - -t UTF8
-        echo -e "${Green}:: IPV6地址: ${serveripv6} 请确认服务器和本地网络支持IPV6!${Font}"
+        cat /etc/wireguard/wg_${host}_$i.conf | sed "s/${serverip}/[${serveripv6}]/g" | qrencode -o - -t UTF8
+        echo -e "${Green}:: IPV6地址: [${serveripv6}] 请确认服务器和本地网络支持IPV6!${Font}"
     fi
 }
 
@@ -413,7 +413,7 @@ 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 "${Green}>  1. 显示客户端配置和二维码 (手机支持纯IPV6,稳定性有待测试)"
     echo -e ">  2. 修改 WireGuard 服务器端 MTU 值"
     echo -e ">  3. 修改 WireGuard 端口号"
     echo -e ">  4. 安装 WireGuard+Speeder+Udp2Raw 和 SS+Kcp+Udp2RAW 一键脚本"