8000 GitHub - rforberger/ansible-wireguard: A wireguard ansible role with optional fully automatic configuration of peers
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rforberger/ansible-wireguard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A wireguard ansible role with optional fully automatic configuration of peers

Example data:

wireguard:
  peers:
    - { client_name: "192.168.1.2", interface_name: "wgclient1", client_ip: "192.168.108.2", allowed_ips: "192.168.108.0/24", auto_config: True }
    - { client_name: "tablet01", client_ip: "192.168.108.3", allowed_ips: "192.168.108.1/32", auto_config: False }
    - { client_name: "laptop02", client_ip: "192.168.108.4", allowed_ips: "192.168.108.1/32", auto_config: False }
    - { client_name: "laptop04", client_ip: "192.168.108.5", allowed_ips: "192.168.108.1/32", auto_config: False }
    - { client_name: "other.host", interface_name: "wgclient0", client_ip: "192.168.108.6", allowed_ips: "192.168.108.0/24", auto_config: True }
  ips:
    internal: "192.168.108.1"
    subnet_prefix: "24"
  interface_name: "wg0"
  server_port: 60004

About

A wireguard ansible role with optional fully automatic configuration of peers

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

0