mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3255] [Feature Request] 可以由客户端指定代理IP吗? #2609
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#2609
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 @zyywo on GitHub (Jan 15, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3255
Describe the feature request
我的一台内网主机开启了SSH服务和WEB服务,我想把内网的SSH服务映射到frp服务端的公网IP,WEB服务映射到服务端的127.0.0.1,由frp服务端的nginx代理这个WEB。
Describe alternatives you've considered
No response
Affected area
@Becods commented on GitHub (Jan 17, 2023):
frp的多出口暂未实现
但你可以
ssh绑定指定端口并开启防火墙
web绑定指定端口并关闭防火墙
nginx反代127.0.0.1:webport
@zyywo commented on GitHub (Jan 18, 2023):
@Becods 按照你的方法还是不行
nginx日志:
用curl测试是通的
nginx的设置
@zyywo commented on GitHub (Jan 19, 2023):
参考Becods的方法搞好了,因为我的nginx部署在docker上所以127.0.0.1需要更换为docker0网口的地址