indexyz.wireguard
indexyz.wireguard
Szybka konfiguracja sieci mesh za pomocą Wireguard
Wymagania
System powinien umożliwiać ładowanie rozszerzeń jądra Wireguard za pomocą DKMS.
Zmienne Roli
Nazwa | Domyślna | Typ | Opis |
---|---|---|---|
mtu | 1420 | Liczba | MTU interfejsu sieciowego Wireguard |
ip_cidr_range | 16 | Liczba | Rozmiar podsieci Wireguard |
listen_port | 32091 | Liczba | Port nasłuchujący Wireguard |
inte_ip | Brak | String? | Adres IP interfejsu Wireguard (np. 10.255.255.1) |
interface_name | wg0 | String | Nazwa interfejsu Wireguard |
Przykład Playbooka
Inwentory
[wireguard]
server1 inte_ip=10.0.255.1
server2 inte_ip=10.0.255.2
Playbook
---
- hosts: wireguard
remote_user: root
roles:
- indexyz.wireguard
Licencja
MIT
Zainstaluj
ansible-galaxy install indexyz.wireguard
Licencja
mit
Pobrania
99
Właściciel
The ulimited way to deploy sever