Quick & Easy: Tinc 1.1pre15 VPN between Windows Systems
Tinc VPN 1.1pre15 on Windows
with windows client (repeat client step to add more clients)
Firewall
open firewall port 655 on your router
Install Tinc VPN
Download & Install Tinc 1.1pre14
Configure master node (master)
Ctrl + R then C:\Program Files\tinc
& Enter
Click on File > Open Command Prompt as Administrator
tinc -n vpn init master
tinc -n vpn add subnet 20.0.0.1
tinc -n vpn add address=public.domain-or-ip
setup ethernet interface
cd tap-win64
addtap.bat
cd ..
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 20.0.0.1 255.255.255.0
netsh interface ipv4 show config
now you should have a tinc interface with ip/subnet
Configure client node (client1)
if you want to add more clients, change name and ip
Download & Install Tinc 1.1pre15
Ctrl + R then C:\Program Files\tinc
& Enter
Click on File > Open Command Prompt as Administrator
tinc -n vpn init client1
tinc -n vpn add connectto master
tinc -n vpn add subnet 20.0.0.2
setup ethernet interface
cd tap-win64
addtap.bat
cd ..
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 20.0.0.2 255.255.255.0
copy the files/keys
- on client1 machine, copy the
vpn/hosts/client1
file to yourvpn/hosts
folder on your master machine - on master machine, copy the
vpn/hosts/master
file to yourvpn/hosts
folder on your client1 machine
test it with
Router
tincd -n vpn -D -d3
ping 20.0.0.2
(after both is up!)- issues, disable your firewall, open port 655..
Client1
tincd -n vpn -D -d3
ping 20.0.0.1
(after both is up!)- issues, disable your firewall, open port 655..
Run as daemon (on both router and client)
Router:
tincd -n vpn
Client
tincd -n vpn
Tips
- ping 20.0.0.1 from client1
- ping 20.0.0.2 from master
- try opening windows share
\\20.0.0.1
from client1 - try opening windows share
\\20.0.0.2
from master - try remote desktop, ftp, etc to check if it works