Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 在direct直接时,我在内网访问目标,返回的却是外网的页面 #6260

Open
2 tasks done
giceli opened this issue Dec 9, 2024 · 1 comment
Open
2 tasks done
Labels
bug Something isn't working

Comments

@giceli
Copy link

giceli commented Dec 9, 2024

预期情况

在direct直接时,我在内网访问目标,返回的应该是内网的页面

实际情况

由于目标服务器的设计,在内网访问与外网访问时,会返回不同的页面,
而我在内网环境中,开启了vpn,虽然设置了direct直连,但是访问时,目标将我识别成了外网访问,给我返回了外网页面。
那么有没有办法在vpn开启的情况下,在内网访问时,设置了direct后,返回的依旧是内网的数据。

复现方法

找个内外网访问能显示不一样的网址的应该可以吧

日志信息

+0800 2024-12-09 15:50:04 INFO [1251342315 0ms] inbound/http[http]: inbound connection from 127.0.0.1:53898
+0800 2024-12-09 15:50:04 INFO [1251342315 0ms] inbound/http[http]: inbound connection to xxx.xx.xx.xx:443
+0800 2024-12-09 15:50:04 INFO [1251342315 0ms] outbound/direct[direct]: outbound connection to xxx.xx.xx.xx:443

xxx.xx.xx.xx 具体网址就不展示了

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

@giceli giceli added the bug Something isn't working label Dec 9, 2024
@giceli
Copy link
Author

giceli commented Dec 12, 2024

问题突然没了,我也复现不了了,等等看看吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@giceli and others