Thanks to visit codestin.com
Credit goes to github.com

Skip to content

rolehippie/wireguard

Repository files navigation

wireguard

Source Code General Workflow Readme Workflow Galaxy Workflow License: Apache-2.0 Ansible Role

Ansible role to install and configure wireguard VPN.

Sponsor

Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.

Table of content


Requirements

  • Minimum Ansible version: 2.10

Default Variables

wireguard_interface

Interface to define

Default value

wireguard_interface: wg0

wireguard_ip

IP address of the wireguard node

Default value

wireguard_ip:

wireguard_netmask

Netmask of the wireguard node

Default value

wireguard_netmask: 32

wireguard_packages

List of packages to install

Default value

wireguard_packages:
  - bridge-utils
  - linux-headers-generic
  - wireguard-tools
  - wireguard
  - "{{ 'wireguard-dkms' if ansible_distribution_version is version('24.04', '<')
    else omit }}"

wireguard_peers

List of peers to connect to

Default value

wireguard_peers: []

wireguard_port

Port to bind to

Default value

wireguard_port: 51820

wireguard_private

Private encryption key

Default value

wireguard_private:

wireguard_public

Public encryption key

Default value

wireguard_public:

Discovered Tags

wireguard

Dependencies

  • None

License

Apache-2.0

Author

Thomas Boerger

About

Ansible role to install and configure wireguard VPN

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •