mirror of
https://github.com/2dust/v2rayN.git
synced 2026-03-02 22:23:05 +00:00
Compare commits
2 commits
cc4154bb0d
...
83c63b914a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
83c63b914a | ||
|
|
1ca2485d2a |
3 changed files with 8 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<Project>
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>7.16.4</Version>
|
||||
<Version>7.16.5</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
|
|
|||
|
|
@ -230,6 +230,7 @@ public class ShadowsocksFmt : BaseFmt
|
|||
if (!host.IsNullOrEmpty())
|
||||
{
|
||||
item.RequestHost = host.Replace("host=", "");
|
||||
item.Sni = item.RequestHost;
|
||||
}
|
||||
if (!path.IsNullOrEmpty())
|
||||
{
|
||||
|
|
|
|||
|
|
@ -180,10 +180,15 @@ public partial class CoreConfigV2rayService
|
|||
}
|
||||
case EConfigType.WireGuard:
|
||||
{
|
||||
var address = node.Address;
|
||||
if (Utils.IsIpv6(address))
|
||||
{
|
||||
address = $"[{address}]";
|
||||
}
|
||||
var peer = new WireguardPeer4Ray
|
||||
{
|
||||
publicKey = node.PublicKey,
|
||||
endpoint = node.Address + ":" + node.Port.ToString()
|
||||
endpoint = address + ":" + node.Port.ToString()
|
||||
};
|
||||
var setting = new Outboundsettings4Ray
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue