mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4244] xtcp希望能增加 -u,是用upnp连接打洞 #3345
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3345
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wuai1024 on GitHub (May 27, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4244
Describe the feature request
目前需要将 提供端
frpc使用dmz给暴漏出去,这样设置后,别的ip就无法利用剩余的端口了。出口路由器一般会支持设置
upnp希望能是用一个参数,让frpc去局域网中查找提供upnp服务的。Describe alternatives you've considered
No response
Affected area
@xqzr commented on GitHub (May 28, 2024):
#1823
@wuai1024 commented on GitHub (May 28, 2024):
如果考虑到支持这个功能,我可以提供测试环境,或者帮忙测试。
@xqzr commented on GitHub (May 28, 2024):
或者 增加选项,设置 UDP 打洞数据包的 源端口。这样,在路由器(网关)“端口映射”设置的 源端口,也有机会 获得 NAT1。
@fatedier commented on GitHub (May 29, 2024):
upnp 相关的内容在 https://github.com/fatedier/frp/issues/4112 中跟进,你可以使用对应的 PR 编译进行测试。
也可以反馈当前 p2p 打洞两端的环境和日志,有助于帮助我们进行优化。
@wuai1024 commented on GitHub (Jun 6, 2024):
xtcp中proxy端日志:xtcp中visitors端日志:目前 proxy 在 NAT1 环境下,visitors 在 NAT4 环境下,打洞成功!
@fatedier commented on GitHub (Jun 6, 2024):
@wuai1024 成功的是原生版本还是 upnp PR 编译出来的版本?
我们希望收集的是默认情况下无法成功,开启 upnp 后成功的场景。
@xqzr commented on GitHub (Jun 6, 2024):
符合预期
@wuai1024 commented on GitHub (Aug 13, 2024):
@fatedier
这个是原生的版本,被访问端开启 DMZ 之后的表现。
我当时不知道你回复了,我后续关闭 DMZ 之后,试一下 upnp 的版本。