mirror of
https://github.com/proxysu/ProxySU.git
synced 2025-04-04 06:13:37 +03:00
Compare commits
12 commits
Author | SHA1 | Date | |
---|---|---|---|
|
201d3da3a5 | ||
|
03f015f8d4 | ||
|
2047f3d480 | ||
|
ba5629bd49 | ||
|
97a1f45abc | ||
|
5cfe086d50 | ||
|
2d5a589bcb | ||
|
332f54224f | ||
|
be74f42f19 | ||
|
d9d9393c5f | ||
|
6e4b3f7c01 | ||
|
703183274b |
26 changed files with 115 additions and 79 deletions
|
@ -28,6 +28,8 @@ namespace ProxySuper.Core.Models.Hosts
|
|||
|
||||
public string PrivateKeyPath { get; set; }
|
||||
|
||||
public string PrivateKeyPassPhrase { get; set; }
|
||||
|
||||
public LocalProxy Proxy { get; set; }
|
||||
|
||||
public LoginSecretType SecretType { get; set; }
|
||||
|
|
|
@ -9,12 +9,14 @@ namespace ProxySuper.Core.Models.Projects
|
|||
{
|
||||
public class XraySettings : V2raySettings
|
||||
{
|
||||
public static List<string> FlowList = new List<string> { "xtls-rprx-origin", "xtls-rprx-origin-udp443", "xtls-rprx-direct", "xtls-rprx-direct-udp443", "xtls-rprx-splice", "xtls-rprx-splice-udp443" };
|
||||
public static List<string> UTLSList = new List<string> { "", "chrome", "firefox", "safari", "randomized" };
|
||||
public static List<string> UTLSList = new List<string> { "", "chrome", "firefox", "safari", "ios", "android", "edge", "360", "qq", "random", "randomized" };
|
||||
|
||||
//流控参数在服务端只有两种 "none", "xtls-rprx-vision",客户端可以选择三种:"none", "xtls-rprx-vision", "xtls-rprx-vision-udp443",但是选择了XTLS模式就是默认flow不为空或者"none",所以这里不再填加"none"这一项。
|
||||
public static List<string> FlowList = new List<string> { "xtls-rprx-vision", "xtls-rprx-vision-udp443" }; //{ "xtls-rprx-origin", "xtls-rprx-origin-udp443", "xtls-rprx-direct", "xtls-rprx-direct-udp443", "xtls-rprx-splice", "xtls-rprx-splice-udp443" };
|
||||
|
||||
public string UTLS { get; set; } = UTLSList[1];
|
||||
|
||||
public string Flow { get; set; } = FlowList[2];
|
||||
public string Flow { get; set; } = FlowList[0];
|
||||
|
||||
/// <summary>
|
||||
/// vless xtls shareLink
|
||||
|
|
|
@ -47,8 +47,8 @@
|
|||
<Reference Include="QRCoder, Version=1.4.3.0, Culture=neutral, PublicKeyToken=c4ed5b9ae8358a28, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\QRCoder.1.4.3\lib\net40\QRCoder.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Renci.SshNet, Version=2020.0.2.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SSH.NET.2020.0.2\lib\net40\Renci.SshNet.dll</HintPath>
|
||||
<Reference Include="Renci.SshNet, Version=2023.0.0.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SSH.NET.2023.0.0\lib\net462\Renci.SshNet.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
|
|
|
@ -802,13 +802,13 @@ namespace ProxySuper.Core.Services
|
|||
if (_host.SecretType == LoginSecretType.PrivateKey)
|
||||
{
|
||||
PrivateKeyFile keyFile;
|
||||
if (string.IsNullOrEmpty(_host.Password))
|
||||
if (string.IsNullOrEmpty(_host.PrivateKeyPassPhrase))
|
||||
{
|
||||
keyFile = new PrivateKeyFile(_host.PrivateKeyPath);
|
||||
}
|
||||
else
|
||||
{
|
||||
keyFile = new PrivateKeyFile(_host.PrivateKeyPath, _host.Password);
|
||||
keyFile = new PrivateKeyFile(_host.PrivateKeyPath, _host.PrivateKeyPassPhrase);
|
||||
}
|
||||
authMethods.Add(new PrivateKeyAuthenticationMethod(_host.UserName, keyFile));
|
||||
}
|
||||
|
|
|
@ -184,7 +184,7 @@ namespace ProxySuper.Core.Services
|
|||
case RayType.VLESS_TCP_XTLS:
|
||||
_protocol = "vless";
|
||||
_type = "tcp";
|
||||
_security = "xtls";
|
||||
_security = "tls";
|
||||
_descriptiveText = "vless-tcp-xtls";
|
||||
break;
|
||||
case RayType.VLESS_WS:
|
||||
|
|
|
@ -79,7 +79,8 @@ namespace ProxySuper.Core.Services
|
|||
}
|
||||
var domain = parameters.MaskDomain
|
||||
.TrimStart("http://".ToCharArray())
|
||||
.TrimStart("https://".ToCharArray());
|
||||
.TrimStart("https://".ToCharArray())
|
||||
.TrimEnd('/');
|
||||
|
||||
caddyStr = caddyStr.Replace("##reverse_proxy##", $"reverse_proxy {prefix}{domain} {{ \n header_up Host {domain} \n }}");
|
||||
}
|
||||
|
@ -103,6 +104,7 @@ namespace ProxySuper.Core.Services
|
|||
}
|
||||
else
|
||||
{
|
||||
flow = "xtls-rprx-vision";//兼容普通tls与xtls
|
||||
obj = new { id = id, flow = flow };
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<package id="Microsoft.Extensions.Logging.Abstractions" version="7.0.0" targetFramework="net472" />
|
||||
<package id="MvvmCross" version="8.0.2" targetFramework="net472" />
|
||||
<package id="QRCoder" version="1.4.3" targetFramework="net472" />
|
||||
<package id="SSH.NET" version="2020.0.2" targetFramework="net472" />
|
||||
<package id="SSH.NET" version="2023.0.0" targetFramework="net472" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net472" />
|
||||
<package id="System.Console" version="4.3.1" targetFramework="net461" />
|
||||
<package id="System.Memory" version="4.5.5" targetFramework="net472" />
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="300" />
|
||||
<RowDefinition Height="330" />
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
|
@ -36,6 +36,7 @@
|
|||
<RowDefinition Height="36" />
|
||||
<RowDefinition Height="36" />
|
||||
<RowDefinition Height="36" />
|
||||
<RowDefinition Height="36" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Grid.ColumnDefinitions>
|
||||
|
@ -105,7 +106,18 @@
|
|||
Converter={StaticResource SecretTypeConverter},
|
||||
ConverterParameter={x:Static host:LoginSecretType.PrivateKey}
|
||||
}"
|
||||
Content="{DynamicResource HostUploadSecretKey}" />
|
||||
Content="{DynamicResource HostUploadSecretKey}" />
|
||||
|
||||
<Label Content="{DynamicResource HostSertTypePrivateKeyPassPhrase}" Grid.Row="7" Grid.Column="0" />
|
||||
<TextBox Grid.Row="7" Grid.Column="1"
|
||||
Width="170"
|
||||
Text="{Binding Host.PrivateKeyPassPhrase}"
|
||||
IsEnabled="{
|
||||
Binding Host.SecretType,
|
||||
Converter={StaticResource SecretTypeConverter},
|
||||
ConverterParameter={x:Static host:LoginSecretType.PrivateKey}
|
||||
}"
|
||||
VerticalContentAlignment="Center" />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
|
||||
|
|
|
@ -116,29 +116,28 @@
|
|||
<TextBox Text="{Binding Path=Domain}" Width="200" />
|
||||
</StackPanel>
|
||||
|
||||
<!--Mask Domain-->
|
||||
<StackPanel Margin="0,15,0,0" Orientation="Horizontal">
|
||||
<Label Content="{DynamicResource XrayMarkDomain}" Width="120" />
|
||||
<TextBox Text="{Binding Path=MaskDomain}" Width="200" />
|
||||
</StackPanel>
|
||||
|
||||
<!--UUID-->
|
||||
<StackPanel Margin="0,15,0,0" Orientation="Horizontal">
|
||||
<Label Content="{DynamicResource XrayUUID}" Width="120" />
|
||||
|
||||
<TextBox Text="{Binding Path=UUID}" Width="200" />
|
||||
|
||||
<Button Margin="5,0,0,0"
|
||||
Padding="12,3"
|
||||
Command="{Binding Path=RandomUuid}"
|
||||
Content="{DynamicResource Random}" />
|
||||
</StackPanel>
|
||||
|
||||
<!--v2ray prot-->
|
||||
<StackPanel Margin="0,15,0,0" Orientation="Horizontal">
|
||||
<Label Content="{DynamicResource V2rayPort}" Width="120" />
|
||||
<TextBox Text="{Binding Path=Port}" Width="120" />
|
||||
<Label Content="{DynamicResource XrayPortDefault}" Foreground="Red" />
|
||||
</StackPanel>
|
||||
<!--#endregion-->
|
||||
|
||||
<!--more params-->
|
||||
<Expander ExpandDirection="Down" Margin="0,10,0,0">
|
||||
<Expander.Header>
|
||||
<TextBlock Text="更多参数" FontWeight="Bold" />
|
||||
<TextBlock Text="{DynamicResource MoreParameters}" FontWeight="Bold" />
|
||||
</Expander.Header>
|
||||
|
||||
<Expander.Content>
|
||||
|
@ -153,6 +152,12 @@
|
|||
VerticalAlignment="Center" />
|
||||
</StackPanel>
|
||||
<!--#endregion-->
|
||||
|
||||
<!--Mask Domain-->
|
||||
<StackPanel Margin="0,15,0,0" Orientation="Horizontal">
|
||||
<Label Content="{DynamicResource XrayMarkDomain}" Width="120" />
|
||||
<TextBox Text="{Binding Path=MaskDomain}" Width="200" />
|
||||
</StackPanel>
|
||||
|
||||
<!--#region VLESS WebSocket Settings -->
|
||||
<!--WebSocket Path-->
|
||||
|
@ -437,13 +442,6 @@
|
|||
<Label Content="{DynamicResource TrojanPassword}" Foreground="CadetBlue" Width="120" />
|
||||
<TextBox Text="{Binding Path=TrojanPassword}" Width="200" />
|
||||
</StackPanel>
|
||||
|
||||
<!--v2ray prot-->
|
||||
<StackPanel Margin="0,15,0,0" Orientation="Horizontal">
|
||||
<Label Content="{DynamicResource V2rayPort}" Foreground="Gray" Width="120" />
|
||||
<TextBox Text="{Binding Path=Port}" Width="120" />
|
||||
<Label Content="{DynamicResource XrayPortDefault}" Foreground="Red" />
|
||||
</StackPanel>
|
||||
<!--#endregion-->
|
||||
|
||||
<!--#region Multiple Users Settings -->
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
|
||||
<StackPanel Orientation="Horizontal" Margin="0,10,0,0">
|
||||
<Label Content="传输安全(tls)" Width="140" />
|
||||
<TextBox Text="xtls" IsReadOnly="True" Width="300" />
|
||||
<TextBox Text="tls" IsReadOnly="True" Width="300" />
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal" Margin="0,10,0,0">
|
||||
|
|
|
@ -145,7 +145,7 @@
|
|||
<!--more params-->
|
||||
<Expander ExpandDirection="Down" Margin="0,10,0,0">
|
||||
<Expander.Header>
|
||||
<TextBlock Text="更多参数" FontWeight="Bold" />
|
||||
<TextBlock Text="{DynamicResource MoreParameters}" FontWeight="Bold" />
|
||||
</Expander.Header>
|
||||
|
||||
<Expander.Content>
|
||||
|
@ -167,7 +167,7 @@
|
|||
Binding Path=Checked_VLESS_TCP_XTLS,
|
||||
Converter={StaticResource VisibleConverter}
|
||||
}">
|
||||
<Label Content="{Binding Path=Flow}" Width="120" VerticalAlignment="Bottom"/>
|
||||
<Label Content="{DynamicResource Flow}" Width="120" VerticalAlignment="Bottom"/>
|
||||
<ComboBox Width="260"
|
||||
VerticalAlignment="Bottom"
|
||||
ItemsSource="{Binding Path=FlowList}"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
mc:Ignorable="d"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
Icon="/Resources/ProxySU.ico"
|
||||
Title="ProxySU" Height="600" Width="1000">
|
||||
Title="ProxySU v4.1.10" Height="600" Width="1000">
|
||||
<Grid>
|
||||
|
||||
</Grid>
|
||||
|
|
|
@ -49,5 +49,5 @@ using System.Windows;
|
|||
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
|
||||
//通过使用 "*",如下所示:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("4.1.6.0")]
|
||||
[assembly: AssemblyFileVersion("4.1.6.0")]
|
||||
[assembly: AssemblyVersion("4.1.10.0")]
|
||||
[assembly: AssemblyFileVersion("4.1.10.0")]
|
||||
|
|
|
@ -44,8 +44,8 @@
|
|||
<Reference Include="QRCoder, Version=1.4.3.0, Culture=neutral, PublicKeyToken=c4ed5b9ae8358a28, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\QRCoder.1.4.3\lib\net40\QRCoder.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Renci.SshNet, Version=2020.0.2.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SSH.NET.2020.0.2\lib\net40\Renci.SshNet.dll</HintPath>
|
||||
<Reference Include="Renci.SshNet, Version=2023.0.0.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SSH.NET.2023.0.0\lib\net462\Renci.SshNet.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<sys:String x:Key="MainDataGridColumnActionViewConfig">ViewConfig</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnActionDelete">Delete</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnActionSortUp">Up</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnActionSortDone">Done</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnActionSortDone">Down</sys:String>
|
||||
|
||||
|
||||
<!--Editor Window-->
|
||||
|
@ -54,6 +54,7 @@
|
|||
<sys:String x:Key="HostUploadSecretKey">UploadKey</sys:String>
|
||||
<sys:String x:Key="HostSertTypePassword">Password</sys:String>
|
||||
<sys:String x:Key="HostSertTypePrivateKey">PrivateKey</sys:String>
|
||||
<sys:String x:Key="HostSertTypePrivateKeyPassPhrase">PKPassword</sys:String>
|
||||
|
||||
|
||||
<sys:String x:Key="ProxyGroupName">Proxy</sys:String>
|
||||
|
@ -118,6 +119,7 @@
|
|||
<sys:String x:Key="V2rayPort">v2ray Port</sys:String>
|
||||
<sys:String x:Key="XrayPort">xray Port</sys:String>
|
||||
<sys:String x:Key="XrayPortDefault">default port is 443</sys:String>
|
||||
<sys:String x:Key="MoreParameters">More Parameters</sys:String>
|
||||
|
||||
<!--xray installer-->
|
||||
<sys:String x:Key="XrayInstallerInstall">Install</sys:String>
|
||||
|
|
|
@ -3,20 +3,20 @@
|
|||
xmlns:sys="clr-namespace:System;assembly=mscorlib">
|
||||
|
||||
<!--common-->
|
||||
<sys:String x:Key="Random">Random</sys:String>
|
||||
<sys:String x:Key="Random">تصادفی</sys:String>
|
||||
<sys:String x:Key="Save">ذخیره</sys:String>
|
||||
<sys:String x:Key="SaveAndInstall">ذخیره و نصب</sys:String>
|
||||
<sys:String x:Key="SaveAs">ذخیره به عنوان</sys:String>
|
||||
<sys:String x:Key="Install">نصب</sys:String>
|
||||
<sys:String x:Key="Settings">تنظیمات</sys:String>
|
||||
<sys:String x:Key="ReadmeWebsiteDemo">The following is a static web page connection provided by netizens, please check whether there is an index.html file by yourself</sys:String>
|
||||
<sys:String x:Key="ReadmeWebsiteDemo">موارد زیر یک اتصال صفحه وب ثابت است که توسط کاربران اینترنتی ارائه شده است، لطفاً بررسی کنید که آیا فایل index.html توسط خودتان وجود دارد یا خیر.</sys:String>
|
||||
|
||||
<!--Main Menu-->
|
||||
<sys:String x:Key="MainMenuAddHost">Add Host</sys:String>
|
||||
<sys:String x:Key="MainMenuActions">Actions</sys:String>
|
||||
<sys:String x:Key="MainMenuActionsExportSettings">Export Settings</sys:String>
|
||||
<sys:String x:Key="MainMenuActionsExportSubscribe">Export Subscribe</sys:String>
|
||||
<sys:String x:Key="MainMenuActionsGetRoot">Get Root</sys:String>
|
||||
<sys:String x:Key="MainMenuAddHost">میزبان اضافه کنید</sys:String>
|
||||
<sys:String x:Key="MainMenuActions">عمل کنند</sys:String>
|
||||
<sys:String x:Key="MainMenuActionsExportSettings">پیکربندی صادرات</sys:String>
|
||||
<sys:String x:Key="MainMenuActionsExportSubscribe">اشتراک صادرات</sys:String>
|
||||
<sys:String x:Key="MainMenuActionsGetRoot">اکانت روت را فعال کنید</sys:String>
|
||||
|
||||
<sys:String x:Key="MainMenuLanguage">زبان(Language)</sys:String>
|
||||
<sys:String x:Key="MainMenuLanguageEn">English</sys:String>
|
||||
|
@ -24,23 +24,23 @@
|
|||
<sys:String x:Key="MainMenuLanguageTw">正體</sys:String>
|
||||
<sys:String x:Key="MainMenuLanguageFr">فارسی</sys:String>
|
||||
|
||||
<sys:String x:Key="MainMenuHelper">Helper</sys:String>
|
||||
<sys:String x:Key="MainMenuHelper">یاور</sys:String>
|
||||
<sys:String x:Key="MainMenuHelperGithub">Github</sys:String>
|
||||
<sys:String x:Key="MainMenuHelperUseRoot">UseRoot</sys:String>
|
||||
<sys:String x:Key="MainMenuHelperCertQuestion">CertQuestion</sys:String>
|
||||
<sys:String x:Key="MainMenuHelperPrivateKey">PrivateKey</sys:String>
|
||||
<sys:String x:Key="MainMenuHelperUseRoot">اکانت روت را فعال کنید</sys:String>
|
||||
<sys:String x:Key="MainMenuHelperCertQuestion">در مورد گواهینامه</sys:String>
|
||||
<sys:String x:Key="MainMenuHelperPrivateKey">در مورد سوال</sys:String>
|
||||
|
||||
<!--Main DataGrid-->
|
||||
<sys:String x:Key="MainDataGridColumnTag">برچسب</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnAddress">آدرس</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnType">نوع</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnAction">Action</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnAction">عمل کنند</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnActionInstall">نصب</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnActionEdit">ویرایش</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnActionViewConfig">ViewConfig</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnActionDelete">Delete</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnActionSortUp">Up</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnActionSortDone">Done</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnActionViewConfig">مشاهده پیکربندی</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnActionDelete">حذف</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnActionSortUp">بالاا</sys:String>
|
||||
<sys:String x:Key="MainDataGridColumnActionSortDone">پایین</sys:String>
|
||||
|
||||
|
||||
<!--Editor Window-->
|
||||
|
@ -50,10 +50,11 @@
|
|||
<sys:String x:Key="HostUserName">نام کاربری</sys:String>
|
||||
<sys:String x:Key="HostPassword">رمز عبور</sys:String>
|
||||
<sys:String x:Key="HostPort">پورت</sys:String>
|
||||
<sys:String x:Key="HostSecretType">SecretType</sys:String>
|
||||
<sys:String x:Key="HostUploadSecretKey">UploadKey</sys:String>
|
||||
<sys:String x:Key="HostSecretType">نوع تأیید ورود</sys:String>
|
||||
<sys:String x:Key="HostUploadSecretKey">کلید آپلود</sys:String>
|
||||
<sys:String x:Key="HostSertTypePassword">رمز عبور</sys:String>
|
||||
<sys:String x:Key="HostSertTypePrivateKey">PrivateKey</sys:String>
|
||||
<sys:String x:Key="HostSertTypePrivateKey">کلید خصوصی</sys:String>
|
||||
<sys:String x:Key="HostSertTypePrivateKeyPassPhrase">رمز عبور PK</sys:String>
|
||||
|
||||
|
||||
<sys:String x:Key="ProxyGroupName">پروکسی</sys:String>
|
||||
|
@ -90,8 +91,8 @@
|
|||
<sys:String x:Key="XrayUUID">UUID</sys:String>
|
||||
<sys:String x:Key="Flow">Flow</sys:String>
|
||||
<sys:String x:Key="UTLS">uTLS</sys:String>
|
||||
<sys:String x:Key="MultiUser">Multi User</sys:String>
|
||||
<sys:String x:Key="MultiUserHelp">Multi Id split with ","</sys:String>
|
||||
<sys:String x:Key="MultiUser">چند کاربره</sys:String>
|
||||
<sys:String x:Key="MultiUserHelp">چند شناسه تقسیم با ","</sys:String>
|
||||
<sys:String x:Key="VlessWsPath">VLESS WS Path</sys:String>
|
||||
<sys:String x:Key="VlessKcpSeed">VLESS KCP Seed</sys:String>
|
||||
<sys:String x:Key="VlessKcpType">VLESS KCP Type</sys:String>
|
||||
|
@ -115,9 +116,10 @@
|
|||
<sys:String x:Key="SSPort">SS Port</sys:String>
|
||||
<sys:String x:Key="TrojanPassword">Trojan Pwd</sys:String>
|
||||
<sys:String x:Key="TrojanPort">پورت تروجان</sys:String>
|
||||
<sys:String x:Key="V2rayPort">v2ray Port</sys:String>
|
||||
<sys:String x:Key="XrayPort">xray Port</sys:String>
|
||||
<sys:String x:Key="XrayPortDefault">default port is 443</sys:String>
|
||||
<sys:String x:Key="V2rayPort">v2ray بندر</sys:String>
|
||||
<sys:String x:Key="XrayPort">xray بندر</sys:String>
|
||||
<sys:String x:Key="XrayPortDefault">پورت پیش فرض 443 است</sys:String>
|
||||
<sys:String x:Key="MoreParameters">پارامترهای بیشتر</sys:String>
|
||||
|
||||
<!--xray installer-->
|
||||
<sys:String x:Key="XrayInstallerInstall">نصب</sys:String>
|
||||
|
|
|
@ -55,6 +55,7 @@
|
|||
<sys:String x:Key="HostUploadSecretKey">上傳Key</sys:String>
|
||||
<sys:String x:Key="HostSertTypePassword">密碼</sys:String>
|
||||
<sys:String x:Key="HostSertTypePrivateKey">私鑰</sys:String>
|
||||
<sys:String x:Key="HostSertTypePrivateKeyPassPhrase">私鑰密碼</sys:String>
|
||||
|
||||
<sys:String x:Key="ProxyGroupName">代理</sys:String>
|
||||
<sys:String x:Key="ProxyAddress">IP/地址</sys:String>
|
||||
|
@ -119,6 +120,7 @@
|
|||
<sys:String x:Key="V2rayPort">V2ray端口</sys:String>
|
||||
<sys:String x:Key="XrayPort">XRAY端口</sys:String>
|
||||
<sys:String x:Key="XrayPortDefault">默認端口443,不建議修改</sys:String>
|
||||
<sys:String x:Key="MoreParameters">更多參數</sys:String>
|
||||
|
||||
<!--xray installer-->
|
||||
<sys:String x:Key="XrayInstallerInstall">一鍵安裝</sys:String>
|
||||
|
|
|
@ -56,6 +56,7 @@
|
|||
<sys:String x:Key="HostUploadSecretKey">上传Key</sys:String>
|
||||
<sys:String x:Key="HostSertTypePassword">密码</sys:String>
|
||||
<sys:String x:Key="HostSertTypePrivateKey">私钥</sys:String>
|
||||
<sys:String x:Key="HostSertTypePrivateKeyPassPhrase">私钥密码</sys:String>
|
||||
|
||||
<sys:String x:Key="ProxyGroupName">代理</sys:String>
|
||||
<sys:String x:Key="ProxyAddress">IP/地址</sys:String>
|
||||
|
@ -120,6 +121,7 @@
|
|||
<sys:String x:Key="V2rayPort">V2ray端口</sys:String>
|
||||
<sys:String x:Key="XrayPort">XRAY端口</sys:String>
|
||||
<sys:String x:Key="XrayPortDefault">默认端口443,不建议修改</sys:String>
|
||||
<sys:String x:Key="MoreParameters">更多参数</sys:String>
|
||||
|
||||
<!--xray installer-->
|
||||
<sys:String x:Key="XrayInstallerInstall">一键安装</sys:String>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"clients": [
|
||||
{
|
||||
"id": "",
|
||||
"flow": "xtls-rprx-direct"
|
||||
"flow": "xtls-rprx-vision"
|
||||
}
|
||||
],
|
||||
"decryption": "none",
|
||||
|
@ -13,15 +13,13 @@
|
|||
},
|
||||
"streamSettings": {
|
||||
"network": "tcp",
|
||||
"security": "xtls",
|
||||
"xtlsSettings": {
|
||||
"allowInsecure": false,
|
||||
"security": "tls",
|
||||
"tlsSettings": {
|
||||
"rejectUnknownSni": true,
|
||||
"minVersion": "1.2",
|
||||
"alpn": [
|
||||
"http/1.1"
|
||||
],
|
||||
"certificates": [
|
||||
{
|
||||
"ocspStapling": 3600,
|
||||
"certificateFile": "/usr/local/etc/xray/ssl/xray_ssl.crt",
|
||||
"keyFile": "/usr/local/etc/xray/ssl/xray_ssl.key"
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
BorderBrush="#eee"
|
||||
Icon="/Resources/ProxySU.ico"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
Title="BrookEditorView" Height="600" Width="1000">
|
||||
Title="BrookEditorView" Height="640" Width="1000">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="310" />
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
BorderBrush="#eee"
|
||||
Icon="/Resources/ProxySU.ico"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
Title="Hysteria编辑配置" Height="600" Width="1000">
|
||||
Title="Hysteria编辑配置" Height="640" Width="1000">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="310" />
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
BorderBrush="#eee"
|
||||
Icon="/Resources/ProxySU.ico"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
Title="MTProto-Go编辑配置" Height="600" Width="1000">
|
||||
Title="MTProto-Go编辑配置" Height="640" Width="1000">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="310" />
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
BorderBrush="#eee"
|
||||
Icon="/Resources/ProxySU.ico"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
Title="NaiveProxy编辑配置" Height="600" Width="1000">
|
||||
Title="NaiveProxy编辑配置" Height="640" Width="1000">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="310" />
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
BorderBrush="#eee"
|
||||
Icon="/Resources/ProxySU.ico"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
Title="Trojan-Go编辑配置" Height="600" Width="1000">
|
||||
Title="Trojan-Go编辑配置" Height="640" Width="1000">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="310" />
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<package id="MvvmCross" version="8.0.2" targetFramework="net472" />
|
||||
<package id="MvvmCross.Platforms.Wpf" version="8.0.2" targetFramework="net472" />
|
||||
<package id="QRCoder" version="1.4.3" targetFramework="net472" />
|
||||
<package id="SSH.NET" version="2020.0.2" targetFramework="net472" />
|
||||
<package id="SSH.NET" version="2023.0.0" targetFramework="net472" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net472" />
|
||||
<package id="System.Console" version="4.3.1" targetFramework="net461" />
|
||||
<package id="System.Memory" version="4.5.5" targetFramework="net472" />
|
||||
|
|
24
README.md
24
README.md
|
@ -1,10 +1,13 @@
|
|||
# ProxySU
|
||||
V2ray, Xray, Trojan, NaiveProxy, Trojan-Go, MTProto Go, Brook,BBR install tools for windows。
|
||||
V2ray,Xray, Trojan,NaiveProxy, Trojan-Go, MTProto Go, Brook 及相关插件。支持纯ipv6主机一键安装代理。
|
||||
BBR一键开启(仅支持CentOS8/Debian9/10/Ubuntu18.04及以上),支持语言:English、简体中文、正体(繁体)中文。
|
||||
BBR一键开启(仅支持CentOS8/Debian9/10/Ubuntu18.04及以上),支持语言:English、简体中文、正体(繁体)中文,波斯语。
|
||||
|
||||
编译环境Visual Studio 2019 使用WPF界面。可一键安装 V2ray/Xray, Shadowsocks, Trojan, Trojan-Go, NaiveProxy, MTProto Go, Brook 后续还会再添加其他。
|
||||
|
||||
零基础用户,强烈建议看一下[Xray官网](https://xtls.github.io)的[小小白白话文-自建教程](https://xtls.github.io/document/level-0)。
|
||||
更多相关资源与工具请看本项目Wiki[资源和工具](https://github.com/proxysu/ProxySU/wiki/%E8%B5%84%E6%BA%90%E5%92%8C%E5%B7%A5%E5%85%B7)。
|
||||
|
||||

|
||||

|
||||
|
||||
|
@ -15,8 +18,9 @@ BBR一键开启(仅支持CentOS8/Debian9/10/Ubuntu18.04及以上),支持语
|
|||
#### 再次声明:
|
||||
##### ProxySU本着技术中立的原则,没有任何立场,也不持任何见解,更不涉及任何政治因素。ProxySU仅仅主张人的知情权,这是一项天赋人权,也是各国宪法所保障的最基本人权。知情权包含对同一事物正负两方面评价的知情,至于相信哪个,由人自己选择。正如李文亮医生临终所言:一个正常的社会是不应该只有一种声音的。如果真的存在对某一事物只有一种声音的评价,无论其评价是正面还是负面,都是要慎重对待,并需要重新审视的。
|
||||
|
||||
##### 上传自有证书 #####
|
||||
需要将crt和key文件打包成zip,在安装界面选择“上传自有证书”
|
||||
|
||||
##### 代理版本的选择
|
||||
多数情况下,ProxySU安装代理工具的Latest版。
|
||||
|
||||
##### 支持的VPS系统为:
|
||||
* CentOS 7/8
|
||||
|
@ -58,7 +62,14 @@ ProxySU调用[SSH.NET](https://github.com/sshnet/SSH.NET)库登录远程主机
|
|||
* RSA in OpenSSL PEM and ssh.com format
|
||||
* DSA in OpenSSL PEM and ssh.com format
|
||||
* ECDSA 256/384/521 in OpenSSL PEM format
|
||||
* ED25519 in OpenSSH key format
|
||||
* ECDSA 256/384/521, ED25519 and RSA in OpenSSH key format
|
||||
可以使用以下密码方法之一对私钥进行加密:
|
||||
* DES-EDE3-CBC
|
||||
* DES-EDE3-CFB
|
||||
* DES-CBC
|
||||
* AES-128-CBC
|
||||
* AES-192-CBC
|
||||
* AES-256-CBC
|
||||
见官方说明:
|
||||
https://github.com/sshnet/SSH.NET#public-key-authentication
|
||||
如果当前拥有的密钥格式不是以上几种,可以下载[puttygen](https://www.puttygen.com/)工具,将其转换成上面的格式。
|
||||
|
@ -79,6 +90,9 @@ Let's Encrypt证书申请频率的限制
|
|||
同一IP地址,在短时间内过于频繁的申请证书,也会被限制,此时更换域名也无法申请成功,只能等待一段时间,或者更换Ip.
|
||||
(网友分享)
|
||||
|
||||
##### 上传自有证书 #####
|
||||
需要将crt和key文件打包成zip,在安装界面选择“上传自有证书”
|
||||
|
||||
##### 关于卸载功能
|
||||
有网友要求,可以卸载其他方法安装的,经过考虑,还是不这样做。1,容易引起争议。2,不容易卸载干净,在用ProxySU安装时可能还会出错。所以第一次使用ProxySU建议使用全新系统,如果以前安装过代理程序,请尽可能将系统重装一下,可以减少很多安装的错误和冲突。
|
||||
|
||||
|
@ -108,7 +122,7 @@ Microsoft [.NET Framework 4.8](https://dotnet.microsoft.com/download/dotnet-fram
|
|||
|
||||
在使用遇到问题时,请先看一下[常见问题集锦](https://github.com/proxysu/windows/wiki/CommonError),如果还不能解决,可以到以上平台询问,个人精力有限,尽力解答。
|
||||
|
||||
下版本添加 【Hysteria】
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue