蘭雅sRGB пре 6 година
родитељ
комит
cecb65ce9d
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      Wireguard/wg5clients.sh

+ 3 - 3
Wireguard/wg5clients.sh

@@ -62,7 +62,7 @@ MTU = $mtu
 
 [Peer]
 PublicKey = $(cat cpublickey)
-AllowedIPs = 10.0.0.2/32
+AllowedIPs = 10.0.0.218/32
 
 EOF
 
@@ -70,7 +70,7 @@ EOF
 cat <<EOF >client.conf
 [Interface]
 PrivateKey = $(cat cprivatekey)
-Address = 10.0.0.2/24
+Address = 10.0.0.218/24
 DNS = 8.8.8.8
 #  MTU = $mtu
 #  PreUp =  start   .\route\routes-up.bat
@@ -155,7 +155,7 @@ echo -e "${RedBG}   一键安装 WireGuard 脚本 For Debian_9 Ubuntu Centos_7
 echo -e "${GreenBG}    开源项目:https://github.com/hongwenjun/vps_setup    ${Font}"
 echo
 echo -e "# ${Info} 使用${GreenBG} bash wg5 ${Font} 命令,可以临时网页下载配置和二维码"
-echo -e "# ${Info} 使用${GreenBG} bash wgmtu ${Font} 命令,设置服务器端MTU数值或服务端口号"
+echo -e "# ${Info} 使用${GreenBG} bash wgmtu ${Font} 命令,重置客户端数量,设置服务器端MTU数值或服务端口号 "
 
 # echo -e "# ${Info} 请网页打开 ${GreenBG}${conf_url}${Font} 下载配置文件 wg5clients.tar ,${RedBG}注意: 完成后请重启VPS.${Font}"
 # echo -e "#  scp [email protected]:/etc/wireguard/wg5clients.tar   wg5clients.tar"