filer:vpn:up.sh
#!/bin/bash DEFAULT=$(/usr/sbin/netstat -anr |awk '/^default/ {print $2;};'); REMOTE=$(/sbin/ifconfig |awk '/\.99\./ {print $4; };'); /sbin/route add X.X.X.X $DEFAULT /sbin/route add -net X.X $REMOTE
filer/vpn/up.sh.txt · Last modified: 2008/03/14 13:51 by damir