[GH-ISSUE #4042] [Feature Request] 两个不同网段的客户端如何进行互相访问?(不通过公网IP) #3200

Closed
opened 2026-05-05 14:04:08 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @510846 on GitHub (Mar 6, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4042

Describe the feature request

FRPS 公网 IP: 202.1.1.1

FRPC A 192.168.1.10/24
FRPC B 192.168.2.10/24

Q: FRPC A & B 这两个客户端之间可以通过非公网IP 来进行互访吗?

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @510846 on GitHub (Mar 6, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4042 ### Describe the feature request FRPS 公网 IP: 202.1.1.1 FRPC A 192.168.1.10/24 FRPC B 192.168.2.10/24 Q: FRPC A & B 这两个客户端之间可以通过非公网IP 来进行互访吗? ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@EnderAvaritia commented on GitHub (Mar 6, 2024):

看看stcp

<!-- gh-comment-id:1981166239 --> @EnderAvaritia commented on GitHub (Mar 6, 2024): 看看stcp
Author
Owner

@heguangzhi commented on GitHub (Mar 9, 2024):

通过P2P方式可以。

<!-- gh-comment-id:1986597761 --> @heguangzhi commented on GitHub (Mar 9, 2024): 通过P2P方式可以。
Author
Owner

@510846 commented on GitHub (Mar 15, 2024):

通过P2P方式可以。

非常感谢指导!

P2P 的话,就不经过服务端了

我是想知道,有没有一种方式,可以从 frpc A 端 访问 frpc B 端,需要经过服务端,但访问方式希望不是 公网ip:端口号 这种外部连接的方式

<!-- gh-comment-id:1999104250 --> @510846 commented on GitHub (Mar 15, 2024): > 通过P2P方式可以。 非常感谢指导! P2P 的话,就不经过服务端了 我是想知道,有没有一种方式,可以从 frpc A 端 访问 frpc B 端,需要经过服务端,但访问方式希望不是 公网ip:端口号 这种外部连接的方式
Author
Owner

@lee-cq commented on GitHub (Mar 15, 2024):

https://gofrp.org/zh-cn/docs/features/stcp-sudp/

<!-- gh-comment-id:1999151677 --> @lee-cq commented on GitHub (Mar 15, 2024): https://gofrp.org/zh-cn/docs/features/stcp-sudp/
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3200
No description provided.