diff --git a/ProxySU/MainWindow.xaml b/ProxySU/MainWindow.xaml index 9f97096..d591ba4 100644 --- a/ProxySU/MainWindow.xaml +++ b/ProxySU/MainWindow.xaml @@ -5,7 +5,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:ProxySU" mc:Ignorable="d" - Title="ProxySU - v2.3.1" Height="675" Width="620"> + Title="ProxySU - v2.4.0" Height="675" Width="650"> @@ -415,6 +415,7 @@ + @@ -466,6 +467,7 @@ + @@ -518,6 +520,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -237,7 +237,7 @@ - + @@ -272,7 +272,7 @@ - + @@ -285,6 +285,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Mode: SSR+TLS+Caddy SSR install + + + Mode: MTProto+TLS + MTProto install + Making domain name: + Recommended https ports 443, 2053, 2083, 2087, 2096, 8443 + The secret key will be randomly generated by the server. - SS one-click installation + SS install SS plug-in library Classic mode Tip: This mode, long time, large traffic use, easy to be blocked and interfered, is not recommended! @@ -140,10 +147,10 @@ QUIC Encryption: Domain name: Mask a website: - Set this item to increase the concealment of the agent (may be empty) + Set this option to increase proxy concealment (can be empty) Strong stability, Caddy2 as the front, hidden proxy feature, recognized as https traffic to the website, the strongest anti-blocking recognition, domain name is required, CDN support based on HTTP/2 transmission. Completely implemented in accordance with the HTTP/2 standard, with Caddy2 as the front, hidden proxy features, H2C protocol forwarding to V2Ray, domain name is required, and CloudFlare CDN is not currently supported - VLESS over TCP with XTLS + fallback and shunt to WHATEVER (ultimate configuration), configured and recommended by rprx boss (author of xtls), configure the following five solutions at the same time on the server side, sharing the same domain name and port 443, WS can pass through CDN.Option 4 has a special configuration, there is no graphics client support at present, you can use the official V2Ray client. + VLESS over TCP with XTLS + fallback and shunt to WHATEVER (ultimate configuration), configured and recommended by rprx boss (author of xtls), configure the following five solutions at the same time on the server side, sharing the same domain name and port 443, WS can pass through CDN. Encrypted data transmission will be recognized as unknown tcp traffic TCP+Http camouflage Encrypted data transmission and HTTP disguise will be recognized as http traffic, but not real http access @@ -207,6 +214,16 @@ "Can be used for ShadowRocket (ios), ignore (Android), Trojan-QT5 (windows) to scan codes and import URLs. Note: Some clients may not support WebSocket mode." URL import link for NaiveGUI (windows) Used to scan codes and import URL import links for ShadowsocksR (windows), SSRR (android), Shadowrocket (ios) + For mobile phone client shadowsocks(android), Shadowrocket(ios) scan code and URL import link + For the computer client Shadowsocks (windows) scan code and URL import link + Scan code and URL import link for Shadowsocks (windows), shadowsocks(android), Shadowrocket(ios) + Reminder: The import format of the computer client Shadowsocks (windows) and the mobile client shadowsocks (android) and Shadowrocket (ios) are not compatible. Please select the corresponding format. + Mobile phone + Computer side + TG format QR + TG format URL (double-click to copy to the clipboard) + T.ME format QR + T.ME format URL (double-click to copy to the clipboard) Host address, host port, and user name are required and cannot be empty!! The login password is required and cannot be empty!! diff --git a/ProxySU/Translations/ProxySU.zh-CN.xaml b/ProxySU/Translations/ProxySU.zh-CN.xaml index 8423b23..9148044 100644 --- a/ProxySU/Translations/ProxySU.zh-CN.xaml +++ b/ProxySU/Translations/ProxySU.zh-CN.xaml @@ -57,6 +57,13 @@ 模式:SSR+TLS+Caddy SSR一键安装 + + 模式:MTProto+TLS + MTProto一键安装 + 伪装域名: + 推荐用常见https端口443、2053、2083、2087、2096、8443 + 密钥将由服务端随机生成,这里无需设置。 + SS 一键安装 SS 插件库 @@ -150,7 +157,7 @@ 设置此项可增加代理的隐蔽(可为空) 稳定性强,Caddy2做前置,隐藏代理特征,被识别为访问网站的https流量,抗封锁识别最强,需要域名,支持CDN 基于 HTTP/2 传输。完整按 HTTP/2 标准实现,Caddy2做前置,隐藏代理特征,H2C协议转发到V2Ray,需要域名,暂不支持CloudFlare的CDN - VLESS over TCP with XTLS + 回落 and 分流 to WHATEVER(终极配置),由rprx大佬 (xtls作者) 配置并推荐,在服务端同时配置以下五种方案,共用同一域名与443端口,其中 WS 都可以通过 CDN。方案4 配置特别,目前尚无图形客户端支持,可使用V2Ray官方客户端。 + VLESS over TCP with XTLS + 回落 and 分流 to WHATEVER(终极配置),由rprx大佬 (xtls作者) 配置并推荐,在服务端同时配置以下五种方案,共用同一域名与443端口,其中 WS 都可以通过 CDN。 TCP+Http伪装 数据加密传输,会被识别为未知的tcp流量 数据加密传输,并做http伪装,会被识别为http流量,但并不是真正的http访问 @@ -221,6 +228,10 @@ 提醒: 电脑客户端Shadowsocks (windows)与手机客户端shadowsocks(android)、Shadowrocket(ios)的导入格式不兼容,请选择相应格式。 手机端 电脑端 + TG格式QR + TG格式URL(双击复制到剪切板中) + T.ME格式QR + T.ME格式URL(双击复制到剪切板中) 主机地址、主机端口、用户名为必填项,不能为空!! diff --git a/ProxySU/Translations/ProxySU.zh-TW.xaml b/ProxySU/Translations/ProxySU.zh-TW.xaml index fc3ad9a..262e604 100644 --- a/ProxySU/Translations/ProxySU.zh-TW.xaml +++ b/ProxySU/Translations/ProxySU.zh-TW.xaml @@ -56,7 +56,14 @@ 模式:SSR+TLS+Caddy SSR一鍵安裝 - + + + 模式:MTProto+TLS + MTProto一鍵安裝 + 偽裝域名: + 推薦用常見https端口443、2053、2083、2087、2096、8443 + 密鑰將由服務端隨機生成,這裡無需設置。 + SS 一鍵安裝 SS 插件庫 @@ -145,7 +152,7 @@ 設置此項可增加代理的隱蔽(可為空) 穩定性強,Caddy2做前置,隱藏代理特徵,被識別為訪問網站的https流量,抗封鎖識別最強,需要域名,支持CDN 基於 HTTP/2 傳輸。完整按 HTTP/2 標準實現,Caddy2做前置,隱藏代理特徵,H2C協議轉發到V2Ray,需要域名,暫不支持CloudFlare的CDN - VLESS over TCP with XTLS + 回落and 分流to WHATEVER(終極配置),由rprx大佬(xtls作者)配置並推薦,在服務端同時配置以下五種方案,共用同一域名與443端口,其中 WS 都可以通過 CDN。方案4 配置特別,目前尚無圖形客戶端支持,可使用V2Ray官方客戶端。 + VLESS over TCP with XTLS + 回落and 分流to WHATEVER(終極配置),由rprx大佬(xtls作者)配置並推薦,在服務端同時配置以下五種方案,共用同一域名與443端口,其中 WS 都可以通過 CDN。 數據加密傳輸,會被識別為未知的tcp流量 TCP+Http偽裝 數據加密傳輸,並做http偽裝,會被識別為http流量,但並不是真正的http訪問 @@ -209,6 +216,16 @@ "可用於ShadowRocket (ios)、igniter(Android)、Trojan-QT5 (windows) 掃碼和導入url。注意:有的客戶端可能不支持WebSocket模式。" 用於NaiveGUI(windows)的URL導入鏈接 用於ShadowsocksR(windows)、SSRR(android)、Shadowrocket(ios)的掃碼和導入URL導入鏈接 + 用於手機客戶端shadowsocks(android)、Shadowrocket(ios)的掃碼和URL導入鏈接 + 用於電腦客戶端Shadowsocks (windows)的掃碼和URL導入鏈接 + 用於Shadowsocks (windows)、shadowsocks(android)、Shadowrocket(ios)的掃碼和URL導入鏈接 + 提醒: 電腦客戶端Shadowsocks (windows)與手機客戶端shadowsocks(android)、Shadowrocket(ios)的導入格式不兼容,請選擇相應格式。 + 手機端 + 電腦端 + TG格式QR + TG格式URL(雙擊複製到剪切板中) + T.ME格式QR + T.ME格式URL(雙擊複製到剪切板中) 主機地址、主機端口、用戶名為必填項,不能為空!! 登錄密碼為必填項,不能為空!! diff --git a/ProxySU/V2RayTemplateWindow.xaml.cs b/ProxySU/V2RayTemplateWindow.xaml.cs index bdea4c5..80e45b7 100644 --- a/ProxySU/V2RayTemplateWindow.xaml.cs +++ b/ProxySU/V2RayTemplateWindow.xaml.cs @@ -224,6 +224,8 @@ namespace ProxySU //传递域名 MainWindow.ReceiveConfigurationParameters[4] = TextBoxDomain.Text.ToString(); + //传递混淆方式(VMESS TCP Path方式所用) + MainWindow.ReceiveConfigurationParameters[5] = "http"; //传递伪装网站 MainWindow.ReceiveConfigurationParameters[7] = TextBoxMaskSites.Text.ToString(); //处理伪装网站域名中的前缀 diff --git a/ProxySU/bin/Beta/Beta.zip b/ProxySU/bin/Beta/Beta.zip index 72401fa..e09d696 100644 Binary files a/ProxySU/bin/Beta/Beta.zip and b/ProxySU/bin/Beta/Beta.zip differ diff --git a/README.md b/README.md index 1d9d0a7..3de68af 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ [v2ray的TLS流量可被简单特征码匹配精准识别](https://github.com/v2ray/discussion/issues/704) # ProxySU -V2ray, Trojan, NaiveProxy, Trojan-Go, ShadowsocksR(SSR),Shadowsocks-libev and Plugins,BBR install tools for windows。 -V2ray,Trojan,NaiveProxy, Trojan-Go, ShadowsocksR(SSR),Shadowsocks-libev及相关插件 一键安装工具。 +V2ray, Trojan, NaiveProxy, Trojan-Go, ShadowsocksR(SSR),Shadowsocks-libev and Plugins,MTProto+TLS,BBR install tools for windows。 +V2ray,Trojan,NaiveProxy, Trojan-Go, ShadowsocksR(SSR),Shadowsocks-libev及相关插件,MTProto+TLS 一键安装工具。 BBR一键开启(仅支持CentOS8/Debian9/10/Ubuntu18.04及以上),支持语言:English、简体中文、正体(繁体)中文。 编译环境Visual Studio 2017 使用WPF界面。可一键安装V2ray、Trojan、NaiveProxy,Trojan-Go,ShadowsocksR(SSR),Shadowsocks-libev and Plugins 后续还会再添加其他。 @@ -60,6 +60,9 @@ ProxySU在开发过程中,一般都是在vultr的vps中测试,测试系统 * SS+obfs+http+Web * SS+obfs+TLS+Web +##### MTProto+TLS电报代理一键安装: +* MTProto+TLS + ##### 支持的VPS系统为: * CentOS 7/8 * Debian 8/9/10 (推荐 9) @@ -140,6 +143,7 @@ Let's Encrypt证书申请频率的限制 * 选择NaiveProxy,先安装Caddy2,方法源自[Caddy官方文档](https://caddyserver.com/docs/download)。再用自编译的Caddy2(带forward_proxy插件)替换原来的Caddy运行文件。自编译Caddy2文件方法源自[NaiveProxy官方文档](https://github.com/klzgrad/naiveproxy#setup)。 * 选择SSR+TLS+Caddy模式,则调用本项目内的ssr.sh安装, `curl -o /tmp/ssr.sh https://raw.githubusercontent.com/proxysu/shellscript/master/ssr/ssr.sh` `yes | bash /tmp/ssr.sh -f` 安装SSR。 * 选择Shadowsocks-libev与插件模式,则调用本项目内的ss-install.sh安装,`curl -o /tmp/install.sh https://raw.githubusercontent.com/proxysu/shellscript/master/ss/ss-install.sh` `yes | bash /tmp/install.sh` + * 先择MTProto+TLS模式,则调用本项目内的mtg_install.sh安装,`curl -o /tmp/mtg_install.sh https://raw.githubusercontent.com/proxysu/shellscript/master/MTProto/mtg_install.sh` `yes | bash /tmp/mtg_install.sh` 3. 根据选择读取相应配置模板,调用[Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json)生成相应配置文件,并上传到服务器。所有模板及配置文件 [在这里](https://github.com/proxysu/windows/tree/master/TemplateConfg) 4. 如果使用WebSocket+TLS+Web/http2+TLS+Web/Trojan+TLS+Web/Trojan-go+TLS+Web/SSR+TLS+Caddy/SS+WebSocket+TLS+Caddy/SS+obfs+http+Web/SS+obfs+TLS+Web 模式,则安装Caddy2,方法源自[Caddy官方文档](https://caddyserver.com/docs/download)。 5. 如果使用Http2/tcp+TLS/WebSocket+TLS/Trojan+TLS+Web/Trojan-go+TLS+Web/SS+QUIC模式,则调用 `curl https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh | INSTALLONLINE=1 sh` 安装acme.sh,使用acme.sh申请证书. @@ -167,6 +171,10 @@ Let's Encrypt证书申请频率的限制 [Shadowsocks官方文档](https://shadowsocks.org/) [teddysun大佬的shadowsocks-libev.sh一键脚本](https://github.com/teddysun/shadowsocks_install/blob/master/shadowsocks-libev.sh) +* 注:MTProto+TLS安装与配置文件主要参考自: +[MTProto go语言版](https://github.com/9seconds/mtg/tree/master) + + ## License [(GPL-V3)](https://raw.githubusercontent.com/proxysu/windows/master/LICENSE) diff --git a/TemplateConfg/ss/ss_server_config.json b/TemplateConfg/ss/ss_server_config.json index 6042112..cd115b4 100644 --- a/TemplateConfg/ss/ss_server_config.json +++ b/TemplateConfg/ss/ss_server_config.json @@ -1,13 +1,13 @@ { - "server":"", - "server_port":null, - "password":"", - "timeout":300, - "user":"nobody", - "method":"", - "fast_open":false, - "nameserver":"1.0.0.1", - "mode":"tcp_and_udp", - "plugin":"", - "plugin_opts":"" + "server": "", + "server_port": null, + "password": "", + "timeout": 300, + "user": "nobody", + "method": "", + "fast_open": false, + "nameserver": "1.0.0.1", + "mode": "tcp", + "plugin": "", + "plugin_opts": "" } \ No newline at end of file