immortalwrt / homeproxy

The modern ImmortalWrt proxy platform for ARM64/AMD64 (powered by sing-box)
GNU General Public License v2.0
285 stars 90 forks source link

feat(generator/client): Add more options support #45

Closed muink closed 7 months ago

muink commented 7 months ago
  1. Add DNS global options
    • + dns.independent_cache
    • + dns.reverse_mapping
  2. Add System DNS server address: 'local' for resolving custom private domain
    • + dns.servers[1]
  3. DNS rules
    • - homeproxy.@dns_rule[-1].ip_cidr
    • + dns.rules.query_type
    • + dns.rules.ip_version
    • + dns.rules.auth_user
    • + dns.rules.user_id
    • + dns.rules.clash_mode
    • + dns.rules.rewrite_ttl
    • Allow dns.rules.outbound: 'any'
  4. Route rules
    • + route.rules.auth_user
    • + route.rules.user_id
    • + route.rules.clash_mode
1715173329 commented 7 months ago

I've applied part of your changes, please rebase this PR then let's discuss the remaining ones.

muink commented 7 months ago

I've rebased the branch and I think we can continue.

muink commented 7 months ago

Can we continue with the rest?

1715173329 commented 7 months ago

So sorry I'm super busy these days and the review has to be delayed.

muink commented 7 months ago

Redundant options have been cleaned up