mihomo-kit/templates/rules/20-openvpn.yaml
Sam Latsin 2557a9aa49 mihomo-kit: config kit for mihomo on nikki and FlClash
Templates + router script + browser constructor that build mihomo
profiles (router home/street, mobile) with optional OpenVPN (TOTP)
and Tailscale, one-command installer and maintenance commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 00:57:28 +03:00

8 lines
405 B
YAML

# OpenVPN server itself must not go into its own tunnel
- IP-CIDR,${@OVPN_SERVER_IPS}/32,DIRECT,no-resolve #@home
- IP-CIDR,${@OVPN_SERVER_IPS}/32,OVPN-EXIT,no-resolve #@street
- DOMAIN,${OVPN_SERVER_HOST},DIRECT #@home
- DOMAIN,${OVPN_SERVER_HOST},OVPN-EXIT #@street
# networks pushed by the server (before the private-range DIRECT rules)
- IP-CIDR,${@OVPN_ROUTES},${OVPN_GROUP},no-resolve