All Projects → dynamist → ansible-role-wireguard-vyatta

dynamist / ansible-role-wireguard-vyatta

Licence: Apache-2.0 license
Ansible role for managing wireguard on vyatta based routers

Projects that are alternatives of or similar to ansible-role-wireguard-vyatta

split-vpn
A split tunnel VPN script for Unifi OS routers (UDM, UXG, UDR) with policy based routing.
Stars: ✭ 589 (+3172.22%)
Mutual labels:  wireguard
desktop-app-ui
Official IVPN Desktop app (legacy version)
Stars: ✭ 23 (+27.78%)
Mutual labels:  wireguard
wireguard
Wireguard for UDM
Stars: ✭ 56 (+211.11%)
Mutual labels:  wireguard
udppunch
udppunch hole for wireguard
Stars: ✭ 123 (+583.33%)
Mutual labels:  wireguard
wireguard exporter
Command wireguard_exporter implements a Prometheus exporter for WireGuard devices. MIT Licensed.
Stars: ✭ 94 (+422.22%)
Mutual labels:  wireguard
AutoScriptVPS
VPN AutoScript
Stars: ✭ 59 (+227.78%)
Mutual labels:  wireguard
erx-shadowsocks-libev
GFWList Mode
Stars: ✭ 39 (+116.67%)
Mutual labels:  edgeos
desktop-app-cli
Official IVPN command-line interface (CLI)
Stars: ✭ 18 (+0%)
Mutual labels:  wireguard
wiregui
A graphical user interface for wireguard (client-side) for linux and windows
Stars: ✭ 99 (+450%)
Mutual labels:  wireguard
wireguard config maker
Simple Java program to create wireguard client config files
Stars: ✭ 51 (+183.33%)
Mutual labels:  wireguard
wg-portal
WireGuard Configuration Portal with LDAP connection
Stars: ✭ 476 (+2544.44%)
Mutual labels:  wireguard
Wireguard-DNScrypt-VPN-Server
Fast setup wireguard server script, with dnscrypt and adblocking, maleware blocking, more blocking if you need. Use case eg. always on vpn and adblocking on ios or android, and be more secured in unknown networks.
Stars: ✭ 48 (+166.67%)
Mutual labels:  wireguard
wgrest
WireGuard REST API
Stars: ✭ 92 (+411.11%)
Mutual labels:  wireguard
WGDashboard
Simplest dashboard for WireGuard VPN written in Python w/ Flask
Stars: ✭ 772 (+4188.89%)
Mutual labels:  wireguard
addon-tailscale
Tailscale - Home Assistant Community Add-ons
Stars: ✭ 47 (+161.11%)
Mutual labels:  wireguard
wireguard-tools
Wireguard helper scripts
Stars: ✭ 147 (+716.67%)
Mutual labels:  wireguard
monitoring-utilities
Miscellaneous tools and utilities for collection, manipulation, and logging of various metrics
Stars: ✭ 16 (-11.11%)
Mutual labels:  edgeos
ha-edgeos
Integration with EdgeOS (Ubiquiti)
Stars: ✭ 97 (+438.89%)
Mutual labels:  edgeos
wgctl
Utility to configure and manage your WireGuard tunnels
Stars: ✭ 59 (+227.78%)
Mutual labels:  wireguard
wgipam
Command wgipamd implements an IP Address Management (IPAM) daemon for dynamic IP address assignment to WireGuard peers, using the wg-dynamic protocol. Apache 2.0 Licensed.
Stars: ✭ 27 (+50%)
Mutual labels:  wireguard

ansible-role-wireguard-vyatta

A simple role to install Wireguard DEB package on Vyatta based routers and to configure peers

Currently only supports EdgeOS

To do both do installation and configuration, the playbook must be defined with two entries:

  • First is to install the executable using regular SSH (wireguard_install)
  • Second is to configure Vyatta using networking module (wireguard_configure)

Requirements

Vyatta based units (Vyatta, EdgeOS, VyOS)

Role Variables

wireguard_url (default: https://api.github.com/repos/WireGuard/wireguard-vyatta-ubnt/releases)

wireguard_release (default: 1.0.20210424-1)

wireguard_config_dir (default: /config/wireguard)

wireguard_wg_interfaces (default: [])

Dependencies

requirements.yaml:

collections:
- community.network

Install using:

  • ansible-galaxy collection install -r requirements.yaml

Example Playbook

Playbook to run against EdgeOS routers.

---
- name: EdgeOS wireguard install
  hosts: routers
  gather_facts: false
  vars:
    wireguard_install: true
    wireguard_configure: false
  roles:
    - ansible-role-wireguard-vyatta

- name: EdgeOS wireguard configure
  hosts: routers
  gather_facts: false
  connection: network_cli
  vars:
    ansible_network_os: edgeos
    wireguard_install: false
    wireguard_configure: "server"  # change to "client" for client
    wireguard_wg_interfaces:
      - interface: wg0
        description: "VPN Clients"
        address: 192.168.58.1/24
        # privkey: <private key> assign private key with a variable instead of a file for client
        port: 51820 # client doesn't use port
        peer:
          - id: "AAAAAAAAAABBBBBBBBBBCCCCCCCCCCCCDDDDDDDDDDD="
            description: "peer 1"
            allowed_ips: 192.168.53.101/32
            # endpoint: <IP of server>:<port>  # client needs an endpoint as well
  roles:
    - ansible-role-wireguard-vyatta

License

Apache 2.0

Author Information

Author: Richard Holmboe [email protected]

Website: https://dynamist.se/en/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].