![]() To turn on tinc's debug log, specify a logfile on the command line: Add a number to specify the log level (3 by default): To run tinc in the foreground, use the -D flag. Mkdir -p /usr/local/Cellar/tinc/1.0.33/var/run/ On a Mac, you may have to create the following directory first: This file can now be copied to other machines so that they can access tincd -n master -K ![]() This will modify the jupiter file to look like this: Now generate public/private key pair and append to end of machine file: This file can now be copied to other machines so that they can access maya. This will modify the maya file to look like this: Please enter a file to save public RSA key to : Please enter a file to save private RSA key to : Do this by executing the following command: Now, the last step is to generate a public and private key pair for this machine, and append the public key to the end of this machine file. Link: mkdir /usr/local/etc/tinc/master/hosts/ Start by creating a hosts directory (note on Mac the location is /usr/local/etc/tinc instead of /etc/tinc but this is the only difference). This machine file can then be copied to any other machine that wants to connect to our machine. We will create a machine file in this directory with information about the machine's IP address, subnet, and RSA public key. In /etc/tinc/master/ create a directory called hosts. Last step is to create a hosts folder to hold keys and other information about this host (and other hosts). etc/tinc/master/tinc-down on server "jupiter" This will result in the server "jupiter" having the VPN IP address 10.6.0.1 etc/tinc/master/tinc-up on server "jupiter" Start by creating a folder with the same name as the network: usr/local/etc/tinc/master/tinc-down on server "maya"įollowing are the configuration steps taken on Jupiter, a Debian Linux server. This will result in the server "maya" having the VPN IP address 10.6.0.2 usr/local/etc/tinc/master/tinc-up on server "maya" usr/local/etc/tinc/master/nf on server "maya" Within that, create a directory with the same name as the network, master/ mkdir -p /usr/local/etc/tinc/master/ /usr/local/etc/tinc on mac (using homebrew tinc)įollowing are instructions used to set up tinc on Maya, a Mac OS X laptop, using the homebrew-installed tinc.Ĭreate a network configuration directory /usr/local/etc/tinc/./etc/tinc on linux (using aptitude tinc).tinc-down to instruct how to bring down the VPN network interface.tinc-up to instruct how to bring up the VPN network interface and what IP address to use.nf to specify name of this machine and name of machine being connected to.(The tinc documentation also mentions that the network interface that is created will have the same name as the network.) Here we set up the network "starwars" to connect servers "vader" and "luke". One computer can be a part of multiple networks. In Tinc you create different named mesh networks. This will install a daemon called tincd, accessible to the root user only. ![]() This is free software,Īnd you are welcome to redistribute it under certain conditions See the AUTHORS file for a complete list. Tinc is not good for large networks, but it's perfect for a small group of servers that simply need to have access to one another.Ĭopyright (C) 1998-2017 Ivo Timmermans, Guus Sliepen and others. Tinc is a mesh-style VPN software that is very lightweight and easier to configure (and more flexible) than OpenVPN. 4.2 Hostfile for jupiter (debian linux). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |