虽然官方一直都不推荐使用这种不安全的做法,所以官方推出的版本都不支持直接从文件中读取用户名和密码,有得时候为了方便,还是需要把用户名/密码保存到文件。[建议使用NTFS分区,修改好文件的权限] 以前也经常有人问我关于Windows下OpenVPN为什么不能保存用户名和密码呢,为了解决这个问题,决定自己在win下编译OpenVPN。 使用方法: 下载官方OpenVPN,安装后下载本站提供的OpenVPN程序,然后覆盖原来的openvpn.exe文件。 修改client的配置文件,把: auth-user-pass 改成: auth-user-pass mypass.pwd 在client.ovpn所在目录建立mypass.pwd文件,第一行为您的用户名,第二行为您的密码。 2.0.7版本: MD5: a57b098dd1289deab6137774588075e5 *openvpn.exe screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://blog.chinaunix.net/fileicon/rar.gif');}" onmousewheel="return imgzoom(this);" alt="" /> 文件:OpenVPN207_win_With_SavePass.rar 大小:502KB 下载: 下载 2.0.6版本: MD5: a2ffaeba066b4b2c5dc5e4337894a1e8 *openvpn.exe screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://blog.chinaunix.net/fileicon/rar.gif');}" onmousewheel="return imgzoom(this);" alt="" /> 文件:OpenVPN206_win_With_SavePass.rar 大小:502KB 下载: 下载 2.0.5版本: MD5: 96b14154dcaece2c501a3dc924a0f7cd *openvpn.exe screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://blog.chinaunix.net/fileicon/rar.gif');}" onmousewheel="return imgzoom(this);" alt="" /> 文件:OpenVPN205_win_With_SavePass.rar 大小:489KB 下载: 下载 |
|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )
GMT+8, 2024-9-30 11:38 , Processed in 0.087118 second(s), 12 queries , Gzip On, MemCache On.
Powered by Discuz! X3.5
© 2001-2023 Discuz! Team.