#!/bin/sh ifconfig $INTERFACE /32 netmask 255.255.255.255 route del -net /32 netmask 255.255.255.255 dev $INTERFACE route add -net 10.42.0.0 netmask 255.255.0.0 dev $INTERFACE printf "nameserver 10.42.16.1\nsearch vpn" | resolvconf -a "$INTERFACE.inet"