mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #5019] 配置VirtualNet提示unmarshal ProxyConfig error: json: unknown field "featureGates" #3953
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#3953
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 @HYKOYB on GitHub (Oct 15, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/5019
Originally assigned to: @Copilot on GitHub.
Bug Description
配置VirtualNet提示unmarshal ProxyConfig error: json: unknown field "featureGates"
frpc Version
v0.65.0
frps Version
v0.65.0
System Architecture
linux/amd64
Configurations
Client config:
serverAddr = "127.0.0.1"
serverPort = 7000
proxies
name = "test-tcp"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 6000
featureGates = { VirtualNet = true }
virtualNet.address = "100.86.0.2/24"
visitors
name = "vnet-visitor"
type = "stcp"
serverName = "vnet-server"
secretKey = "your-secret-key"
bindPort = -1
[visitors.plugin]
type = "virtual_net"
destinationIP = "100.86.0.1"
sudo ./frpc -c ./frpc.toml
unmarshal ProxyConfig error: json: unknown field "featureGates"
Logs
No response
Steps to reproduce
...
Affected area
@github-actions[bot] commented on GitHub (Oct 30, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
@roxi3906 commented on GitHub (Jan 8, 2026):
就这么被关闭了?我也遇到了这个问题
@HYKOYB commented on GitHub (Apr 27, 2026):
自己摸索的结果,可以用
作为服务器的
配置虚拟网络接口
featureGates = { VirtualNet = true }
virtualNet.address = "100.86.0.1/24"
proxies
name = "vnet" #这里要和下面客户端的name一致
type = "stcp"
secretKey = "123456"
[proxies.plugin]
type = "virtual_net"
另外一台客户端的
配置虚拟网络接口
featureGates = { VirtualNet = true }
virtualNet.address = "100.86.0.2/24"
visitors
name = "vnet" #这里要和上面服务器的name一致
type = "stcp"
serverName = "vnet"
secretKey = "123456"
bindPort = -1
[visitors.plugin]
type = "virtual_net"
destinationIP = "100.86.0.1"