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

发现一个可以部署在CF workers上的项目能够向客户端或对端共享/报告打洞后的出口IP地址及端口 #117

Open
egg1234 opened this issue Sep 27, 2024 · 1 comment

Comments

@egg1234
Copy link

egg1234 commented Sep 27, 2024

项目地址,只需要粘贴代码到workers里面即可
https://github.com/Violet-sword/Exchange-Variable

内网设备打洞后得到的公网IP地址及端口可以用下面命令存储到CF workers上
curl https://your-name.workers.dev/?stored-text=8.8.8.8:1000

客户端或对端使用下面命令得到当前内网设备打洞后的公网IP地址及端口
curl https://your-name.workers.dev/

以上操作也可完全在浏览器上进行

当然基于国内的情况,workers需要自定义域名访问

@egg1234
Copy link
Author

egg1234 commented Oct 23, 2024

作者开发了另外一个可以部署到自己服务器或有端口映射功能的虚拟主机的项目,可以不需要域名直接 http://ip 方式更新及获取

https://github.com/Violet-sword/Exchange-Variable-NodeJS

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