Skip to content

outcatcher/wg-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wg-deploy

EN

Простой плейбук для конфигурации WireGuard сервера.

Для работы с WireGuard используется коллекция lablabs.wireguard.

Пример использования

ansible-playbook create.yaml -e hostname=my.wireguard.server

Так же hostname будет запрошен интерактивно в случае, если не был задан через -e.

Использование для других клиентов

Текущее решение содержит конфигурацию клиентов, для другой конфигурации измените значение wireguard_peers в inventory/main.yaml. Так же на разных дистрибутивах и в разных облачных решениях может отличаться значение wireguard_out_interface.


wg-deploy

RU

A simple playbook for configuring WireGuard server.

For all wireguard interaction lablabs.wireguard collection is used.

Example usage

ansible-playbook create.yaml -e hostname=my.wireguard.server

You can skip defining hostname variable. In this case it will be prompted interactively.

Other clients usage

Current inventory contains list of clients in wireguard_peers, it is defined at inventory/main.yaml. Note that wireguard_out_interface can differ depending on OS and network configuration.

About

Плейбук для конфигурации WireGuard сервера

Resources

License

Stars

Watchers

Forks