mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #206] 关于n2n vpn穿透问题 #141
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#141
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 @2726266496 on GitHub (Dec 30, 2016).
Original GitHub issue: https://github.com/fatedier/frp/issues/206
n2n vpn的udp包穿透不了吗?
@fatedier commented on GitHub (Dec 30, 2016):
vpn 为什么还需要穿透?具体不是很了解,能否描述一下详细的流程?
@2726266496 commented on GitHub (Dec 30, 2016):
n2n vpn拓扑图如下,其中supernode搭建需要有公网IP,我在局域网内搭建了supernode,同时使用frp来做穿透,资料上说edge node使用UDP协议进行封装,结果连接不成功。

@fatedier commented on GitHub (Dec 30, 2016):
有时间的时候我研究下。
@fatedier commented on GitHub (Jan 11, 2017):
简单看了下,n2n 的原理应该也是 NAT 穿透,Super node 需要感知到连接上来的 Edge Node 的 udp 的 ip 和端口,之后尝试让两台 Edge Node 直连。
而如果 Super Node 的 udp 端口通过 frp 来转发,Super Node 拿到的 Edge Node 的 ip 和端口其实是本地的,将这个 ip 和 port 转发给 Edge Node 并不能起作用。
目前看来是不支持这样的应用的。