Welcome to the Slackware Documentation Project


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

Link to this comparison view

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

In Other Languages
QR Code
QR Code howtos:network_services:tinc (generated for current page)