User Tools

Site Tools


tincvpn_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tincvpn_setup [2017/05/13 12:13] neoontincvpn_setup [2021/11/25 22:42] (current) – external edit 127.0.0.1
Line 4: Line 4:
  
 **Server 1 & 2** **Server 1 & 2**
-  apt-get install tinc +  apt-get install tinc && mkdir /etc/tinc/myVPN
-  mkdir /etc/tinc/myVPN+
  
-Add myVPN into /etc/tinc/nets.boot below+Add 
 +  myVPN  
 +into /etc/tinc/nets.boot below
   ## This file contains all names of the networks to be started on system startup.   ## This file contains all names of the networks to be started on system startup.
  
Line 32: Line 33:
    
 **Server 1 & 2** **Server 1 & 2**
-  mkdir /etc/tinc/myVPN/hosts +  mkdir /etc/tinc/myVPN/hosts && cd /etc/tinc/myVPN/hosts
-  cd /etc/tinc/myVPN/hosts+
      
 **Server 1** **Server 1**
Line 82: Line 82:
 For Server 2 we need to copy /etc/tinc/myVPN/hosts/Server2 to Server1, /etc/tinc/myVPN/hosts/Server2 For Server 2 we need to copy /etc/tinc/myVPN/hosts/Server2 to Server1, /etc/tinc/myVPN/hosts/Server2
  
 +**Finish**\\
 +Since Tinc is in nets.boot you can just reboot your boxes or sudo service tinc start. \\
  
 +For Debian 10 you can use:
 +  systemctl enable tinc@myVPN
 +  systemctl start tinc@myVPN
 +
 +If you have issues, you can debug if tinc is able to open a connection to the other server with
 +  sudo tincd -n myVPN -D -d3
 +  
 +**You need to enable TUN/TAP for OVZ**
  
tincvpn_setup.1494673995.txt.gz · Last modified: 2021/11/25 22:43 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki