Skip to content

Commit cfb5c71

Browse files
committed
api: add wg config result
1 parent c33aafe commit cfb5c71

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

api/bringyour.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1953,6 +1953,10 @@ components:
19531953
description: Optional. |
19541954
If the client supports ECH, this is not needed, since the HTTP proxy URL will itself be the auth.
19551955
type: boolean
1956+
enable_wg:
1957+
description: Optional. |
1958+
If enabled, a WireGuard configuration will be created for the proxy.
1959+
type: boolean
19561960
initial_device_state:
19571961
description: Optional. |
19581962
Whenever the device is created, it will be set up with this initial state.
@@ -2076,6 +2080,21 @@ components:
20762080
type: integer
20772081
https_proxy_port:
20782082
type: integer
2083+
wg_config_result:
2084+
type: object
2085+
properties:
2086+
wg_proxy_port:
2087+
type: integer
2088+
client_private_key:
2089+
type: string
2090+
client_public_key:
2091+
type: string
2092+
client_ipv4:
2093+
type: string
2094+
proxy_public_key:
2095+
type: string
2096+
config:
2097+
type: string
20792098

20802099
error:
20812100
type: object

0 commit comments

Comments
 (0)