blob: 2bfbf174ee6dc2242f0703c20d120d02efbf791a (
plain) (
blame)
1
2
3
4
5
|
#!/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"
|