Jump to content

Tinc: Difference between revisions

From tmplab
Line 14: Line 14:
                             TincServer
                             TincServer


== Nets.boot ==
== nets.boot ==


  networkname
  networkname
Line 24: Line 24:
  ConnectTo=TincServer
  ConnectTo=TincServer
  AddressFamily = ipv4
  AddressFamily = ipv4
== tinc-up ==
#!/bin/bash
ifconfig $INTERFACE 192.168.142.20 netmask 255.255.255.0


====
====

Revision as of 00:07, 25 May 2016

Yet Another Help For Basic tinc-vpn setup

Configuration Directory Structure

/etc/tinc/
          nets.boot
          networkname/
                      tinc.conf
                      tinc-up
                      tinc-down
                      hosts/
                            Client1
                            Client2
                            TincServer

nets.boot

networkname

tinc.conf

Name=Client1
Device=/dev/net/tun
ConnectTo=TincServer
AddressFamily = ipv4

tinc-up

#!/bin/bash
ifconfig $INTERFACE 192.168.142.20 netmask 255.255.255.0

==