eth="eth0"
eth_ip=`ifconfig | grep -A 1 eth0 $eth | tail -1 | awk -F':' '{printf $2}' | awk '{print $1}'`eth_netmask=`ifconfig | grep -A 1 eth0 $eth | tail -1 | awk -F':' '{printf $4}' | awk '{print $1}'`eth_broadcast=`ifconfig | grep -A 1 eth0 $eth | tail -1 | awk -F':' '{printf $3}' | awk '{print $1}'`
openvpn --mktun --dev $tap