diff --git a/README.md b/README.md index 280ff65..61caf25 100644 --- a/README.md +++ b/README.md @@ -3,38 +3,36 @@ ProxyAdmin is a powerful web console of [snail007/goproxy](https://github.com/sn
-[中文简介](/README_ZH.md) - -[snail007/goproxy manual](https://snail007.github.io/goproxy/manual/#/) +[中文简介](/README_ZH.md) | [snail007/goproxy manual](https://snail.gitee.io/proxy/manual/zh) ## Preview ### HTTP(S) Proxies -![](/res/images/http_en.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/http_en.gif) ### Socks5 Proxies -![](/res/images/socks5_en.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/socks5_en.gif) ### Internal NAT -![](/res/images/nat_en.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/nat_en.gif) ### Remote Desktop - VNC & Web-SSH -![](/res/images/rdp.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/rdp.gif) ### DIY Service -![](/res/images/diy_en.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/diy_en.gif) ### Client Arguments -![](/res/images/client_args.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/client_args.gif) ### View Logging -![](/res/images/logging.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/logging.gif) ### Debug Mode -![](/res/images/debugging.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/debugging.gif) ### Full Demo -![](/res/images/demo_cn.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/demo_cn.gif) ## Start Using @@ -45,7 +43,7 @@ If your VPS is a Linux 64-bit system, you only need to execute the following sen Tip: All operations require root privileges. ```shell -curl -L https://raw.githubusercontent.com/snail007/proxy_admin_free/master/install_auto.sh | bash +curl -L https://mirrors.host900.com/https://raw.githubusercontent.com/snail007/proxy_admin_free/master/install_auto.sh | bash ``` The installation is complete, the configuration directory is /etc/gpa. For more detailed usage, please refer to the manual directory above to learn more about the features you want to use. @@ -71,7 +69,7 @@ The root account is executed: The administrator opens goproxy_helper.exe and can install/uninstall/restart the service with one click. -![](/res/images/gh.png) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/gh.png) 2. Command line installation diff --git a/README_ZH.md b/README_ZH.md index e3bcc5e..02e286d 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -3,9 +3,9 @@ ProxyAdmin 是强大的代理服务工具 [snail007/goproxy](https://github.com/
-[English](/README_ZH.md) +[Manual](https://snail.gitee.io/proxy/manual/) | [参考手册](https://snail.gitee.io/proxy/manual/zh/) -[snail007/goproxy 手册](https://snail007.github.io/goproxy/manual/zh) +手册同时适用于命令行goproxy和proxyadmin面板,控制面板只是命令行goproxy的界面化,使用参数完全一样。 ## 加入我们 @@ -14,31 +14,31 @@ ProxyAdmin 是强大的代理服务工具 [snail007/goproxy](https://github.com/ ## 预览 ### HTTP(S)代理 -![](/res/images/http_cn.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/http_cn.gif) ### Socks5代理 -![](/res/images/socks5_cn.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/socks5_cn.gif) ### 内网穿透 -![](/res/images/nat_cn.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/nat_cn.gif) ### 远程桌面-VNC & Web-SSH -![](/res/images/rdp.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/rdp.gif) ### 自定义服务 -![](/res/images/diy_cn.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/diy_cn.gif) ### 客户端连接参数 -![](/res/images/client_args.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/client_args.gif) ### 实时日志 -![](/res/images/logging.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/logging.gif) ### 调试模式 -![](/res/images/debugging.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/debugging.gif) ### 全功能演示 -![](/res/images/demo_cn.gif) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/demo_cn.gif) ## 开始使用 @@ -55,13 +55,13 @@ ProxyAdmin 是强大的代理服务工具 [snail007/goproxy](https://github.com/ ##### 免费版执行这个哟: ```shell -curl -L https://mirrors.host900.com/snail007/proxy_admin_free/install_auto.sh | bash +curl -L https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/install_auto.sh | bash ``` ##### VIP版执行这个: ```shell -curl -L https://mirrors.host900.com/snail007/proxy-admin-vip/install_auto.sh | bash +curl -L https://mirrors.host900.com/https://github.com/snail007/proxy-admin-vip/blob/master/install_auto.sh | bash ``` 安装完成,配置目录是/etc/gpa,更详细的使用方法请参考上面的手册目录,进一步了解你想要使用的功能。 @@ -72,11 +72,11 @@ curl -L https://mirrors.host900.com/snail007/proxy-admin-vip/install_auto.sh | b #### 免费版下载 -选择适合你的系统的文件并下载,[点击进入下载](https://mirrors.host900.com/snail007/proxy_admin_free/) +选择适合你的系统的文件并下载,[点击进入下载](https://github.com/snail007/proxy_admin_free/releases) #### VIP版本下载 -选择适合你的系统的文件并下载,[点击进入下载](https://mirrors.host900.com/snail007/proxy-admin-vip) +选择适合你的系统的文件并下载,[点击进入下载](https://github.com/snail007/proxy-admin-vip/releases) ### Linux && MacOS @@ -93,7 +93,7 @@ root账号执行: 管理员打开 goproxy_helper.exe,可以一键安装/卸载/重启服务。 -![](/res/images/gh.png) +![](https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/res/images/gh.png) 2. 命令行安装 diff --git a/install_auto.sh b/install_auto.sh index a20dd7d..ffd785a 100755 --- a/install_auto.sh +++ b/install_auto.sh @@ -7,21 +7,11 @@ fi mkdir /tmp/proxy cd /tmp/proxy echo -e "\n>>> downloading ... $F\n" -set +e -CN=$(wget -O - -t 3 --dns-timeout 1 --connect-timeout 2 --read-timeout 2 myip.ipip.net) -if [ "$CN" != "" ];then -CN=$(echo $CN| grep "中国" |grep -v grep) -fi -set -e -manual="" -if [ -z "$CN" ];then -manual="https://snail007.github.io/goproxy/manual/" -LAST_VERSION=$(curl --silent "https://api.github.com/repos/snail007/proxy_admin_free/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")') -wget -t 1 "https://github.com/snail007/proxy_admin_free/releases/download/${LAST_VERSION}/$F" -else + manual="https://snail.gitee.io/proxy/manual/zh/" -wget -t 1 "https://mirrors.host900.com/snail007/proxy_admin_free/$F" -fi +LAST_VERSION=$(curl --silent "https://mirrors.host900.com/https://api.github.com/repos/snail007/proxy_admin_free/releases/latest" | grep -Po '"tag_name":"\K.*?(?=")') +wget -t 1 "https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/releases/download/${LAST_VERSION}/$F" + echo -e ">>> installing ... \n" #install proxy-admin tar zxvf $F >/dev/null 2>&1