#!/bin/sh #helper script. used in epoch's /etc/ifconfig.gre0 for his laptop #usage: $0 $interface $VPN_endpoint $port #needs epoch's hop0 and gethostbyname or equivalent programs. :P ifconfig "$1" tunnel "$(hop0 "$2")","$3" "$(gethostbyname "$2")","$3"