October 21, 2017
Simplified Tinc 1.1 on Windows 10
on server
- search for
command promptand right click to run as administrator cd "C:\Program Files\tinc"tinc -n vpn init mastertinc -n vpn add subnet 10.0.1.1tinc -n vpn add address=public.domain-or-ipcd tap-win64addtap.batnetsh interface ipv4 show interfaceslocate 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.0netsh interface ipv4 show confignow you should have a tinc interface with ip/subnetcd ..tincd -n vpnto run tinctinc -n vpn invite client1to invite clients
on clients
- search for
command promptand right click to run as administrator cd "C:\Program Files\tinc"tinc join <invite-url>tinc -n vpn add subnet 10.0.1.2cd tap-win64addtap.batnetsh interface ipv4 show interfaceslocate 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.0cd ..tincd -n vpn -D -d3to testtincd -n vpnto 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.1from client1 - try opening windows share
\\10.0.1.2from master - try remote desktop, ftp, etc to check if it works