Ansible playbook for configuring tinc on debian and OSX machines. 90% done.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ivan Smirnov 19af5137b2 update hosts 5 years ago
group_vars various cleanup 6 years ago
roles add become rules for debian 5 years ago
.gitignore universal VPN is now working 6 years ago clean up redme 6 years ago add journal notes 5 years ago
ansible.cfg fix hosts for flume 5 years ago
hosts update hosts 5 years ago
preamble.yml update handlers and add UFW rules 5 years ago fix bug in puma host name 5 years ago
site.yml various cleanup 6 years ago


This repo is based on I've added roles for an OSX install, and tweaked some paramters.

This playbook will automatically install tinc on OSX and debian hosts, and connect them all. It also updates the /etc/hosts files in order to make the connections easier to remember.


Set up your inventory in hosts

server1 vpn_ip=
server2 vpn_ip=
osxmachine  vpn_ip=

# include your local machine if you want.
mylocalmachine vpn_ip= ansible_connection=local


On osx hosts, run brew cask install tuntap and enter your password when prompted.

Note: You need to use root users for the ubuntu machines.

Update the variables

  • change the netname to whatever you want.

Set Up Tinc

ansible-playbook site.yml


ping server1.fog