Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the configuration from frpc.ini to frpc.toml #4178

Open
1 of 11 tasks
bannyhm opened this issue Apr 22, 2024 · 5 comments
Open
1 of 11 tasks

How to change the configuration from frpc.ini to frpc.toml #4178

bannyhm opened this issue Apr 22, 2024 · 5 comments

Comments

@bannyhm
Copy link

bannyhm commented Apr 22, 2024

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

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
@fatedier
Copy link
Owner

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
Copy link
Author

bannyhm commented 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
Copy link

xqzr commented Apr 25, 2024

#3818

@bannyhm
Copy link
Author

bannyhm commented Apr 26, 2024

Thank you very much

Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants