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

开启shortcut-fe ecm非局域网设备接入时,防火墙udp转发似乎失效 #12263

Closed
1 task done
ragingbulld opened this issue Jun 23, 2024 · 1 comment
Closed
1 task done

Comments

@ragingbulld
Copy link

详细叙述

测试环境:通过使用lucky的stun穿透模拟公网条件,使用内网pc进行幻兽帕鲁服务器连接测试
配置防火墙端口映射:IPv4-udp来自 所有主机 位于 wan通过 所有路由 IP 在 端口 5 转发到 IP 192.168.1.4, 端口 8211 位于 lan
内网环境测试:开启udp端口转发的nat回环,pc使用拨号获得的内网ip(即路由器wan口ip)可以正常连接
模拟其他人通过公网连接:关闭nat回环,例如lucky仅打洞关闭内置转发得到udp端口5被映射到114.111.111.229:666,那么此时pc通过lucky获得的公网地址是无法连接到服务器的
总结:通过以上测试发现在内网条件下,内网设备可以通过回环特性正常连接wan口ip加端口号,但是关闭回环,通过使用lucky的stun内网穿透模拟其他人通过公网ip连接服务器时发现此时防火墙的udp转发可能失效了

重复 issue

  • 没有类似的 issue

具体型号

x86

详细日志

@ragingbulld ragingbulld changed the title 非局域网设备接入时,防火墙udp转发似乎失效 开启shortcut-fe ecm非局域网设备接入时,防火墙udp转发似乎失效 Jun 23, 2024
@ragingbulld
Copy link
Author

我是没有公网ip的,所以路由器的wan口ip是一个内网地址,当我使用lucky获取的公网地址连接服务时其实是不会进到nat回环里面的,所以可以通过lucky来模拟其他的非局域网设备连接wan口ip时的情况

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

No branches or pull requests

1 participant