mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-11-27 07:06:03 +01:00
Let peers connect to a remote WireGuard endpoint
This commit is contained in:
@@ -141,6 +141,7 @@ def peer_info(request):
|
||||
'public_key': str(peer.public_key),
|
||||
'uuid': str(peer.uuid),
|
||||
'private_key_exists': bool(peer.private_key),
|
||||
'endpoint': peer.endpoint,
|
||||
'is_route_policy_restricted': peer.is_route_policy_restricted,
|
||||
}
|
||||
return JsonResponse(data)
|
||||
|
||||
Reference in New Issue
Block a user