Hardware A client of mine recently had need of a VPN link between their main office and a remote office. Based on previous experience, I decided the OpenVPN version of DD-WRT running on two low-cost routers would provide a cost-effective solution to the problem. My goal was to create a VPN that would allow systems on either side of the connection to have connectivity with systems on the other side, but not pass broadcast traffic. I also wanted the routers to automatically connect on startup and continually try to reconnect if Internet connectivity was lost. I couldnt find any other documentation on the Interwebs that described this solution, so I decided to lay it out here on ShortBus. Installing the Firmware The first thing you will need is two routers capable of running DD-WRT. In my case, I chose two Buffalo WHR-G54Ss. Next, you will need to download the latest VPN version of DD-WRT. Make sure your get the right version for your brand of router. Finally, follow the firmware installation instructions making sure you check for any special procedure for your router. Buffalo routers require a unique procedure for the initial flash of DD-WRT. The LAN subnets of the routers must be different for this configuration. This needs to be setup in the web interface of DD-WRT. For the purposes of this tutorial, the OpenVPN server subnet is 192.168.1.0/255.255.255.0 and the OpenVPN client subnet is 192.168.2.0/255.255.255.0 Creating OpenSSL Keys The next step is to generate Public Key Infrastructure (PKI) certificates and keys for your routers. The easiest way to do this is to download a copy of OpenVPN onto your local system. If you use Ubuntu Linux, you can do this with # apt-get install openvpn The key generation scripts are located in /usr/share/doc/openvpn/examples/easy-rsa. cd there and follow the PKI generation instructions on the OpenVPN web site. You need to generate a client cert/key pair the server and one for each client. Be sure to give each client certificate a unique .mon Name. Creating the DD-WRT Startup Scripts The procedure here is to generate the OpenVPN config files and cert/key files from the startup script in /tmp on each boot. Replace the INSERT YOUR OWN CONTENT HERE with the certs/keys generated in the last section. About the Author: 相关的主题文章:

 

Comments are closed.



haole10.com,midd-885,www.9999mp.com,www.ggg258.com,www.yyy13.com,haha视频 www.1hhh.com,www.tubecao.com,www.sdcp.cn,haha视频,火牛视频 k17.cc,友链交换,haha视频,火牛视频 火牛视频,haha视频,www.nmec.org.cn 519697,友链交换,火牛视频,haha视频 www.yiyi.cc,www.cqpx.cc,www.cnool.net,www.xici.net,www.yofoto.cn,haha视频 zghd,ppp13.com,www.ddd13.com,www.cm68.com,ca1290,周同宇,haha视频,火牛视频 www.jhyc.cn,www.kisstudou.com,友链交换,haha视频,火牛视频 kkxxse.com,www.jhyc.cn,ekdv-273,sayu-02,haha视频,火牛视频 pppd-175,www.zhibo8.cc,haha视频 haha视频 www.40sqw.com,haha视频 haha视频,火牛视频 www.h4610.com,巴特尔道尔吉,石悦军,许皓博,友情链接交换,haha视频,火牛视频 www.xinkebiao.com.cn,www.souhu.com,佃庄吧,宋世长,imjpmig,万万没想到之鹿晗篇,三胞胎替母寻夫,友链交换,haha视频,火牛视频 xingbayounichunnuanhuakai,haha视频,友链交换 www.ddd13.com,www.cm68.com,www.kfc.com.cn,3u8813,ca1834,9c8947,haha视频,火牛视频 4987tv影视,友情链接是什么意思,友情链接的作用 haha视频,kkxxse.com,www.tubecao.com 友链交换,火牛视频,haha视频 翁其钊,haha视频,火牛视频 minmi,yezimei,火牛视频,haha视频 火牛视频,haha视频,友链交换 mcncc,www.33bbb.com,haha视频 www.yofoto.cn,www.cqpx.cc,haha视频,火牛视频 yn111,k8k8.com,whereisip,www.gdosta.org.cn,haha视频,火牛视频 innawoods,ajviewer,haha视频 tom365.com,9c8947,haha视频,火牛视频 haha视频,tom365.com,友链交换 yyets.com,haha视频 9c8996,66bobo,友链交换,haha视频 火牛视频,haha视频,友链交换 www.gpsoo.net,www.faxuan.net,www.zjzs.com,www.cmechina.net,三色网 333se.cc,驯龙高手dm456,友情链接交换,火牛视频,haha视频 www.yyy13.com,www.yinwowo.com,火牛视频,haha视频 www.seseou.com,haole010.com,友情链接买卖,haha视频 yazhoutuse,www.yofoto.cn,www.jhyc.cn,baxia,www.eee50.com,qqzb.cc,www.yngbzx.cn,haha视频 www.555kfc.com,www.xs99.com,友链交换,haha视频,火牛视频 www.semm.com,imjpmig,lata-01,kd.wuhan.net.cn,www.q1se.com,友链交换,火牛视频,haha视频 www.cpew.cn,www.daum.net,lata-01,www.yngbzx.cn,www.q1se.com,www.daum.net,1256789,haha视频,火牛视频 haha视频,www.yngbzx.cn,www.cpew.cn,友情链接 英文 dachiyouxiang,www.9999mp.com,www.9999mp.com,sophia cahill,www.74eee.com,ca1835,66814.com,友链交换,haha视频,火牛视频 www.qqq258.com,www.74eee.com,www.xunbo.cc,友链交换,haha视频,火牛视频 www.tubecao.com,dxperience,www.dde8.com,haha视频 www.cpew.cn,www.q1se.com,lata-01,www.cpew.cn,www.q1se.com,www.cpew.cn,友链交换,火牛视频,haha视频 haha视频,www.yngbzx.cn,jkforum,havd707 qqzb.cc,www.cnool.net,www.cqpx.cc,火牛视频,haha视频 haha视频,长春建筑学院教务系统,444ppp,林球立 dachiyouxiang,www.40sqw.com,www.1hhh.com,qqzb.cc,sophia cahill,www.s9797s.com,haha视频,火牛视频 kamikaze love,visualboyadvance, xxjjyy.com,yuanjiao,www.daum.net,haha视频 www.9999mp.com,www.cpew.cn,www.456ai.com,www.kisstudou.com,友链交换,火牛视频,haha视频 ppp13.com,haha视频,火牛视频 ca1835,3u8895,ca1290,ca4111,www.678mmm.com,masa-c,11aabb.com,友链交换,haha视频,火牛视频 ca1835,haha视频,火牛视频 白城师范学院贴吧,江泽名,百世元婴,haha视频 www.gdosta.org.cn,haha视频,火牛视频 haha视频,火牛视频 www.97se.com,haha视频 友链交换,haha视频 www.75zzz.com,www.52cp.cn,9c8950,友链交换,haha视频 www.84qqq.com,www.h4610.com,www.dy2018.net,jkforum,84qqq.com,haha视频,火牛视频 kkxxse.com,haha视频 www.kkxxse.com,ca1816,www.aaa54.com,truffe,www.k17.cc,友链交换 大连枫叶职业技术学院,友情链接的作用 www.ddd13.com,www.44fang.com,www.51zxw.net,mkdv-02 www.1k100.com,www.htsc.com.cn,www.789mmm.com,www.picchealth.com,www.dytt8.net,www.88xoxo.com,友链交换 www.44fang.com,翁其钊,haha视频 www.daum.net,道姑妙妙,haha视频 19ise.com,haha视频 www.cqpx.cc,www.yofoto.cn,haha视频 3u8547,友情链接的作用,haha视频 www.cmechina.net,3u8813,roxane hayward,友链交换,haha视频,火牛视频 www.bxwx.org,www.44fang.com,www.k8k8.com,江苏大学信息门户,友链交换,haha视频 viper12a,unfccc,66814,haha视频 www.88xoxo.com,www.k8k8.com,haha视频 www.souhu.com,www.tubecao.com,roxane hayward,友链交换,haha视频 www.bv2008.cn,友情链接的作用,haha视频,火牛视频 haha视频,火牛视频 9c8836,火牛视频,haha视频 www.b aidu.com,www.yantasy.com,mycoolboy,友链交换,haha视频,火牛视频 h-a-o 薅羊毛的薅,haha视频 www.84qqq.com,友链交换,haha视频 www.40sqw.com,haha视频,火牛视频跑路了吗 www.jhyc.cn,www.444kk.com,www.zhaokao.net,www.zhaokao.com,友链交换 www.yofoto.cn,haha视频 chunnuanhuakaixingbayouni,友链交换,haha视频 pppd-175,友情链接交换,haha视频 www.gpsoo.net,www.haole55.com,haha视频,火牛视频 www.gpsoo.net,www.haole55.com,haha视频,火牛视频 haha视频,火牛视频,火牛视频跑路了吗 武汉音乐学院官网,haha视频,火牛视频跑路了吗 www.jhyc.cn,陈玖福,haha视频 www.19ttt.com,友链交换,火牛视频绑定支付宝安全吗 www.789mmm.com,www.jhyc.cn,火牛视频刷邀请软件,求教程 www.44fang.com,iptd-651,北京科技大学天津学院,火牛视频代刷 www.yofoto.cn,haha视频,火牛视频是不是骗局 xf.faxuan.net,haha视频,火牛视频怎么刷邀请 www.k17.cc,www.1hhh.com,candle june,mine_清翼,友链交换,火牛视频代刷软件 www.44fang.com,www.xunbo.cc,www.75zzz.com,www.dde8.com,友链交换,haha视频 haha视频,火牛视频,火牛视频跑路了吗 www.dde8.com,www.11aabb.com,www.b aidu.com,www.h4610.com,www.49vv.com,www.8008205555,yezimei,www.k8k8.com,www.sac.net.cn,www.kkxxse.com,www.ddd13.com,www.cm68.com,www.yinwowo.com,49vv.com,www.haole15.com,www com,haha视频 www.777vk.com,友情链接 英文,火牛视频吧913 9c8996,友链交换,haha视频 www.xici.net,haha视频,火牛视频 www.haole04.com,www.04jjj.com,haha视频 友链交换,haha视频,火牛视频 k17.cc,www.1hhh.com,火牛视频,haha视频 www.k8k8.com,www.84qqq.com,友链交换,haha视频 浙江万里学院moodle,haha视频,火牛视频 9c8814,www49vv.com,guitarpro5,3edyy,4444.kk.com,9c8996,daum.net,haha视频,火牛视频 阿尔卑斯牧场物语,haha视频,火牛视频跑路了吗 www.b aidu.com,k8k8.com,aidu.com,9c8921,友链交换,haha视频,火牛视频 友情链接买卖,haha视频,火牛视频跑路了吗 www.b aidu.com,aidu.com,9c8921,demonophobia,道姑妙妙,haha视频,火牛视频 www.huangse.com,haha视频,火牛视频跑路了吗 www.40sqw.com,kd.wuhan.net.cn,yezimei,www.haole15.com,masa-c,友链交换,haha视频,火牛视频 浙江金融职业学院,haha视频,火牛视频 www.xinkebiao.com.cn,yezimei,274300,友链交换,haha视频 zhuxianduowan,k8k8.com,9c8950,haha视频,火牛视频 www.cmechina.net,火牛视频,haha视频 kd.wuhan.net.cn,xxjjyy.com,coscoqd,www.yofoto.cn,xxjjyy.com,友链交换 22eee.net,www.1234567.com,pppd-175,haha视频 www.ppp444.com,dachiyouxiang,秋道取风,haha视频 pgd-426,友链交换,haha视频 www.yyy13.com,火牛视频,haha视频 东北大学就业信息网,haha视频,火牛视频 kd.wuhan.net.cn,www.jhyc.cn,dingxiangwuyuetian,友链交换,haha视频 火牛视频跑路了吗,haha视频 火牛视频,haha视频,火牛视频跑路了吗 haha视频,友链交换,火牛视频跑路了吗 www.09955.com,ca1477,kkxxse.com,haha视频,火牛视频 www.haole04.com,mide031,www.04jjj.com,innawoods,haha视频,火牛视频 www.qqq258.com,qqq258,ca1477,www.09955.com,oboni,友链交换,haha视频,火牛视频 qqq258.com,闲坐仙园,友链交换,火牛视频能提现吗 www.8008205555,qqq258.com,www.jhyc.cn,火牛视频怎么样赚钱 www.s9797s.com,www.xs99.com,haha视频,火牛视频贴吧 www.9999mp.com,友链交换,haha视频,火牛视频能赚钱吗 www.44fang.com,www.zhaokao.com,火牛视频跑路,火牛视频跑路了,火牛视频跑路了吗 www.33bbb.com,www.8008205555,100bbb.com,友链交换,haha视频,火牛视频 火牛视频怎么解除绑定,火牛视频吧913 www.tubecao.com,www.cmechina.net,www.dde8.com,www.k17.cc,haha视频,火牛视频,火牛视频微信激活码,火牛视频客服电话多少 www.haole010.com,www.seseou.com,www.8008205555,www.haole17.com,www.haole12.com,友链交换,火牛视频手机验证出错,火牛视频官网是真的吗 sayu-02,艺校的秘密,火牛视频苹果用不了,火牛视频解冻结 manbetx.cc,googims,友情链接交换,火牛视频,haha视频,火牛视频出多久了? www.cpew.cn,www.jhyc.cn,www.kkxxse.com,www.tubecao.com,www.bv2008.cn,www.sdcp.cn,火牛视频怎么样会火吗,友情链接 英文 coscoqd,9c8950,9c8947,manbetx.cc,友链交换,火牛视频客服电话多少,火牛视频什么时候提现 www.dytt8.net,hotavxxx.com,火牛视频官方邀请码,火牛视频客服群 shishangqiyi,haha视频,火牛视频为什么提现失败,火牛视频微信群激活码 www.yinwowo.com,haha视频,火牛视频客服怎么联系,火牛视频为什么提现不了,火牛火牛视频邀请码彬哥给你视频邀请码 东英吉利大学,火牛视频邀请码彬哥送你,火牛视频怎么提现失败,火牛视频官方客服