Changes

Jump to navigation Jump to search
1,478 bytes added ,  3 years ago
Line 55: Line 55:     
== TINC ==
 
== TINC ==
Information on how to setup TINC.
+
Information on how to setup tinc.
 +
 
 +
You can download tinc for *nix and Windows systems from https://www.tinc-vpn.org/
 +
 
 +
=== Simplified Windows setup ===
 +
Examples on how to setup Windows as either a server or client.
 +
 
 +
==== Server side config ====
 +
# Download tinc
 +
# Install tinc# Open command prompt and type the following:
 +
    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      (Note disconnected interface.  May be called Ethernet 2)
 +
    netsh 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          (Should create a tinc interface with IP and subnet)
 +
    cd ..
 +
 
 +
To start tinc:
 +
    tincd -n vpn
 +
 
 +
To invite clients:
 +
    tinc -n vpn invite client1
 +
 
 +
 
 +
==== Client side config ====
 +
# Download tinc
 +
# Install tinc
 +
# Open command prompt and type the following:
 +
    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      (Note disconnected interface.  May be called Ethernet 2)
 +
    netsh interface set interface name = "Ethernet 2" newname = "tinc"
 +
    netsh interface ip set address "tinc" static 10.0.1.2  255.255.255.0
 +
    cd ..
 +
 
 +
To test connection:
 +
    tincd -n vpn -D -d3
 +
 
 +
To run tinc as sercice:
 +
    tincd -n vpn
    
== Wireguard ==
 
== Wireguard ==

Navigation menu