Skip to content
This repository has been archived by the owner on Jan 3, 2021. It is now read-only.

根据用户的源 IP 动态填入 clientIP #19

Closed
CalmLong opened this issue Sep 13, 2020 · 2 comments
Closed

根据用户的源 IP 动态填入 clientIP #19

CalmLong opened this issue Sep 13, 2020 · 2 comments

Comments

@CalmLong
Copy link

假设本机 V2Ray 开个的任意门协议,然后监听 53 端口用来接收 DNS 查询的流量,假设本机 IP 是 192.168.1.1

但是目前 clientIp 只能设置一个,在 DNS 查询的时候起作用

假设我用另一台 IP 为 192.168.1.2 的机器 DNS 地址设置为 192.168.1.1

这时候 V2Ray 可以知道是 192.168.1.2 这台机器连接了,然后把 192.168.1.2 这个 IP 当作 clientIp 来用

v2fly/v2ray-core#169

@Loyalsoldier

@CalmLong
Copy link
Author

@Vigilans

@kslr
Copy link
Contributor

kslr commented Nov 21, 2020

I’d be willing to review a PR if you want to contribute a fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants