[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
howtos:network_services:tinc [2014/03/12 14:05 (UTC)] – spelling tonberryhowtos:network_services:tinc [2019/03/25 10:36 (UTC)] – modified tinc-up and added tinc-down tonberry
Line 65: Line 65:
 #!/bin/sh #!/bin/sh
 ip addr add 192.168.1.1/24 dev vpnNIC ip addr add 192.168.1.1/24 dev vpnNIC
 +ip route add 192.168.1.0/24 dev vpnNIC
 ip link set vpnNIC up ip link set vpnNIC up
 +</file>
 +
 +  * Create tinc-down script that deconfigures VPN interface when VPN shuts down. Make the file executable too.
 +
 +<file - tinc-down>
 +#!/bin/sh
 +ip link set vpnNIC down
 +ip route del 192.168.1.0/24 dev vpnNIC
 +ip addr del 192.168.1.1/24 dev vpnNIC
 </file> </file>
  
 howtos:network_services:tinc ()