[GH-ISSUE #330] 端口汇聚及安全性考虑的需求 #241

Closed
opened 2026-05-05 12:02:15 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @SandyLu on GitHub (May 23, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/330

当前有A,B两个不同内网机,均可连入互联网 C为阿里云。
当前可实现 C安装frps, B安装 frpc. 做好映射。A访问C开的端口。

现在问题是C将B的端口服务暴露在互联网不安全,可否实现A连接C单一加密的端口。B的服务最终在A展开,让A同内网的其他机器访问A即相当于访问B对应端口。
也就是实现通过C完成一条隧道链路。

Originally created by @SandyLu on GitHub (May 23, 2017). Original GitHub issue: https://github.com/fatedier/frp/issues/330 当前有A,B两个不同内网机,均可连入互联网 C为阿里云。 当前可实现 C安装frps, B安装 frpc. 做好映射。A访问C开的端口。 现在问题是C将B的端口服务暴露在互联网不安全,可否实现A连接C单一加密的端口。B的服务最终在A展开,让A同内网的其他机器访问A即相当于访问B对应端口。 也就是实现通过C完成一条隧道链路。
gitea-mirror 2026-05-05 12:02:15 -06:00
  • closed this issue
  • added the
    todo
    label
Author
Owner

@fatedier commented on GitHub (May 23, 2017):

在计划中,TODO

<!-- gh-comment-id:303310016 --> @fatedier commented on GitHub (May 23, 2017): 在计划中,TODO
Author
Owner

@hanqian200705 commented on GitHub (Jun 14, 2017):

内网服务直接通过公网暴露出来确实有些安全隐患,提供一个简单点的方案看是否可行:frp是否能提供一个简单的认证页面,连接公网暴露的服务前,需要先通过此认证页面进行登录认证,由frpc端提供 认证密码,认证过期时间,是否绑定ip等一些配置。frps端根据情况决定是否拒绝访问,这样做是否会简单些。 @fatedier

<!-- gh-comment-id:308288994 --> @hanqian200705 commented on GitHub (Jun 14, 2017): 内网服务直接通过公网暴露出来确实有些安全隐患,提供一个简单点的方案看是否可行:frp是否能提供一个简单的认证页面,连接公网暴露的服务前,需要先通过此认证页面进行登录认证,由frpc端提供 认证密码,认证过期时间,是否绑定ip等一些配置。frps端根据情况决定是否拒绝访问,这样做是否会简单些。 @fatedier
Author
Owner

@fatedier commented on GitHub (Jun 19, 2017):

@hanqian200705 tcp 类型的服务,无法提供这样的认证页面。

0.13 版本将会加入 stcp(secret tcp) 的类型,需要两边都运行 frpc,并且指定相同的 sk 才能访问,提高安全性,避免将 tcp 服务直接暴露于公网。

<!-- gh-comment-id:309365141 --> @fatedier commented on GitHub (Jun 19, 2017): @hanqian200705 tcp 类型的服务,无法提供这样的认证页面。 0.13 版本将会加入 stcp(secret tcp) 的类型,需要两边都运行 frpc,并且指定相同的 sk 才能访问,提高安全性,避免将 tcp 服务直接暴露于公网。
Author
Owner

@yingnierxiao commented on GitHub (Jul 16, 2017):

可以加ip限制下

<!-- gh-comment-id:315583755 --> @yingnierxiao commented on GitHub (Jul 16, 2017): 可以加ip限制下
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#241
No description provided.