133 lines
4.0 KiB
Plaintext
133 lines
4.0 KiB
Plaintext
config status 'status'
|
|
|
|
config config 'config'
|
|
option 'init' '1'
|
|
option 'enabled' '0'
|
|
option 'scheduled_restart' '0'
|
|
option 'cron_expression' '0 3 * * *'
|
|
option 'profile' 'subscription:subscription'
|
|
option 'mixin' '1'
|
|
option 'test_profile' '1'
|
|
|
|
config proxy 'proxy'
|
|
option 'transparent_proxy' '1'
|
|
option 'tcp_transparent_proxy_mode' 'tproxy'
|
|
option 'udp_transparent_proxy_mode' 'tproxy'
|
|
option 'ipv4_dns_hijack' '1'
|
|
option 'ipv6_dns_hijack' '1'
|
|
option 'ipv4_proxy' '1'
|
|
option 'ipv6_proxy' '0'
|
|
option 'router_proxy' '1'
|
|
option 'lan_proxy' '1'
|
|
option 'access_control_mode' 'all'
|
|
option 'acl_ip' ''
|
|
option 'acl_ip6' ''
|
|
option 'acl_mac' ''
|
|
option 'bypass_china_mainland_ip' '0'
|
|
option 'acl_tcp_dport' '0-65535'
|
|
option 'acl_udp_dport' '0-65535'
|
|
|
|
config subscription 'subscription'
|
|
option 'name' 'default'
|
|
option 'url' 'http://example.com/default.yaml'
|
|
option 'user_agent' 'mihomo'
|
|
|
|
config mixin 'mixin'
|
|
option 'log_level' 'info'
|
|
option 'mode' 'rule'
|
|
option 'match_process' 'off'
|
|
option 'outbound_interface' ''
|
|
option 'ipv6' '0'
|
|
option 'tcp_keep_alive_idle' '600'
|
|
option 'tcp_keep_alive_interval' '15'
|
|
option 'ui_name' 'metacubexd'
|
|
option 'ui_url' 'https://mirror.ghproxy.com/https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip'
|
|
option 'api_port' '9090'
|
|
option 'api_secret' ''
|
|
option 'selection_cache' '1'
|
|
option 'allow_lan' '1'
|
|
option 'http_port' '8080'
|
|
option 'socks_port' '1080'
|
|
option 'mixed_port' '7890'
|
|
option 'redir_port' '7891'
|
|
option 'tproxy_port' '7892'
|
|
option 'authentication' '1'
|
|
option 'tun_stack' 'system'
|
|
option 'tun_mtu' '9000'
|
|
option 'tun_gso' '1'
|
|
option 'tun_gso_max_size' '65536'
|
|
option 'tun_endpoint_independent_nat' '0'
|
|
option 'dns_port' '1053'
|
|
option 'dns_mode' 'fake-ip'
|
|
option 'fake_ip_range' '198.18.0.1/16'
|
|
option 'fake_ip_filter' '0'
|
|
list 'fake_ip_filters' '+.lan'
|
|
list 'fake_ip_filters' '+.local'
|
|
option 'fake_ip_cache' '1'
|
|
option 'dns_respect_rules' '0'
|
|
option 'dns_ipv6' '0'
|
|
option 'dns_system_hosts' '0'
|
|
option 'dns_hosts' '0'
|
|
option 'hosts' '0'
|
|
option 'dns_nameserver' '0'
|
|
option 'dns_nameserver_policy' '0'
|
|
option 'geoip_format' 'dat'
|
|
option 'geodata_loader' 'memconservative'
|
|
option 'geosite_url' 'https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat'
|
|
option 'geoip_mmdb_url' 'https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.metadb'
|
|
option 'geoip_dat_url' 'https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat'
|
|
option 'geoip_asn_url' 'https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/GeoLite2-ASN.mmdb'
|
|
option 'geox_auto_update' '0'
|
|
option 'geox_update_interval' '24'
|
|
|
|
config authentication
|
|
option 'enabled' '1'
|
|
option 'username' 'mihomo'
|
|
option 'password' ''
|
|
|
|
config host
|
|
option 'enabled' '0'
|
|
option 'domain_name' 'localhost'
|
|
list 'ip' '127.0.0.1'
|
|
list 'ip' '::1'
|
|
|
|
config nameserver
|
|
option 'enabled' '1'
|
|
option 'type' 'default-nameserver'
|
|
list 'nameserver' '223.5.5.5'
|
|
list 'nameserver' '119.29.29.29'
|
|
|
|
config nameserver
|
|
option 'enabled' '1'
|
|
option 'type' 'proxy-server-nameserver'
|
|
list 'nameserver' 'https://dns.alidns.com/dns-query'
|
|
list 'nameserver' 'https://doh.pub/dns-query'
|
|
|
|
config nameserver
|
|
option 'enabled' '1'
|
|
option 'type' 'nameserver'
|
|
list 'nameserver' 'https://dns.alidns.com/dns-query'
|
|
list 'nameserver' 'https://doh.pub/dns-query'
|
|
|
|
config nameserver
|
|
option 'enabled' '0'
|
|
option 'type' 'fallback'
|
|
list 'nameserver' 'https://dns.cloudflare.com/dns-query'
|
|
list 'nameserver' 'https://dns.google/dns-query'
|
|
|
|
config nameserver_policy
|
|
option 'enabled' '1'
|
|
option 'matcher' 'geosite:cn,private'
|
|
list 'nameserver' 'https://dns.alidns.com/dns-query'
|
|
list 'nameserver' 'https://doh.pub/dns-query'
|
|
|
|
config nameserver_policy
|
|
option 'enabled' '1'
|
|
option 'matcher' 'geosite:geolocation-!cn'
|
|
list 'nameserver' 'https://dns.cloudflare.com/dns-query'
|
|
list 'nameserver' 'https://dns.google/dns-query'
|
|
|
|
config editor 'editor'
|
|
|
|
config log 'log'
|