2019-11-01 22:05:18 +00:00
|
|
|
Tinc
|
|
|
|
============
|
|
|
|
|
|
|
|
Setup and configuration of a tinc VPN network.
|
|
|
|
|
|
|
|
|
|
|
|
Requirements
|
|
|
|
------------
|
|
|
|
|
|
|
|
none
|
|
|
|
|
|
|
|
|
|
|
|
Role Variables
|
|
|
|
--------------
|
|
|
|
|
2019-11-03 15:27:52 +00:00
|
|
|
Central configuration:
|
|
|
|
* `tinc_vpn_id`: name of the vpn to be created (default: `vpn0`)
|
|
|
|
* `tinc_central_host`: hostname of the always-on server (default: `hetzner-01`)
|
|
|
|
* `tinc_vpn_net`: local vpn network (IPv4, CIDR notation)
|
|
|
|
* `tinc_remote_nets`: list of remote networks, that should be forwarded to localhost (TODO: currently only one entry supported)
|
|
|
|
* `net_cidr`: IPv4 network range (CIDR notation)
|
|
|
|
* `gateway`: VPN network IP address of the gateway
|
|
|
|
|
|
|
|
Configuration for each host:
|
|
|
|
* `tinc_client_ip`: own IP address in the tinc-local network
|
|
|
|
* `tinc_public_addr`: public domain or IP address of the central server
|
2019-11-01 22:05:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
Dependencies
|
|
|
|
------------
|
|
|
|
|
|
|
|
none
|
|
|
|
|
|
|
|
|
|
|
|
Example Playbook
|
|
|
|
----------------
|
|
|
|
|
|
|
|
TODO
|
|
|
|
|
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
GPLv3
|
|
|
|
|