diff --git a/Clash/Rule.yaml b/Clash/Rule.yaml index f92e000..8d6ac28 100644 --- a/Clash/Rule.yaml +++ b/Clash/Rule.yaml @@ -108,7 +108,8 @@ script: "PROXY": "Proxy", "Apple": "Apple", "Domestic": "Domestic", - "Domestic IPs": "Domestic" + "Domestic IPs": "Domestic", + "LAN": "DIRECT" } port = int(metadata["dst_port"]) @@ -125,8 +126,6 @@ script: return "DIRECT" code = ctx.geoip(ip) - if code == "LAN": - return "DIRECT" if code == "CN": return "Domestic"