mirror of https://github.com/fatedier/frp
parent
a23455a737
commit
8f416a7c85
|
@ -1283,7 +1283,9 @@ frp supports feature gates to enable or disable experimental features. This allo
|
||||||
To enable an experimental feature, add the feature gate to your configuration:
|
To enable an experimental feature, add the feature gate to your configuration:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
featureGates = { VirtualNet = true }
|
featureGates = {
|
||||||
|
VirtualNet = true
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Feature Lifecycle
|
### Feature Lifecycle
|
||||||
|
|
|
@ -49,7 +49,9 @@ type = "virtual_net"
|
||||||
# frpc.toml (client side)
|
# frpc.toml (client side)
|
||||||
serverAddr = "x.x.x.x"
|
serverAddr = "x.x.x.x"
|
||||||
serverPort = 7000
|
serverPort = 7000
|
||||||
featureGates = { VirtualNet = true }
|
featureGates = {
|
||||||
|
VirtualNet = true
|
||||||
|
}
|
||||||
|
|
||||||
# Configure the virtual network interface
|
# Configure the virtual network interface
|
||||||
virtualNet.address = "100.86.0.2/24"
|
virtualNet.address = "100.86.0.2/24"
|
||||||
|
|
Loading…
Reference in New Issue