[GH-ISSUE #3762] 这么有名的项目,居然没有Socks5的说明 #2993

Closed
opened 2026-05-05 13:55:54 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @qooboy on GitHub (Nov 10, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3762

Bug Description

最新版的官方文档,对于配置文件的编写好像做了改变,很多参数后面加了""才能运行,而网上的信息,参数后面大多是不需要“”,然后搜了全网,硬是配置了不Socks5,请路过的大神指点一下!

frpc Version

0.52.3

frps Version

0.52.3

System Architecture

inux/amd64

Configurations

服务器配置

serverAddr = "1.1.1.1"
bindPort = 7000
auth_token = "abcdef"
webServer.port = 7500
webServer.user = "admin"
webServer.password = "admin"
log_file = "./frps.log"
log_level = "info"
log_max_days = 3

客户端配置

serverAddr = "1.1.1.1"
bindPort = 7000
auth_token = "abcdef"
[[proxies]]
name = "socks_proxy"
type = "tcp"
remotePort = 6000
[proxies.plugin]
type = "socks5"
httpUser = "admin"
httpPassword = "123456"
transport.useEncryption = true
transport.useCompression = true

服务器端管理面板能看到在线,但是在其他设备使用Socks5代理配置上网,无法打开网页

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @qooboy on GitHub (Nov 10, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3762 ### Bug Description 最新版的官方文档,对于配置文件的编写好像做了改变,很多参数后面加了""才能运行,而网上的信息,参数后面大多是不需要“”,然后搜了全网,硬是配置了不Socks5,请路过的大神指点一下! ### frpc Version 0.52.3 ### frps Version 0.52.3 ### System Architecture inux/amd64 ### Configurations 服务器配置 ``` serverAddr = "1.1.1.1" bindPort = 7000 auth_token = "abcdef" webServer.port = 7500 webServer.user = "admin" webServer.password = "admin" log_file = "./frps.log" log_level = "info" log_max_days = 3 ``` 客户端配置 ``` serverAddr = "1.1.1.1" bindPort = 7000 auth_token = "abcdef" [[proxies]] name = "socks_proxy" type = "tcp" remotePort = 6000 [proxies.plugin] type = "socks5" httpUser = "admin" httpPassword = "123456" transport.useEncryption = true transport.useCompression = true ``` 服务器端管理面板能看到在线,但是在其他设备使用Socks5代理配置上网,无法打开网页 ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [X] Others
Author
Owner

@xqzr commented on GitHub (Nov 10, 2023):

确保 frpc 能解析域名
184223cb2f/conf/frpc_full_example.toml (L254C1-L261C17)

另, auth_token 等于没设置,正确写法是 auth.token

<!-- gh-comment-id:1805654135 --> @xqzr commented on GitHub (Nov 10, 2023): 确保 frpc 能解析域名 https://github.com/fatedier/frp/blob/184223cb2f240b844f90b3390645672d2225da88/conf/frpc_full_example.toml#L254C1-L261C17 另, `auth_token` 等于没设置,正确写法是 `auth.token`
Author
Owner

@shangzeng commented on GitHub (Mar 4, 2024):

我也是,难受的要死

<!-- gh-comment-id:1976031932 --> @shangzeng commented on GitHub (Mar 4, 2024): 我也是,难受的要死
Author
Owner

@aohanhongzhi commented on GitHub (Mar 8, 2025):

确实,文档确实,看来有点难度上手。

<!-- gh-comment-id:2707954317 --> @aohanhongzhi commented on GitHub (Mar 8, 2025): 确实,文档确实,看来有点难度上手。
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#2993
No description provided.