--- title: wireguard type: docs --- [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.wireguard) [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.wireguard?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.wireguard) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?label=license)](https://gitea.rknet.org/ansible/xoxys.wireguard/src/branch/main/LICENSE) Setup wireguard VPN. - [Default Variables](#default-variables) - [wireguard_address](#wireguard_address) - [wireguard_interface](#wireguard_interface) - [wireguard_peers](#wireguard_peers) - [wireguard_peers_unmanaged](#wireguard_peers_unmanaged) - [wireguard_port](#wireguard_port) - [wireguard_postdown](#wireguard_postdown) - [wireguard_postup](#wireguard_postup) - [wireguard_predown](#wireguard_predown) - [wireguard_preup](#wireguard_preup) - [Dependencies](#dependencies) --- ## Default Variables ### wireguard_address #### Default value ```YAML wireguard_address: 10.0.0.1/24 ``` ### wireguard_interface #### Default value ```YAML wireguard_interface: wg0 ``` ### wireguard_peers #### Default value ```YAML wireguard_peers: [] ``` ### wireguard_peers_unmanaged #### Default value ```YAML wireguard_peers_unmanaged: [] ``` ### wireguard_port #### Default value ```YAML wireguard_port: '51820' ``` ### wireguard_postdown #### Default value ```YAML wireguard_postdown: [] ``` ### wireguard_postup #### Default value ```YAML wireguard_postup: [] ``` ### wireguard_predown #### Default value ```YAML wireguard_predown: [] ``` ### wireguard_preup #### Default value ```YAML wireguard_preup: [] ``` ## Dependencies None.