Tinc Vpn

mkdir -p /etc/tinc/skynet/hosts

cd /etc/tinc/skynet

vi tinc.conf
Name = hetzner
AddressFamily = any
Device = /dev/net/tun
Mode = switch
#ConnectTo = hetzner


vi tinc-up
#!/bin/sh
ifconfig $INTERFACE 10.0.0.2 netmask 255.255.255.0

vi tinc-down
#!/bin/sh
ifconfig $INTERFACE down

sudo chmod +x tinc-*

vi hosts/hetzner
Address = 195.201.22.254
Subnet = 10.0.0.0/24

sudo tincd -n skynet -K4096
pub/tinc-vpn.txt · Zuletzt geändert: 2019/12/13 13:16 von Marco Krage