# mihomo config for Wang's phone (Shadowrocket / Nextin)
# KhanWebHost Hong Kong NAT VPS — his own machine, the main node.
# Import URL: https://mihomo-404.pages.dev/natkvm.yaml
# Plan: LXC 256M NAT, $5.50/year, paid 2026-11-26, expires 2027-11-24.
# Traffic: 800 GB/month. Shared IPv4 103.73.67.112 (NAT ports 3101-3120),
# dedicated IPv6 2406:ef80:1:5527::115 (all ports open).
# Nodes: VLESS Reality (SNI dl.google.com), BBR on. Two lines, same machine:
# IPv4 is the main line, IPv6 is the backup (needs IPv6 on his network).
# NOTE: Hong Kong IP — no TikTok, no AI services (TikTok left HK in 2020,
# AI services block HK). Use it for YouTube / video / general browsing.
# Same split-routing rules as strawberry.yaml: foreign -> PROXY, CN -> DIRECT.
# Created: 2026-11-26. Keep SEPARATE from `c` (friend's 13) and strawberry.yaml.

mixed-port: 7890
allow-lan: true
mode: rule
log-level: info
ipv6: true

dns:
  enable: true
  nameserver:
    - 114.114.114.114
    - 223.5.5.5

proxies:
  - name: "自建专线"
    type: vless
    server: 103.73.67.112
    port: 3101
    uuid: 582a9dc7-9cdf-4aac-951f-d80bb3ec1f31
    flow: xtls-rprx-vision
    tls: true
    servername: dl.google.com
    network: tcp
    reality-opts:
      public-key: p-TQuFHxdBpnRbU6g1GKahOx7_wFIKfM4v7oMdzPA1M
      short-id: "88"
    client-fingerprint: chrome
    udp: true
    tfo: true
  - name: "自建专线-IPv6"
    type: vless
    server: 2406:ef80:1:5527::115
    port: 3101
    uuid: 582a9dc7-9cdf-4aac-951f-d80bb3ec1f31
    flow: xtls-rprx-vision
    tls: true
    servername: dl.google.com
    network: tcp
    reality-opts:
      public-key: p-TQuFHxdBpnRbU6g1GKahOx7_wFIKfM4v7oMdzPA1M
      short-id: "88"
    client-fingerprint: chrome
    udp: true
    tfo: true

proxy-groups:
  - name: "⚡ 自动选择"
    type: url-test
    url: https://www.gstatic.com/generate_204
    interval: 300
    proxies:
      - 自建专线
      - 自建专线-IPv6
  - name: "PROXY"
    type: select
    proxies:
      - ⚡ 自动选择
      - 自建专线
      - 自建专线-IPv6

rules:
  - DOMAIN-SUFFIX,doppiocdn.com,PROXY
  - DOMAIN-SUFFIX,stripchat.com,PROXY
  - DOMAIN-SUFFIX,stripchats.io,PROXY
  - DOMAIN-SUFFIX,xlivesex.com,PROXY
  - DOMAIN-SUFFIX,stripol.com,PROXY
  - DOMAIN-SUFFIX,mmcdn.com,PROXY
  - DOMAIN-SUFFIX,chaturbate.com,PROXY
  - DOMAIN-SUFFIX,youtube.com,PROXY
  - DOMAIN-SUFFIX,googlevideo.com,PROXY
  - DOMAIN-SUFFIX,google.com,PROXY
  - DOMAIN-SUFFIX,gstatic.com,PROXY
  - DOMAIN-SUFFIX,ytimg.com,PROXY
  - DOMAIN-SUFFIX,ggpht.com,PROXY
  - DOMAIN-SUFFIX,missav.ws,PROXY
  - DOMAIN-SUFFIX,surrit.com,PROXY
  - GEOIP,CN,DIRECT
  - GEOSITE,cn,DIRECT
  - MATCH,DIRECT
