liuxuan30 / autoddvpn

DD-WRT VPN, imported from autoddvpn on code.google.com
1 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 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