User Tools

Site Tools


tincvpn_setup

This is an old revision of the document!


TincVPN Setup

You need at least 2 Server with Debian or Ubuntu for this Howto.

Server 1 & 2

apt-get install tinc
mkdir /etc/tinc/myVPN

Add myVPN into /etc/tinc/nets.boot below

## This file contains all names of the networks to be started on system startup.

Lets create tinc.conf

cd /etc/tinc/myVPN

Server 1 Add into /etc/tinc/myVPN/tinc.conf

Name = Server1
AddressFamily = ipv4
Interface = tun0
#ConnectTo = Server1
ConnectTo = Server2	

Server 2 Add into /etc/tinc/myVPN/tinc.conf

Name = Server2
AddressFamily = ipv4
Interface = tun0
ConnectTo = Server1
#ConnectTo = Server2	

Server 1 & 2

mkdir /etc/tinc/myVPN/hosts
cd /etc/tinc/myVPN/hosts

Server 1 Add into /etc/tinc/myVPN/hosts/Server1

Address = Server1_publicIP
#Port = 665
Subnet = 10.0.0.1/32

Server 2 Add into /etc/tinc/myVPN/hosts/Server2

Address = Server2_publicIP
#Port = 665
Subnet = 10.0.0.2/32
tincvpn_setup.1494673278.txt.gz · Last modified: 2021/11/25 22:43 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki