You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `listen_port`: the port where the WireGuard server listens
8256
-
- `name`: the name of the instance, it must be unique and it's the name of the interface on the system, it must be a valid interface name and start with `wg`
8257
-
- `enabled`: `true` to enable the instance, `false` to disable it
8258
-
- `network`: the network of the WireGuard instance, this is the network where the clients will be connected
8259
-
- `routes`: the routes that the clients will receive when connected, this parameter is used during the client configuration creation
8280
+
- `enabled`: create the instance as active if`true`, inactive if`false`
8281
+
- `name`: the name of the instance
8260
8282
- `public_endpoint`: the public endpoint of the WireGuard server, it can be an IP address or a domain name, it's used during the client configuration creation
8261
-
- `dns`: the DNS servers that the clients will receive when connected, it's used during the client configuration creation; this option is honored only if the peer
8262
-
has the `ns_route_all_traffic` option set to `1`
8263
-
- `user_db`: the user database to use for authentication; if empty, the instance will not be connected to an existing user db and the WireGuard peer will be
8264
-
indipendent; if the user db is set, each new peer must be have a user with the same name in the user db
8283
+
- `listen_port`: the port where the WireGuard server listens
8284
+
- `network`: the network of the WireGuard instance, this is the client subnet
8285
+
- `mtu`: the MTU of the WireGuard interface, if kept empty auto-detection will be used
8286
+
- `dns`: the DNS servers that the clients can use to avoid dns bleeding
8265
8287
8266
-
### remove-instance
8288
+
### edit-server
8267
8289
8268
-
Remove an existing instance and all associated peers:
- `instance`: the name of the WireGuard instance, the instance must exist
8299
-
- `account`: the name of the peer, it must be unique for the instance; if the instance is connected to a user db, the account must be the name of an existing user
8300
8337
- `enabled`: `true` to enable the peer, `false` to disable it
8301
-
- `route_all_traffic`: `true` to route all the traffic of the peer through the WireGuard tunnel, `false` to route only the traffic for the `ns_routes` through the tunnel; if this option is set the `dns` option in the instance configuration will be honored
8302
-
- `client_to_client`: `true` to allow the peer to communicate with other peers connected to the same instance, `false` to disallow it; it must be set to `true`
8303
-
if the `route_all_traffic` is set to `true` when the client is not a Road Warrior user but another firewall for a site-to-site connection
8304
-
- `ns_routes`: the routes that the peer will receive when connected, this parameter is used during the client configuration creation
8305
-
- `preshared_key`: `true` to generate a new preshared key for the peer, `false` to not use it
8338
+
- `name`: the name of the peer
8339
+
- `reserved_ip`: the reserved IP address forthe peer, it must bein the network of the instance and unique
8340
+
- `pre_shared_key`: `true` to generate a new preshared key for the peer
8341
+
- `route_all_traffic`: `true` to route all the traffic of the peer through the WireGuard tunnel, this will effectively ignore the local networks param
8342
+
- `local_networks`: the local networks that the peer will be able to access, this parameter is used during the client configuration creation
8343
+
- `remote_networks`: the networks that the peer will route through the WireGuard tunnel, this parameter is used during the client configuration creation
- `enabled`: create the tunnel as active if`true`, inactive if`false`
8412
+
- `name`: the name of the tunnel
8413
+
- `reserved_ip`: the reserved IP address for the tunnel
8414
+
- `server_public_key`: the public key of the server
8415
+
- `peer_private_key`: the private key of the peer
8416
+
- `pre_shared_key`: the preshared key, it can be empty if not used
8417
+
- `route_all_traffic`: `true` to route all the traffic of the peer through the WireGuard tunnel, `false` to route only the traffic for the `network_routes` through the tunnel
8418
+
- `network_routes`: the networks that the peer will route through the WireGuard tunnel
8419
+
- `endpoint`: the public endpoint of the WireGuard server, it can be an IP address or a domain name
8420
+
- `udp_port`: the port where the WireGuard server listens
8421
+
- `dns`: the DNS servers that the clients can use to avoid dns bleeding
0 commit comments