mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3811] .toml not working (where .ini works) #3033
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#3033
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 @Preston2jager on GitHub (Nov 28, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3811
Bug Description
I am trying to establish a private proxy for rdp from my windows tablet to my windows desktop at home, the relay is my ubuntu vps with public ip. So frpc on 2 windows devices and frps on linux server.
I followed the full template to prepare .toml config and it passed the
frpc verifycommand.While execute standard
frpc -c frpc.tomlfor both frpc clients:login to server success, get run id[xxxxxx]receive heartbeat from serverandsend heartbeat to serverclinet login info:ip [xxx]...Then I created .ini configs with the same info (but of course different syntax) and the RDP is now working.
On server, the frps is started with
frps -c frps.tomland no changes.frpc Version
0.52.3
frps Version
0.52.3
System Architecture
client: windows/amd64 server:Linux/amd64
Configurations
Frpc 1:
serverAddr = "xxx"
serverPort = 7000
auth.method = "token"
auth.token = "xxx"
rdp
name = "test"
type = "stcp"
secretKey = "111"
localIp = "127.0.0.1"
localPort = 33890
Frpc 2:
serverAddr = "xxx"
serverPort = 7000
auth.method = "token"
auth.token = "xxx"
rdp-v
name = "test"
type = "stcp"
secretKey = "111"
serverName = "test"
BindAddr = "127.0.0.1"
bindPort = 1234
Logs
No response
Steps to reproduce
...
Affected area
@superzjg commented on GitHub (Nov 28, 2023):
Change
[[rdp]][[rdp-v]]to[[proxies]].@Preston2jager commented on GitHub (Nov 28, 2023):
@superzjg Thanks, its working now.
@ylluminate commented on GitHub (Dec 21, 2023):
It seems that the conversion from the .ini format to .toml is not quite as straight forward as I had believed it should be. How should an entry such as the following in the .ini format:
Be converted to the .toml format?
I tried the following, which does not work:
I also tried it with "remotePort" vs "bindPort" as well with no success.
In addition, I attempted to convert the following header / "common" information to .toml and it did not work and I would love to see some clarification:
I attempted to convert it to:
But that also failed.
@ylluminate commented on GitHub (Jan 12, 2024):
Any clarifications on the above yet? Would like to convert to toml from ini, but it seems I can't sort this out yet.