indexyz.wireguard

indexyz.wireguard

构建状态

快速设置 Wireguard 网状网络

需求

系统应允许 dkms 加载 Wireguard 内核扩展。

角色变量

名称 默认值 类型 描述
mtu 1420 数字 Wireguard 网络接口的 mtu
ip_cidr_range 16 数字 Wireguard 子网大小
listen_port 32091 数字 Wireguard 监听端口
inte_ip None 字符串? Wireguard 接口 ip(例如 10.255.255.1)
interface_name wg0 字符串 Wireguard 接口名称

示例剧本

库存

[wireguard]
server1 inte_ip=10.0.255.1
server2 inte_ip=10.0.255.2

剧本

---
- hosts: wireguard
  remote_user: root
  roles:
    - indexyz.wireguard

许可

MIT

关于项目

Automation wireguard mesh private networking

安装
ansible-galaxy install indexyz.wireguard
许可证
mit
下载
99
拥有者
The ulimited way to deploy sever