Open GoogleCodeExporter opened 8 years ago
您是說autoddvpn提供的wget+openvpn/classicMode 無法正常使用是嗎?
Original comment by pahud...@gmail.com
on 13 Feb 2012 at 8:10
不是用autoddvpn提供的wget脚本,而是下载jffs openvpn grace
mode的vpnup.sh和vpndown.sh,然后在其他地方找了个可以wget使用的
openvpn,最后把这两部分结合起来,实现无jffs和openvpn功能的��
�由器(比如TP-LINK WR841N)以openvpn玩autoddvpn gracemode
Original comment by yezhi....@gmail.com
on 17 Feb 2012 at 5:50
你好,,你所说的方案可否更详细一点??有兴趣。
Original comment by shundego...@gmail.com
on 19 Feb 2012 at 5:52
所需文件见附件,把它们解压,然后根据自己的情况修改这��
�文件
setup_openvpn_wr841n.sh
openvpn/ca.crt
openvpn/client.crt
openvpn/client.key
openvpn.conf
修改完毕后把openvpn目录使用tar -czvf openvpn_pack.tar.gz
openvpn命令把openvpn目录打包成openvpn_pack.tar.gz
然后把openvpn_pack.tar.gz和setup_openvpn_wr841n.sh上传到你自己的WEB��
�务器上,这样就可以wget了
怎么wget呢?用下面这个脚本
#!/bin/sh
#date 021800002011
echo "
#!/bin/sh
while ! ls /tmp/openvpn/client | grep -q \"client\"; do
sleep 30
killall -9 setup_openvpn.sh
killall -9 wget
killall -9 gzip
killall -9 tar
cd /tmp
rm -f ./setup_openvpn_wr841n.sh
wget http://你自己的WEB服务器/setup_openvpn_wr841n.sh
chmod a+x ./setup_openvpn_wr841n.sh
./setup_openvpn_wr841n.sh
if ls /tmp/openvpn/client | grep -q \"client\"; then
cd /tmp/openvpn
./start_openvpn.sh &
exit
fi
done
" > /tmp/get_openvpn.sh
#sleep 5
chmod a+x /tmp/get_openvpn.sh
sh /tmp/get_openvpn.sh &
把这个脚本保存为路由器的启动脚本即可,根据你的网速,��
�般开启路由器后1-2分钟即可开始翻墙了
Original comment by yezhi....@gmail.com
on 28 Feb 2012 at 1:06
Attachments:
楼主给个可以直接AUTODDVPN的841N V7的固件吧。
Original comment by chenjial...@gmail.com
on 5 Apr 2012 at 12:33
[deleted comment]
很赞,麻烦问楼主,这个压缩包里面的openvpn能在Buffalo的DD-WRT
上面使用么?或者如何找到适合特定型号的可执行openvpn然后�
��行wget.
Original comment by timesk...@gmail.com
on 9 Jan 2013 at 10:33
Original issue reported on code.google.com by
yezhi....@gmail.com
on 13 Feb 2012 at 6:04