diff --git a/Sources/NetworkProtection/Routing/VPNRoutingRange.swift b/Sources/NetworkProtection/Routing/VPNRoutingRange.swift index d72f63628..4c94dc51c 100644 --- a/Sources/NetworkProtection/Routing/VPNRoutingRange.swift +++ b/Sources/NetworkProtection/Routing/VPNRoutingRange.swift @@ -34,8 +34,13 @@ public enum VPNRoutingRange { "::1/128", /* loopback */ ] + public static let localNetworkRangeWithoutDNS: [NetworkProtection.IPAddressRange] = [ + "172.16.0.0/12", /* 255.240.0.0 */ + "192.168.0.0/16", /* 255.255.0.0 */ + ] + public static let localNetworkRange: [NetworkProtection.IPAddressRange] = [ - // "10.0.0.0/8", /* 255.0.0.0 */ + "10.0.0.0/8", /* 255.0.0.0 */ "172.16.0.0/12", /* 255.240.0.0 */ "192.168.0.0/16", /* 255.255.0.0 */ ] diff --git a/Sources/NetworkProtection/Routing/VPNRoutingTableResolver.swift b/Sources/NetworkProtection/Routing/VPNRoutingTableResolver.swift index 505aa455a..429cd4c8a 100644 --- a/Sources/NetworkProtection/Routing/VPNRoutingTableResolver.swift +++ b/Sources/NetworkProtection/Routing/VPNRoutingTableResolver.swift @@ -43,7 +43,7 @@ struct VPNRoutingTableResolver { var routes = VPNRoutingRange.alwaysExcludedIPv4Range if excludeLocalNetworks { - routes += VPNRoutingRange.localNetworkRange + routes += VPNRoutingRange.localNetworkRangeWithoutDNS } return routes