mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3315] [Feature Request] #2653
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#2653
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 @iiimapidan on GitHub (Feb 16, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3315
Describe the feature request
如何将内网服务器端口暴露给外网服务器内部访问(外网无法访问),例如:客户端设置remote_port,仅frps可以访问这个端口。
Describe alternatives you've considered
No response
Affected area
@Becods commented on GitHub (Feb 18, 2023):
防火墙禁止此端口的外部访问
或者在配置文件里把frps的监听地址改为127.0.0.1
293003fcdb/conf/frps_full.ini (L3-L6)@iiimapidan commented on GitHub (Feb 18, 2023):
我觉得加一个配置项标识一下比较好
@Becods commented on GitHub (Feb 18, 2023):
@iiimapidan commented on GitHub (Feb 19, 2023):
感谢,使用防火墙限制端口可以满足,我目前有一部分内网服务端口需要暴露到公网(比如mstsc),而另一部分只支持给frps公网服务器访问(比如mysql,文件服务,仅提供给公网服务内部访问)
@github-actions[bot] commented on GitHub (Mar 22, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.