Skip to content
Discussion options

You must be logged in to vote

我现在通过您的答案结合后解决了,但是感觉好复杂,但是我尝试缺少其中一步都是不合适的。

首先需要配置 proxies:

proxies:
  - name: company-network
    type: direct
    udp: true
    interface-name: controller

然后指定规则:

rules:
  - RULE-SET,custom_classical,company-network

然后配置 dns 中 nameserver-policy:

  nameserver-policy:
    rule-set:custom_classical:
      - 12.0.0.11#company-network

然后 tun 中 增加 route-exclude-address:

  route-exclude-address:
  - 12.0.0.0/16

不知道我的最终方案是否是正确的,但是他确实可以访问到了。您还有什么建议吗?

以此总结作为最终答案,但贡献为上下文中 mengdegege 大佬的指点。万分感谢。

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@mengdegege
Comment options

@Docker7530
Comment options

@mengdegege
Comment options

@Docker7530
Comment options

Answer selected by Docker7530
@mengdegege
Comment options

@mengdegege
Comment options

@Docker7530
Comment options

@mengdegege
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants