[GH-ISSUE #2191] 更改监听地址 #1746

Closed
opened 2026-05-05 13:07:17 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @cloudwindy on GitHub (Jan 16, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2191

我需要把被代理的tcp监听地址从0.0.0.0调整为127.0.0.1(不对外公开),但我必须把frp协议对外公开,该如何操作?

Originally created by @cloudwindy on GitHub (Jan 16, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2191 我需要把被代理的tcp监听地址从0.0.0.0调整为127.0.0.1(不对外公开),但我必须把frp协议对外公开,该如何操作?
Author
Owner

@cloudwindy commented on GitHub (Jan 16, 2021):

也就是说,我要从公网能访问frp的端口,但不能访问frp转发的端口,请问怎么实现?

<!-- gh-comment-id:761280745 --> @cloudwindy commented on GitHub (Jan 16, 2021): 也就是说,我要从公网能访问frp的端口,但不能访问frp转发的端口,请问怎么实现?
Author
Owner

@skyline20 commented on GitHub (Jan 16, 2021):

修改frps配置文件
bind_addr=0.0.0.0
proxy_bind_addr=127.0.0.1

<!-- gh-comment-id:761522574 --> @skyline20 commented on GitHub (Jan 16, 2021): 修改frps配置文件 bind_addr=0.0.0.0 proxy_bind_addr=127.0.0.1
Author
Owner

@cloudwindy commented on GitHub (Jan 16, 2021):

proxy_bind_addr居然没有在文档中出现诶,不打算做一个完整的配置文件参考手册吗

<!-- gh-comment-id:761579017 --> @cloudwindy commented on GitHub (Jan 16, 2021): proxy_bind_addr居然没有在文档中出现诶,不打算做一个完整的配置文件参考手册吗
Author
Owner

@fatedier commented on GitHub (Jan 17, 2021):

@cloudwindy https://gofrp.org/docs/reference/server-configures/#%E5%9F%BA%E7%A1%80%E9%85%8D%E7%BD%AE

<!-- gh-comment-id:761724985 --> @fatedier commented on GitHub (Jan 17, 2021): @cloudwindy https://gofrp.org/docs/reference/server-configures/#%E5%9F%BA%E7%A1%80%E9%85%8D%E7%BD%AE
Author
Owner

@cloudwindy commented on GitHub (Jan 17, 2021):

天,我居然没看到,是我的锅,抱歉

<!-- gh-comment-id:761834219 --> @cloudwindy commented on GitHub (Jan 17, 2021): 天,我居然没看到,是我的锅,抱歉
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#1746
No description provided.