closedvpn/tinc-up-template

8 lines
193 B
Bash
Executable File

#!/bin/sh
ifconfig $INTERFACE <DEINE IP> netmask 255.255.0.0
# MacOS X
#ifconfig $INTERFACE <DEINE IP> 10.42.0.0 mtu 1500 netmask 255.255.0.0
#route add -net <DEINE IP> 10.42.0.0 255.255.0.0