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
Copy file name to clipboardExpand all lines: docs/documentation/configuration/examples.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,24 @@ core:
11
11
create_default_peer: true
12
12
self_provisioning_allowed: true
13
13
14
+
backend:
15
+
# default backend decides where new interfaces are created
16
+
default: mikrotik
17
+
18
+
mikrotik:
19
+
- id: mikrotik # unique id, not "local"
20
+
display_name: RouterOS RB5009 # optional nice name
21
+
api_url: https://10.10.10.10/rest
22
+
api_user: wgportal
23
+
api_password: a-super-secret-password
24
+
api_verify_tls: false # set to false only if using self-signed during testing
25
+
api_timeout: 30s# maximum request duration
26
+
concurrency: 5# limit parallel REST calls to device
27
+
debug: false # verbose logging for this backend
28
+
ignored_interfaces: # ignore these interfaces during import
29
+
- wgTest1
30
+
- wgTest2
31
+
14
32
web:
15
33
site_title: My WireGuard Server
16
34
site_company_name: My Company
@@ -195,3 +213,5 @@ auth:
195
213
registration_enabled: true
196
214
log_user_info: true
197
215
```
216
+
217
+
For more information, check out the usage documentation (e.g. [General Configuration](../usage/general.md) or [Backends Configuration](../usage/backends.md)).
Copy file name to clipboardExpand all lines: docs/documentation/configuration/overview.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -184,6 +184,11 @@ The current MikroTik backend is in **BETA** and may not support all features.
184
184
- **Description:** The default backend to use for managing WireGuard interfaces.
185
185
Valid options are: `local`, or other backend id's configured in the `mikrotik` section.
186
186
187
+
### `ignored_local_interfaces`
188
+
- **Default:** *(empty)*
189
+
- **Description:** A list of interface names to exclude when enumerating local interfaces.
190
+
This is useful if you want to prevent certain interfaces from being imported from the local system.
191
+
187
192
### Mikrotik
188
193
189
194
The `mikrotik` array contains a list of MikroTik backend definitions. Each entry describes how to connect to a MikroTik RouterOS instance that hosts WireGuard interfaces.
@@ -225,6 +230,11 @@ Below are the properties for each entry inside `backend.mikrotik`:
225
230
- **Default:** `5`
226
231
- **Description:** Maximum number of concurrent API requests the backend will issue when enumerating interfaces and their details. If `0` or negative, a sane default of `5` is used.
227
232
233
+
#### `ignored_interfaces`
234
+
- **Default:** *(empty)*
235
+
- **Description:** A list of interface names to exclude during interface enumeration.
236
+
This is useful if you want to prevent specific interfaces from being imported from the MikroTik device.
237
+
228
238
#### `debug`
229
239
- **Default:** `false`
230
240
- **Description:** Enable verbose debug logging for the MikroTik backend.
0 commit comments