Skip to content

WireGuard-KeyGen - API developed in the Rust language for interacting with WireGuard-VPN

Notifications You must be signed in to change notification settings

Adamanr/WireGuard_keygen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WireGuard-KeyGen

Ru WireGuard-KeyGen - API разработанная на языке Rust для взаимодействия с WireGuard

Функционал API

  1. Принимает json запрос с полем "ip" на /add_key
  2. Создаёт приватные и публичные ключи WireGuard
  3. Отправляет ответом два ключа *Удаление ключа
  4. Принимает json запрос с полем "key" на /delete_key
  5. Удаляет в wg0.conf заданный ключ с его allowed-ips

En WireGuard-KeyGen - API developed in the Rust language for interacting with WireGuard

API functionality

  1. Accepts a json request with the "ip" field on /add_key
  2. Creates WireGuard private and public keys
  3. Sends two keys in response *Delete keys
  4. Accepts a json request with the "key" field to /delete_key
  5. Deletes the specified key from its allowed-ips in wg 0.conf

About

WireGuard-KeyGen - API developed in the Rust language for interacting with WireGuard-VPN

Topics

Resources

Stars

Watchers

Forks

Languages