[GH-ISSUE #4472] bindAddr 只能写127.0.0.1 吗 #3533

Closed
opened 2026-05-05 14:16:15 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @happytrudy on GitHub (Oct 5, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4472

Bug Description

bindAddr 只能写127.0.0.1 吗

frpc Version

0.60.0

frps Version

0.60.0

System Architecture

windows/amd64

Configurations

bindAddr 只能写127.0.0.1 吗 如果网卡ipv4是 192.168.0.1 是否可以bindAddr写本地的ip地址 因为有些软件穿透之后绑定本地localhost说是不合法

Logs

1

Steps to reproduce

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @happytrudy on GitHub (Oct 5, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4472 ### Bug Description bindAddr 只能写127.0.0.1 吗 ### frpc Version 0.60.0 ### frps Version 0.60.0 ### System Architecture windows/amd64 ### Configurations bindAddr 只能写127.0.0.1 吗 如果网卡ipv4是 192.168.0.1 是否可以bindAddr写本地的ip地址 因为有些软件穿透之后绑定本地localhost说是不合法 ### Logs 1 ### Steps to reproduce _No response_ ### Affected area - [X] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@superzjg commented on GitHub (Oct 6, 2024):

默认0.0.0.0代表所有地址(含ipv6)。
指定地址也可以,一般指定公网地址,你指定一个内网地址,除了同在此内网的frpc能连,其他frpc都不能连接。

<!-- gh-comment-id:2395386099 --> @superzjg commented on GitHub (Oct 6, 2024): 默认0.0.0.0代表所有地址(含ipv6)。 指定地址也可以,一般指定公网地址,你指定一个内网地址,除了同在此内网的frpc能连,其他frpc都不能连接。
Author
Owner

@happytrudy commented on GitHub (Oct 6, 2024):

默认0.0.0.0代表所有地址(含ipv6)。 指定地址也可以,一般指定公网地址,你指定一个内网地址,除了同在此内网的frpc能连,其他frpc都不能连接。

p2p模式下 我可能忘记说条件了

<!-- gh-comment-id:2395386485 --> @happytrudy commented on GitHub (Oct 6, 2024): > 默认0.0.0.0代表所有地址(含ipv6)。 指定地址也可以,一般指定公网地址,你指定一个内网地址,除了同在此内网的frpc能连,其他frpc都不能连接。 p2p模式下 我可能忘记说条件了
Author
Owner

@xqzr commented on GitHub (Oct 8, 2024):

系统“可见”的地址,都可以写

<!-- gh-comment-id:2400226925 --> @xqzr commented on GitHub (Oct 8, 2024): 系统“可见”的地址,都可以写
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#3533
No description provided.