資源描述:
《Tomato-VPN設(shè)置》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫(kù)。
1、Tomato路由器的OpenVpn設(shè)置一、制作證書(shū)1.1安裝openvpn-2.2-beta3-install.exe文件,具體步驟,請(qǐng)見(jiàn)安裝文件說(shuō)明,在此不累贅了。1.2配置證書(shū),在C:ProgramFilesOpenVPNeasy-rsa文件夾下,修改vars.bat.sample文件里面的配置,提前修改好,為下面制作證書(shū)做準(zhǔn)備。setKEY_COUNTRY=CN//國(guó)家setKEY_PROVINCE=JiangSu//省份setKEY_CITY=LianYunGang//城市setKEY_ORG=ahwt//機(jī)構(gòu)名稱set
2、KEY_EMAIL=hcf1314@host.domain//郵箱1.3黃色背景為輸入命令C:DocumentsandSettingshcf1314>cdC:ProgramFilesOpenVPNeasy-rsaC:ProgramFilesOpenVPNeasy-rsa>init-configC:ProgramFilesOpenVPNeasy-rsa>copyvars.bat.samplevars.bat已復(fù)制1個(gè)文件。C:ProgramFilesOpenVPNeasy-rsa>copyopenssl.cn
3、f.sampleopenssl.cnf已復(fù)制1個(gè)文件。C:ProgramFilesOpenVPNeasy-rsa>varsC:ProgramFilesOpenVPNeasy-rsa>clean-all系統(tǒng)找不到指定的文件。已復(fù)制1個(gè)文件。已復(fù)制1個(gè)文件。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、.+..............+.........+.......+..........+...........................................................+....