mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #4178] How to change the configuration from frpc.ini to frpc.toml #3292
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3292
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bannyhm on GitHub (Apr 22, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4178
Describe the feature request
the following configuration is in fprc.ini, how can I fix it so that it works correctly in frpc.toml
[common]
forward_all = tcp+udp
all_use_encryption = false
all_use_compression = false
server_addr = x.x.x.x
server_port = 9100
plugin_user = abc
plugin_passwd = abc
authentication_method = token
token = 12345678
dns_server = x.x.x.x
udp_forward = true
[web_tcp]
type = tcp
local_ip = 127.0.0.1
local_port = 6000
remote_port = 6000
use_encryption = false
use_compression = false
protocol = tcp
[web_udp]
type = udp
local_ip = 127.0.0.1
local_port = 6000
remote_port = 6000
use_encryption = false
use_compression = false
protocol = udp
Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Apr 23, 2024):
You can continue to use the INI format configuration file until you have new feature requirements, then rewrite the TOML format configuration file according to the document.
@bannyhm commented on GitHub (Apr 23, 2024):
Thank you for your reply. I'm trying to upgrade from version 51.3 to version 57.0, but as I see from the documentation and frpc-full example files, I can't find an example to use a udp connection. Or can I just convert my frpc.ini lines to frpc.toml format by changing the field names as stated in the documentation and enclosing the line values in " "?
My frpc.ini settings with version 51.3 work perfectly, except for problems with already exists
@xqzr commented on GitHub (Apr 25, 2024):
#3818
@bannyhm commented on GitHub (Apr 26, 2024):
Thank you very much
@github-actions[bot] commented on GitHub (May 18, 2024):
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.