fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
85.33k stars 13.24k forks source link

希望能控制 server 端的监听地址。 #4390

Closed IAliceBobI closed 1 month ago

IAliceBobI commented 1 month ago

Describe the feature request

很喜欢 frp!

我有一种场景,有时不想在服务暴露某些内网服务的ip到0.0.0.0,希望可以提供remoteIP 来控制监听地址。

Describe alternatives you've considered

No response

Affected area

fatedier commented 1 month ago

查看 example 配置文件找一下具体的配置项。

pasiphae321 commented 1 week ago

虽然只能绑定到0.0.0.0,但可以通过防火墙实现隐藏

IAliceBobI commented 1 week ago

它是通过 客户端 -- 服务器 -- 客户端 的方式来实现控制ip的。服务器的ip设置是固定公开的。

不过我是觉得可以控制服务器的 IP,这样设置会方便一点。