Update 661.sh

This commit is contained in:
甬哥侃侃侃ygkkk 2023-03-24 00:33:26 +00:00
parent d337e0e757
commit cca2698612
1 changed files with 1 additions and 0 deletions

1
661.sh
View File

@ -1246,6 +1246,7 @@ ShowWGCF && WGCFmenu
WGproxy(){
[[ ! $(type -P wg-quick) ]] && red "未安装Wgcf-WARP" && bash CFwarp.sh
cp -f /etc/wireguard/wgcf.conf /etc/wireguard/wgproxy.conf >/dev/null 2>&1
sed -i '/PostUp/d;/PostDown/d' /etc/wireguard/wgproxy.conf
green "当前wireguard客户端配置文件wgproxy.conf内容如下保存到 /etc/wireguard/wgproxy.conf\n" && sleep 2
yellow "$(cat /etc/wireguard/wgproxy.conf)\n"
yellow "当前VPS平台优选Endpoint的IP$endpoint\n"