欢迎来到天天文库
浏览记录
ID:38227548
大小:350.42 KB
页数:7页
时间:2019-06-07
《Tomato-VPN设置》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Tomato路由器的OpenVpn设置一、制作证书1.1安装openvpn-2.2-beta3-install.exe文件,具体步骤,请见安装文件说明,在此不累赘了。1.2配置证书,在C:ProgramFilesOpenVPNeasy-rsa文件夹下,修改vars.bat.sample文件里面的配置,提前修改好,为下面制作证书做准备。setKEY_COUNTRY=CN//国家setKEY_PROVINCE=JiangSu//省份setKEY_CITY=LianYunGang//城市setKEY_ORG=ahwt//机构名称set
2、KEY_EMAIL=hcf1314@host.domain//邮箱1.3黄色背景为输入命令C:DocumentsandSettingshcf1314>cdC:ProgramFilesOpenVPNeasy-rsaC:ProgramFilesOpenVPNeasy-rsa>init-configC:ProgramFilesOpenVPNeasy-rsa>copyvars.bat.samplevars.bat已复制1个文件。C:ProgramFilesOpenVPNeasy-rsa>copyopenssl.cn
3、f.sampleopenssl.cnf已复制1个文件。C:ProgramFilesOpenVPNeasy-rsa>varsC:ProgramFilesOpenVPNeasy-rsa>clean-all系统找不到指定的文件。已复制1个文件。已复制1个文件。C:ProgramFilesOpenVPNeasy-rsa>build-caLoading'screen'intorandomstate-doneGeneratinga1024bitRSAprivatekey.........................+++++
4、+.....................++++++writingnewprivatekeyto'keysca.key'-----Youareabouttobeaskedtoenterinformationthatwillbeincorporatedintoyourcertificaterequest.WhatyouareabouttoenteriswhatiscalledaDistinguishedNameoraDN.TherearequiteafewfieldsbutyoucanleavesomeblankForsomefi
5、eldstherewillbeadefaultvalue,Ifyouenter'.',thefieldwillbeleftblank.-----CountryName(2lettercode)[CN]:StateorProvinceName(fullname)[JiangSu]:LocalityName(eg,city)[LianYunGang]:OrganizationName(eg,company)[ahwt]:OrganizationalUnitName(eg,section)[]:cmccCommonName(eg,yourn
6、ameoryourserver'shostname)[]:hcf1314EmailAddress[hcf1314@host.domain]:C:ProgramFilesOpenVPNeasy-rsa>build-dhLoading'screen'intorandomstate-doneGeneratingDHparameters,1024bitlongsafeprime,generator2Thisisgoingtotakealongtime................................+..........+
7、............+.......+......................+......................................................+..............................+..............................+..........+........................+....................+.....+..........................+...........+.......
8、.+..............+.........+.......+..........+...........................................................+....
此文档下载收益归作者所有