Simplified Tinc 1.1 on Windows 10
on server
- search for
command prompt
and right click to run as administrator cd "C:\Program Files\tinc"
tinc -n vpn init master
tinc -n vpn add subnet 10.0.1.1
tinc -n vpn add address=public.domain-or-ip
cd tap-win64
addtap.bat
netsh interface ipv4 show interfaces
locate the one thats disconnected probably Ethernet 2netsh interface set interface name = "Ethernet 2" newname = "tinc"
netsh interface ip set address "tinc" static 10.0.1.1 255.255.255.0
netsh interface ipv4 show config
now you should have a tinc interface with ip/subnetcd ..
tincd -n vpn
to run tinctinc -n vpn invite client1
to invite clients
on clients
- search for
command prompt
and right click to run as administrator cd "C:\Program Files\tinc"
tinc join <invite-url>
tinc -n vpn add subnet 10.0.1.2
cd tap-win64
addtap.bat
netsh interface ipv4 show interfaces
locate the one thats disconnected probably Ethernet 2netsh interface set interface name = "Ethernet 2" newname = "tinc"
netsh interface ip set address "tinc" static 10.0.1.2 255.255.255.0
cd ..
tincd -n vpn -D -d3
to testtincd -n vpn
to run tinc as deamon
Test it
Master
ping 10.0.1.2
(after both is up!)- issues, disable your firewall, open port 655..
Client1
ping 10.0.1.1
(after both is up!)- issues, disable your firewall, open port 655..
Tips
- try opening windows share
\\10.0.1.1
from client1 - try opening windows share
\\10.0.1.2
from master - try remote desktop, ftp, etc to check if it works