wuantony0701 / autoddvpn

Automatically exported from code.google.com/p/autoddvpn
0 stars 0 forks source link

Enter one-line summary 请用一行字描述你的状况 #53

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
#-------------------openvpn连接后取得tun设备编号
ifconfig |grep tun | grep -Eo "tun([0-9.]+)" | cut -d: -f2
#-------------------

Original issue reported on code.google.com by yinxiaoh...@gmail.com on 27 Feb 2011 at 4:08