[GH-ISSUE #3672] 配置文件切换到 toml 后,不支持meta_token参数 #2920

Closed
opened 2026-05-05 13:53:19 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @HenryGyu on GitHub (Oct 13, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3672

Bug Description

在 ini 配置文件中,支持meta_token参数,切换到 toml 配置文件后,我该怎么做

frpc Version

0.52.1

frps Version

0.52.1

System Architecture

linux/amd64

Configurations

user = "xxx"
meta_token = "xxx"

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 @HenryGyu on GitHub (Oct 13, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3672 ### Bug Description 在 ini 配置文件中,支持meta_token参数,切换到 toml 配置文件后,我该怎么做 ### frpc Version 0.52.1 ### frps Version 0.52.1 ### System Architecture linux/amd64 ### Configurations user = "xxx" meta_token = "xxx" ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [X] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [X] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:53:19 -06:00
Author
Owner

@fatedier commented on GitHub (Oct 13, 2023):

https://github.com/fatedier/frp/blob/dev/doc/server_plugin.md#metadata

<!-- gh-comment-id:1761252224 --> @fatedier commented on GitHub (Oct 13, 2023): https://github.com/fatedier/frp/blob/dev/doc/server_plugin.md#metadata
Author
Owner

@HenryGyu commented on GitHub (Oct 13, 2023):

thank you !

<!-- gh-comment-id:1761269136 --> @HenryGyu commented on GitHub (Oct 13, 2023): thank you !
Author
Owner

@zed76r commented on GitHub (Oct 16, 2023):

@fatedier 请问,以前多个 local_port remote_port 在 toml 下如何写啊?

<!-- gh-comment-id:1763682161 --> @zed76r commented on GitHub (Oct 16, 2023): @fatedier 请问,以前多个 local_port remote_port 在 toml 下如何写啊?
Author
Owner

@anysoft commented on GitHub (Oct 17, 2023):

@fatedier 请问,以前多个 local_port remote_port 在 toml 下如何写啊?

proxies
name = "DS918plus"
type = "tcp"
localIP = "127.0.0.1"
localPort = 5000
remotePort = 5000

<!-- gh-comment-id:1765594888 --> @anysoft commented on GitHub (Oct 17, 2023): > @fatedier 请问,以前多个 local_port remote_port 在 toml 下如何写啊? [[proxies]] name = "DS918plus" type = "tcp" localIP = "127.0.0.1" localPort = 5000 remotePort = 5000
Author
Owner

@zed76r commented on GitHub (Oct 17, 2023):

@fatedier 请问,以前多个 local_port remote_port 在 toml 下如何写啊?

proxies name = "DS918plus" type = "tcp" localIP = "127.0.0.1" localPort = 5000 remotePort = 5000

你这个不还是单port么,之前ini有个多port,和range port的,现在看这个toml的localport类型是int没法放多个

<!-- gh-comment-id:1765732347 --> @zed76r commented on GitHub (Oct 17, 2023): > > @fatedier 请问,以前多个 local_port remote_port 在 toml 下如何写啊? > > [[proxies]] name = "DS918plus" type = "tcp" localIP = "127.0.0.1" localPort = 5000 remotePort = 5000 你这个不还是单port么,之前ini有个多port,和range port的,现在看这个toml的localport类型是int没法放多个
Author
Owner

@github-actions[bot] commented on GitHub (Nov 17, 2023):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1815547934 --> @github-actions[bot] commented on GitHub (Nov 17, 2023): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#2920
No description provided.