Browse Source

Chore: comply with V2Ray config

pull/3136/head
loyalsoldier 3 years ago
parent
commit
b52472ebd7
No known key found for this signature in database GPG Key ID: 23829BBC1ACF2C90
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      Shadowsocks.Interop/V2Ray/FakeDnsObject.cs
  2. +3
    -3
      Shadowsocks.Interop/V2Ray/RoutingObject.cs

+ 1
- 1
Shadowsocks.Interop/V2Ray/FakeDnsObject.cs View File

@@ -5,7 +5,7 @@ namespace Shadowsocks.Interop.V2Ray
/// <summary>
/// Gets or sets the IP pool CIDR.
/// </summary>
public string IpPool { get; set; } = "240.0.0.0/8";
public string IpPool { get; set; } = "198.18.0.0/15";

/// <summary>
/// Gets or sets the IP pool size.


+ 3
- 3
Shadowsocks.Interop/V2Ray/RoutingObject.cs View File

@@ -15,7 +15,7 @@ namespace Shadowsocks.Interop.V2Ray
/// <summary>
/// Gets or sets the domain matcher used for routing.
/// Default value: "linear".
/// Available values: "linear" | "hybrid"
/// Available values: "linear" | "mph"
/// </summary>
public string DomainMatcher { get; set; }

@@ -39,13 +39,13 @@ namespace Shadowsocks.Interop.V2Ray
public static RoutingObject Default => new()
{
DomainStrategy = "IPOnDemand",
DomainMatcher = "hybrid",
DomainMatcher = "mph",
};

public static RoutingObject DefaultBalancers => new()
{
DomainStrategy = "IPOnDemand",
DomainMatcher = "hybrid",
DomainMatcher = "mph",
Balancers = new(),
};
}


Loading…
Cancel
Save