{"id":1474,"date":"2010-02-06T02:11:53","date_gmt":"2010-02-05T18:11:53","guid":{"rendered":"https:\/\/www.zuola.com\/weblog\/?p=1474"},"modified":"2011-04-30T19:13:07","modified_gmt":"2011-04-30T11:13:07","slug":"%e6%94%bb%e7%95%a5%ef%bc%9a%e6%8a%8afon%e5%88%b7dd-wrt%e8%ae%a9%e8%b7%af%e7%94%b1%e5%99%a8%e6%94%af%e6%8c%81pptp-pass-through","status":"publish","type":"post","link":"https:\/\/www.zuola.com\/weblog\/2010\/02\/1474.htm","title":{"rendered":"\u653b\u7565\uff1a\u628aFON\u5237dd-wrt\u8ba9\u8def\u7531\u5668\u652f\u6301pptp Pass-through"},"content":{"rendered":"<p><a href=\"http:\/\/img.ly\/sgS\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1476 alignright\" title=\"ipodtouch-vpn\" src=\"\/weblog\/wp-content\/uploads\/2010\/02\/ipodtouch-vpn.jpg\" alt=\"\" width=\"320\" height=\"480\" align=\"\u201dright\u201c\" srcset=\"https:\/\/www.zuola.com\/weblog\/wp-content\/uploads\/2010\/02\/ipodtouch-vpn.jpg 320w, https:\/\/www.zuola.com\/weblog\/wp-content\/uploads\/2010\/02\/ipodtouch-vpn-266x400.jpg 266w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/a>\u6211\u4eca\u5929\u89e3\u51b3\u4e86\u4e00\u4e2a\u95ee\u9898\uff1aFON\u8def\u7531\u5668\u4e0d\u652f\u6301PPTP\u7684VPN\uff0c\u6211\u628aFON\u8def\u7531\u5668\u5237\u6210DD-WRT\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u8fd9\u6837\u5c31\u80fd\u8ba9\u6211\u7684IPod Touch\u548c\u7b14\u8bb0\u672c\u7535\u8111\u80fd\u7ecf\u8fc7FON\u65e0\u7ebf\u8def\u7531\u5668\u7528PPTP\u7684VPN\u767b\u5f55\u56fd\u5916\u7f51\u7ad9\u4e86\u3002\u8fd9\u7bc7\u5197\u957f\u7684\u6587\u7ae0\u5c31\u662f\u8981\u8bb0\u5f55\u8fd9\u4e2a\u8fc7\u7a0b\uff0c\u5e0c\u671b\u80fd\u5e2e\u52a9\u5230\u9047\u5230\u540c\u7c7b\u95ee\u9898\u7684\u4eba\u3002<\/p>\n<p>\u8d77\u56e0\uff1a<\/p>\n<ol>\n<li>\u6211\u4e70\u4e86\u4e00\u4e2a\u82f9\u679c\u7684iPod touch ,\u5b89\u88c5\u4e86\u4e00\u4e9b\u8f6f\u4ef6\uff0c\u5982twitter\u5ba2\u6237\u7aef\u548cfacebook\u5ba2\u6237\u7aef\uff0c\u4f46\u8fd9\u4e9b\u7f51\u7ad9\u5728\u4e2d\u56fd\u88ab\u5c4f\u853d\uff0c\u6211\u9700\u8981\u5728touch\u4e0a\u542f\u7528PPTP\u7684VPN\u624d\u80fd\u6b63\u5e38\u4f7f\u7528\u8fd9\u4e9b\u8f6f\u4ef6\u3002<\/li>\n<li>\u6b63\u597d\u89c1\u5230 <a href=\"https:\/\/twitter.com\/chinavpn\">@chinavpn<\/a> \u5728twitter\u4e0a\u53eb\u5356VPN\u670d\u52a1\uff0c\u624d100\u5143\u4e00\u5e74\uff0c\u6211\u7528paypal\u5411\u4ed6\u652f\u4ed8\u4e8615\u7f8e\u5143\uff0c\u4ed6\u7ed9\u4e86\u6211\u4e00\u4e2aPPTP\u65b9\u5f0f\u767b\u5f55\u7684VPN<\/li>\n<li>\u4f46\u662f\uff0c\u6211\u65e0\u6cd5\u4eceiPod touch\u91cc\u767b\u5f55VPN\uff0c\u4e5f\u65e0\u6cd5\u5728\u7535\u8111\u4e0a\u767b\u5f55\uff0c\u4f46\u6211\u7ecf\u8fc7\u6d4b\u8bd5\uff0c\u7528\u8054\u901a3G\u7684\u7f51\u5361\u4e0a\u7f51\u65f6\uff0cPPTP\u7684VPN\u80fd\u591f\u767b\u5f55\u6210\u529f\uff0c\u6000\u7591\u662f\u4e2d\u56fd\u7535\u4fe1\u7684ADSL\u5c4f\u853d\u4e86PPTP<\/li>\n<li>\u6709\u63a8\u53cb<a href=\"https:\/\/twitter.com\/rse43\">@rse43<\/a> \u63d0\u9192\u6211\uff1a\u201c<strong>\u6709\u5fc5\u8981\u786e\u8ba4\u4e00\u4e0b\u662f\u4e0d\u662f\u7535\u4fe1\u5c4f\u853dPPTP\uff0c\u5f88\u591a\u65f6\u5019\u662f\u4f60\u7684\u8def\u7531\u8bbe\u5907\u4e0d\u652f\u6301 PPTP Passthrough\u9020\u6210\u7684\u95ee\u9898\u3002<\/strong>\u201d \u6211\u89c9\u5f97 @rse43 \u4e0d\u662f\u6545\u610f\u5728\u8bf4\u5e9f\u8bdd\uff0c\u6211\u4e8e\u662f\u67e5\u4e86PPTP Passthrough\u662f\u4ec0\u4e48\uff0c\u627e\u5230\u4e00\u4e2a\u77e5\u8bc6\u70b9\uff1a\u201c<strong>VPN Pass-through \u6240\u6307\u7684\u5e94\u8be5\u662f\u8bbe\u5907\u80fd\u591f\u8bc6\u522b\u7531\u5185\u7f51\u5de5\u4f5c\u7ad9\u53d1\u8d77\u7684\uff0c\u5230\u5916\u7f51VPN SERVER\u7684VPN\u7c7b\u578b\u7684\u6570\u636e\u3002\u7531\u4e8eVPN\u6570\u636e\u662f\u7ecf\u8fc7\u52a0\u5bc6\u548c\u5904\u7406\u7684\uff0c\u4e0d\u540c\u4e8e\u666e\u901a\u7684\u7f51\u7edc\u8bbf\u95ee\u6570\u636e\u3002\u8bbe\u5907\u82e5\u4e0d\u5177\u5907\u8bc6\u522b\u6b64\u7c7b\u578b\u6570\u636e\u7684\u80fd\u529b\uff0c\u6709\u53ef\u80fd\u5c06VPN\u6570\u636e\u4f5c\u4e3a\u635f\u574f\u7684\u6570\u636e\u4e22\u5f03\uff0c\u5bfc\u81f4VPN\u5efa\u7acb\u5931\u8d25\u3002<\/strong>\u201d<\/li>\n<li>\u6211\u4e8e\u662f\u53efFON\u7684\u76f8\u5173\u8d44\u6599\uff0c\u6ca1\u6709\u4efb\u4f55\u4e2d\u6587\u6216\u82f1\u6587\u8d44\u6599\u63d0\u5230FON\u662f\u5426\u652f\u6301 PPTP Passthrough\uff0c\u6211\u67e5\u5230DD-WRT\u7684\u5f00\u6e90\u7684\u8def\u7531\u5668\u662f\u80af\u5b9a\u652f\u6301PPTP Passthrough\u7684\uff0c\u4e8e\u662f\u6211\u6709\u4e86\u60f3\u628aFON\u8def\u7531\u5668\u5237BIOS\u4e3aDD-WRT\u64cd\u4f5c\u7cfb\u7edf\u7684\u60f3\u6cd5\u3002<\/li>\n<\/ol>\n<p>\u77e5\u8bc6\u80cc\u666f\uff1a<\/p>\n<ol>\n<li>FON\u8def\u7531\u5668\u662f\u4e00\u4e2a\u514d\u8d39\u83b7\u53d6\u5230\u7684\u8def\u7531\u5668\uff0c07\u5e74\u7684<a href=\"http:\/\/cnbloggercon.org\/\">\u7f51\u5fd7\u5e74\u4f1a<\/a>\u548c08\u5e74\u7684\u7f51\u5fd7\u5e74\u4f1a\u4e0a\u90fd\u5f97\u5230FON\u7684\u8d5e\u52a9\uff0c07\u5e74\u63d0\u4f9b\u7684\u662f\uff1a<a title=\"La Fonera\" href=\"http:\/\/wiki.fon.com\/wiki\/La_Fonera\">La Fonera<\/a> \u578b\u53f7\u662fFON2100D\uff0c\u56fe\u7247\u5728 <a href=\"http:\/\/wiki.fon.com\/wiki\/La_Fonera\">http:\/\/wiki.fon.com\/wiki\/La_Fonera<\/a> , 08\u5e74\u63d0\u4f9b\u7684\u662f\u5347\u7ea7\u7248\u672c <a title=\"La Fonera+\" href=\"http:\/\/wiki.fon.com\/wiki\/La_Fonera%2B\">La Fonera+<\/a> \u578b\u53f7\u662fFON2201\uff0c\u56fe\u7247\u5728 <a href=\"http:\/\/wiki.fon.com\/wiki\/La_Fonera%2B\">http:\/\/wiki.fon.com\/wiki\/La_Fonera+<\/a> FON LaFonera 2100 \u7684 chipset\u662f Atheros AR531X\uff0cRAM\u662f16MB\uff0cFlash\u662f 8MB.<\/li>\n<li>FON\u662f\u4e00\u4e2a\u8def\u7531\u5668\u793e\u533a\uff0c\u8fd9\u4e2a\u793e\u533a\u91cc\u6709\u4e09\u79cd\u7528\u6237\uff1aLinus, Bills \u548c Aliens\uff0c\u62ff\u5230FON\u8def\u7531\u5668\u7684\u4eba\u53ef\u4ee5\u662fLinus\u6216Bills \uff0c\u524d\u8005\u4f1a\u50cfLINUS\u4e00\u6837\u514d\u8d39\u5206\u4eab\u7f51\u7edc\u7ed9\u522b\u4eba\u7528\uff0c\u540e\u8005\u4f1a\u50cfBILL GATES\u4e00\u6837\u6323\u5230\u94b1\uff0c\u5f53Aliens\uff08\u5916\u661f\u4eba\uff09\u627e\u5230\u4e00\u4e2a\u4e0d\u514d\u8d39\u7684FON\u8282\u70b9\u65f6\u4f1a\u4ed8\u8d39\u4e0a\u7f51\uff0cbills\u4f1a\u5206\u523050%\u7684\u94b1\u3002\u5f53\u7136\uff0cbills\u548cLinus\u5728\u5168\u4e16\u754c\u6f2b\u6e38\u65f6\uff0c\u9047\u5230FON\u8282\u70b9\u90fd\u662f\u4e0d\u9700\u8981\u4ed8\u8d39\u7684\u3002\u8fd9\u5c31\u662fFON\u7684\u5546\u4e1a\u6a21\u5f0f\uff0c\u5177\u4f53\u4ecb\u7ecd\u5728<a href=\"http:\/\/wiki.fon.com\/wiki\/Alien,_Linus_and_Bill\/zh\">\u8fd9\u91cc<\/a>\u3002FON\u7684\u7528\u6237\u53ef\u4ee5\u5728\u67e5\u627e\u8282\u70b9\u7684\u65f6\u5019\u53d1\u73b0\u4e2d\u56fd\u6e56\u5357\u7701\u957f\u6c99\u5730\u533a\u5b81\u4e61\u53bf\u7164\u70ad\u9547\u6709\u4e00\u4e2aFON\u8282\u70b9\uff0c\u6211\u4ee5\u540e\u53bb\u56fd\u5916\u65c5\u884c\u4e5f\u627e\u5230FON\u8282\u70b9\u4e5f\u4e0d\u9700\u8981\u989d\u5916\u4ed8\u8d39\u4e86\u3002\u4e0d\u8fc7\uff0c\u6211\u53bb\u9999\u6e2f\u6ca1\u80fd\u6210\u529f\u8fdb\u5165FON\u7f51\u7edc\uff0c\u867d\u7136\u4ed6\u4eec\u7528\u4e86FON\u7684\u540d\u5b57\u3002\u8c01\u77e5\u9053\u539f\u56e0\uff1f<\/li>\n<li>\u7f51\u4e0a\u6709\u5f88\u591ahack FON\u8def\u7531\u5668\u7684\u8d44\u6599\uff0c\u4f3c\u4e4e\u90fd\u662f\u9488\u5bf9FON2100\u7684\uff0c\u9700\u8981\u5148\u6309reset\u952e\u5c07fon\u7684firmware\u8fd8\u539f\u52300.7.1 r1\uff0c\u800cFON2200\u7684firmware\u90fd1.1.2\u4e86\uff0c\u770b\u6765\u65e0\u6cd5\u5237firmware\u4e3aDD-WRT\u3002\u6211\u67e5\u4e86<a href=\"http:\/\/wiki.fon.com\/wiki\/Hardware_Reset\">FON\u7684WIKI<\/a>\u624d\u77e5\u9053\uff0cLa Fonera(fon2100)\u6309reset\u952e\u9700\u8981\u572815\u79d2\u523020\u79d2\u5185\u677e\u624b\uff0c\u800cLa Fonera+ (fon2200)\u662f30\u79d2\u523060\u79d2\u5185\u677e\u624b\uff0c\u6211\u5f00\u59cb\u630930\u79d2\u603b\u6ca1\u8fd8\u539f\u6210\u529f\uff0c\u6d6a\u8d39\u6211\u4e0d\u5c11\u65f6\u95f4\u3002<\/li>\n<\/ol>\n<p>\u6211\u7684\u5de5\u4f5c\u6d41\u7a0b\uff1a<\/p>\n<ol>\n<li>\u6211\u6ca1\u6709WINDOWS\u64cd\u4f5c\u7cfb\u7edf\uff0c\u7528\u7684\u662fMAC OS X\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5185\u7f6e\u4e86\u7ec8\u7aef\uff0c\u53ef\u7528SSH \u4ee3\u7406PUTTY.EXE<\/li>\n<li><a href=\"http:\/\/coolfire.fetag.org\/?p=491\">http:\/\/coolfire.fetag.org\/?p=491<\/a> <strong>\u63d0\u4f9b\u4e86\u505a\u8fd9\u4e2a\u5b9e\u9a8c\u6240\u9700\u8981\u7684\u6240\u6709\u6587\u4ef6<\/strong> http:\/\/download.fetag.net\/Others\/FON-DD-WRT-24.zip<\/li>\n<li>\u901a\u8fc7\u5f00\u542f\u201c\u7cfb\u7edf\u504f\u597d\u8bbe\u7f6e\u201d=\u300b\u201cInternet \u4e0e\u65e0\u7ebf\u201d=\u300b\u201c\u5171\u4eab\u201d=\u300b\u201cWEB\u5171\u4eab\u201d\u6765\u4ee3\u66ffWINDOWS\u4e0b\u7684<a href=\"http:\/\/www.rejetto.com\/hfs\/\">HFS<\/a>,<\/li>\n<li>Mac OS X\u4e0b\u7684tftpd\u7684\u914d\u7f6e\u548c\u542f\u52a8\u975e\u5e38\u9ebb\u70e6\uff0c\u76f4\u63a5\u7528\u8fd9\u4e2a http:\/\/ww2.unime.it\/flr\/tftpserver\/TftpServer.dmg \u4ee3\u66ff\u4e86<a href=\"http:\/\/tftpd32.jounin.net\/\">tftpd<\/a> \uff0c\u628alinux.bin \u590d\u5236\u5230 \/private\/tftpboot \u518d\u542f\u52a8 Tftpserver.dmg\u91cc\u7684\u7a0b\u5e8f\u5c31OK<\/li>\n<li>\u5230\u8fd9\u91cc http:\/\/www.dd-wrt.com\/site\/support\/router-database\u00a0\u641c\u7d22fon\u5c31\u53ef\u4ee5\u627e\u5230Fon LaFonera 2100\u7684\u56fa\u4ef6\uff0c\u7136\u540e\u627e\u5230<a href=\"http:\/\/www.dd-wrt.com\/routerdb\/de\/download\/FON\/LaFonera\/2100\/fonera-firmware.bin\/3594\">fonera-firmware.bin<\/a> \u8fd9\u4e2a Webflash image\uff0c\u7528\u4e8e\u901a\u8fc7web\u754c\u9762\u66f4\u65b0firmware.<\/li>\n<\/ol>\n<p>\u539f\u6587\u6253\u4e0d\u5f00\uff0c\u5728<a href=\"http:\/\/209.85.229.132\/search?q=cache:I1uYD1Sn0EcJ:mattchen.info\/2008\/11\/fon-dd-wrt.html+http:\/\/mattchen.info\/2008\/11\/fon-dd-wrt.html&amp;cd=1&amp;hl=zh-CN&amp;ct=clnk&amp;gl=us\">\u7f51\u9875\u5feb\u7167\u91cc<\/a>\u627e\u5230\u4e86\uff0c\u6211\u5c31\u662f\u7528\u4e0a\u9762\u7684\u66ff\u4ee3\u4ea7\u54c1\u4e00\u6b65\u4e00\u6b65\u6309\u63d0\u793a\u5b8c\u6210\u4e0b\u9762\u7684\u5b9e\u9a8c\uff0c\u771f\u7684\u662f\u5b9e\u9a8c\uff0c\u4e00\u4e2a\u5b57\u90fd\u4e0d\u5dee\uff1a\uff09<\/p>\n<blockquote><p>\u63a5\u8457\u5c31\u4f86\u8aaa\u8aaa\u6539 dd-wrt \u97cc\u9ad4\u7684\u65b9\u6cd5\u5427\uff0c\u57fa\u672c\u4e0a\u7db2\u8def\u4e0a\u6709\u4e00\u5806\u6559\u5b78\uff0c\u4e0d\u8ad6\u662f\u570b\u5916\u7684\u8ad6\u58c7\u3001\u6216\u662f\u570b\u5167\u7684\u7db2\u53cb\u81ea\u5df1\u7684\u5fc3\u5f97\uff0c\u591a\u5230\u6211\u5be6\u5728\u662f\u4e0d\u77e5\u9053\u600e\u9ebc\u53bb\u5237\u6210 dd-wrt\u3002\u5f8c\u4f86\u525b\u597d\u770b\u5230\u4e00\u500b\u7db2\u7ad9 <a href=\"http:\/\/draft.blogger.com\/la-fon.blogspot.com\">http:\/la-fon.blogspot.com<\/a> \u4e0a\u9762\u7684\u4e00\u7bc7\u8aaa\u660e\uff08\u82f1\u6587\uff09\uff0c\u4fbf\u7167\u8457\u8aaa\u660e\u4e00\u6b65\u4e00\u6b65\u505a\u4e0b\u4f86\uff0c\u8036\uff5e\u7adf\u7136\u6210\u529f\u4e86\u5462\uff5e<\/p>\n<p>\u6240\u4ee5\u6211\u5c31\u4f86\u7d00\u9304\u4e00\u4e0b\u6211\u7684\u6b65\u9a5f\u56c9\uff1a<\/p>\n<ol>\n<li>\u5148\u4e0b\u8f09\u5169\u500b\u6a94\u6848\uff1a\n<ol>\n<li><a href=\"http:\/\/fonera.info\/camicia\/openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma\">openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma<\/a><\/li>\n<li><a href=\"http:\/\/fonera.info\/camicia\/out.hex\">out.hex<\/a><\/li>\n<li><a href=\"http:\/\/www.dd-wrt.com\/\">DD-WRT<\/a> \u7684 Image \u6a94\u6848\uff1a<a href=\"http:\/\/www.dd-wrt.com\/dd-wrtv2\/downloads\/v24-sp1\/Consumer\/Fon\/Fonera\/linux.bin\">linux.bin<\/a><br \/>\n\uff08\u53ef\u4ee5\u4e0a dd-wrt \u627e\u770b\u770b\u6709\u6c92\u6709\u66f4\u65b0\u7684\u7248\u672c\uff0c\u9023\u7d50\u88e1\u7684\u662f\u6211\u4f7f\u7528\u7684\u7248\u672c\uff09<\/li>\n<\/ol>\n<\/li>\n<li>\u518d\u4f86\u8981\u6e96\u5099\u7684\u5de5\u5177\u5982\u4e0b\uff1a\n<ul>\n<li><a href=\"http:\/\/www.chiark.greenend.org.uk\/%7Esgtatham\/putty\/\">PuTTY<\/a>\uff08\u6216\u662f <a href=\"http:\/\/www.csie.ntu.edu.tw\/%7Epiaip\/pietty\/\">PieTTY<\/a>\uff09\uff1a\u7528\u4f86\u505a ssh \u9023\u7dda\u7528\u7684\u5de5\u5177\u3002<\/li>\n<li>telnet\uff1a\u7528\u4f86\u505a telnet \u9023\u7dda\u7528\u7684\u5de5\u5177\uff0c\u53ef\u7528 windows \u5167\u5efa\u7684 telnet \u6307\u4ee4\uff0c\u6216\u662f\u76f4\u63a5\u7528 putty\/pietty \u4e5f\u53ef\u4ee5\u3002<\/li>\n<li><a href=\"http:\/\/tftpd32.jounin.net\/\">tftpd<\/a>\uff1a\u7528\u4f86\u505a tftp \u670d\u52d9\u7684 server<br \/>\n\uff08\u7b2c\u4e00\u6b65\u9a5f\u7684\u7b2c\u4e09\u500b\u6a94\u6848\u8acb\u8ddf tftpd \u7684\u76ee\u9304\u653e\u5728\u4e00\u584a\uff09<\/li>\n<li><a href=\"http:\/\/www.rejetto.com\/hfs\/\">HFS<\/a>\uff1a \u4f5c\u70ba\u6a94\u6848\u50b3\u8f38\u6642\u7684 server<br \/>\n\uff08\u7b2c\u4e00\u6b65\u9a5f\u7684\u7b2c\u4e00\u3001\u7b2c\u4e8c\u500b\u6a94\u6848\u8acb\u5728 HFS \u7b2c\u4e00\u6b21\u57f7\u884c\u5f8c\uff0c\u5728\u6a94\u6848\u4e0a\u6309\u53f3\u9375\u9078\u64c7 Add to HFS\uff09<\/li>\n<\/ul>\n<\/li>\n<li>\u8981\u6539\u6a5f\u524d\uff0c\u5f97\u5148\u628a fon \u7684 ssh port \u7d66\u6253\u958b\uff0c\u6211\u7684\u6a5f\u5668 fon \u97cc\u9ad4\u7248\u672c\u70ba 0.7.1 r1\uff0c\u6240\u4ee5\u7c21\u55ae\u7684\u4ee5\u5169\u500b\u6a94\u6848\u4f86\u5c07 ssh port \u6253\u958b\u5373\u53ef\uff1a\n<ol>\n<li>\u5148\u5c07\u672c\u6a5f\u96fb\u8166\u7684\u5340\u57df\u7db2\u8def\u8a2d\u5b9a\u70ba ip=169.254.255.2 \/ mask=255.255.0.0\uff0c\u5176\u9918\u4e0d\u7528\u8a2d\u5b9a\u3002<\/li>\n<li>\u5c07\u4e0b\u5217\u5167\u5bb9\u8907\u88fd\u8d77\u4f86\uff0c\u5b58\u70ba open-ssh-step1.html\n<div>\n<p>&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/html.html\">html<\/a>&gt;<\/p>\n<p>&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/head.html\">head<\/a>&gt;&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/title.html\">title<\/a>&gt;Open SSH &#8211; Step 1&lt;\/<a href=\"http:\/\/december.com\/html\/4\/element\/title.html\">title<\/a>&gt;&lt;\/<a href=\"http:\/\/december.com\/html\/4\/element\/head.html\">head<\/a>&gt;<\/p>\n<p>&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/body.html\">body<\/a>&gt;<\/p>\n<p>&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/form.html\">form<\/a> method=&#8221;post&#8221; action=&#8221;http:\/\/169.254.255.1\/cgi-bin\/webif\/connection.sh&#8221; enctype=&#8221;multipart\/form-data&#8221;&gt;<\/p>\n<p>&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/input.html\">input<\/a> name=&#8221;username&#8221; value=&#8221;$(\/usr\/sbin\/iptables -I INPUT 1 -p tcp &#8211;dport 22 -j ACCEPT)&#8221; size=&#8221;68&#8243; &gt;<\/p>\n<p>&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/input.html\">input<\/a> type=&#8221;submit&#8221; name=&#8221;submit&#8221; value=&#8221;Submit&#8221; onClick=&#8221;{this.form.wifimode.value='&#8221;;&#8217; + this.form.wifimode.value +&#8217;;&#8221;&#8216;}&#8221; \/&gt;<\/p>\n<p>&lt;\/<a href=\"http:\/\/december.com\/html\/4\/element\/form.html\">form<\/a>&gt;<\/p>\n<p>&lt;\/<a href=\"http:\/\/december.com\/html\/4\/element\/body.html\">body<\/a>&gt;<\/p>\n<p>&lt;\/<a href=\"http:\/\/december.com\/html\/4\/element\/html.html\">html<\/a>&gt;<\/p>\n<\/div>\n<\/li>\n<li>\u518d\u5c07\u4e0b\u5217\u5167\u5bb9\u8907\u88fd\u8d77\u4f86\uff0c\u5b58\u6210 open-ssh-step2.html\n<div>\n<p>&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/html.html\">html<\/a>&gt;<\/p>\n<p>&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/head.html\">head<\/a>&gt;&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/title.html\">title<\/a>&gt;Open SSH &#8211; Step 2&lt;\/<a href=\"http:\/\/december.com\/html\/4\/element\/title.html\">title<\/a>&gt;&lt;\/<a href=\"http:\/\/december.com\/html\/4\/element\/head.html\">head<\/a>&gt;<\/p>\n<p>&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/body.html\">body<\/a>&gt;<\/p>\n<p>&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/form.html\">form<\/a> method=&#8221;post&#8221; action=&#8221;http:\/\/169.254.255.1\/cgi-bin\/webif\/connection.sh&#8221; enctype=&#8221;multipart\/form-data&#8221;&gt;<\/p>\n<p>&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/input.html\">input<\/a> name=&#8221;username&#8221; value=&#8221;$(\/etc\/init.d\/dropbear)&#8221; size=&#8221;68&#8243; &gt;<\/p>\n<p>&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/input.html\">input<\/a> type=&#8221;submit&#8221; name=&#8221;submit&#8221; value=&#8221;Submit&#8221; onClick=&#8221;{this.form.wifimode.value='&#8221;;&#8217; + this.form.wifimode.value +&#8217;;&#8221;&#8216;}&#8221; \/&gt;<\/p>\n<p>&lt;\/<a href=\"http:\/\/december.com\/html\/4\/element\/form.html\">form<\/a>&gt;<\/p>\n<p>&lt;\/<a href=\"http:\/\/december.com\/html\/4\/element\/body.html\">body<\/a>&gt;<\/p>\n<p>&lt;\/<a href=\"http:\/\/december.com\/html\/4\/element\/html.html\">html<\/a>&gt;<\/p>\n<\/div>\n<\/li>\n<li>\u5728\u672c\u6a5f\u96fb\u8166\u4e0a\u57f7\u884c open-ssh-step1.html\uff0c\u6309\u4e0b submit \u6309\u9215\u5f8c\uff0c\u6703\u8df3\u51fa\u8996\u7a97\u8981\u8f38\u5165\u5e33\u865f\u5bc6\u78bc\uff0c\u8acb\u8f38\u5165\u5e33\u865f admin \u4ee5\u53ca\u5bc6\u78bc admin\u3002<\/li>\n<li>\u63a5\u8457\u57f7\u884c open-ssh-step2.html\uff0c\u4e5f\u662f\u4e00\u6a23\u6309\u4e0b submit \u6309\u9215\u5f8c\uff0c\u7b49\u5230\u700f\u89bd\u5668\u51fa\u73fe fon \u7684\u7ba1\u7406\u8996\u7a97\u5373\u53ef\u3002<\/li>\n<li>\u57f7\u884c PuTTY\/PieTTY\uff0c\u9023\u7dda\u5230 169.254.255.1\uff0c\u8f38\u5165\u5e33\u865f root \u4ee5\u53ca\u5bc6\u78bc\u00a0 admin\u3002<\/li>\n<li>\u5c07 \/etc\/firewall.user \u7684\u7b2c 22\u300123 \u884c\u8a3b\u89e3\u62ff\u6389<br \/>\n# vi \/etc\/firewall.user<\/li>\n<li>\u628a fon \u7684 sshd \u8a2d\u5b9a\u70ba\u958b\u6a5f\u5373\u555f\u52d5<br \/>\n# cd \/etc\/init.d<br \/>\n# mv dropbear S50dropbear<\/li>\n<li>\u91cd\u65b0\u8a2d\u5b9a\u5bc6\u78bc\u4ee5\u53ca\u540c\u6b65\u4e00\u4e0b<br \/>\n# passwd<br \/>\n# sync<\/li>\n<li>\u5c07 fon \u91cd\u958b\u5f8c\u5c31\u518d\u4e5f\u4e0d\u6703\u81ea\u52d5\u53bb\u5347\u7d1a\u97cc\u9ad4\u4e86\u3002<\/li>\n<\/ol>\n<\/li>\n<li>\u78ba\u8a8d\u4f60\u7684\u96fb\u8166\u7684\u5340\u57df\u7db2\u8def\u7684 ip=169.254.255.2 \/ mask=255.255.0.0 \/ gateway=169.254.255.1(\u9019\u500b\u4e0d\u8a2d\u5b9a\u4e5f\u6c92\u95dc\u4fc2)<\/li>\n<li>\u555f\u52d5 HFS\uff08\u9810\u8a2d port \u70ba 8080\uff09\uff0c\u4e26\u8a18\u5f97\u5c07 openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma \u4ee5\u53ca out.hex \u52a0\u5165 HFS \u4e2d\u3002<\/li>\n<li>\u5982\u679c\u4f60\u9084\u9023\u5728 ssh console \u4e2d\uff0c\u90a3\u5c31\u63a5\u8457\u505a\u4e0b\u5217\u7684\u6b65\u9a5f\uff1a<br \/>\n&gt; <strong>cd \/tmp<\/strong><br \/>\n&gt; <strong>wget http:\/\/169.254.255.2:8080\/openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma<\/strong><br \/>\n&gt; <strong>mtd -e vmlinux.bin.l7 write openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma vmlinux.bin.l7<\/strong><br \/>\n&gt; <strong>reboot<\/strong><\/li>\n<li>\u7b49\u5f85 fon \u91cd\u65b0\u958b\u6a5f\u5f8c\uff0c\u5927\u7d04\u4e00\u3001\u5169\u5206\u9418\uff0c\u518d\u4ee5 putty\/pietty \u9023\u5165 169.254.255.1 \u4e26\u57f7\u884c\u4e0b\u5217\u6307\u4ee4\uff1a<br \/>\n&gt; <strong>cd \/tmp<\/strong><br \/>\n&gt; <strong>wget http:\/\/169.254.255.2:8080\/out.hex<\/strong><br \/>\n&gt; <strong>mtd -e &#8220;RedBoot config&#8221; write out.hex &#8220;RedBoot config&#8221;<\/strong><br \/>\n&gt; <strong>reboot<\/strong><\/li>\n<li>\u7b49\u5f85 fon \u91cd\u65b0\u958b\u6a5f\u5f8c\uff0c\u5c07\u60a8\u7684\u96fb\u8166\u5340\u57df\u7db2\u8def\u7684 ip \u6539\u70ba 192.168.1.166\uff08\u6216\u662f\u4efb\u4f55\u4e00\u500b\u7686\u53ef\uff0c\u4e0d\u8981\u662f 192.168.1.254 \u5c31\u884c\u4e86\uff09\uff0c\u906e\u7f69\u70ba 255.255.255.0<\/li>\n<li>\u555f\u52d5 tftpd\uff0c\u4e26\u8acb\u8a18\u5f97\u5c07 linux.bin \u8207 tftpd \u57f7\u884c\u7a0b\u5f0f\u653e\u5728\u540c\u4e00\u500b\u76ee\u9304\u4e2d\u3002<\/li>\n<li>\u4ee5 telnet command \u6216\u662f putty\/pietty \u9023\u5165 192.168.1.254\uff0cport=9000\u3002<br \/>\nC:\\&gt;telnet 192.168.1.254 9000<\/li>\n<li>\u6309\u4e0b Enter \u6703\u51fa\u73fe\u63d0\u793a\u7b26\u865f<br \/>\nRedBoot&gt;<\/li>\n<li>\u63a5\u8457\u8acb\u4f9d\u7167<strong>\u9ec3\u5e95\u7c97\u9ad4\u9ed1\u5b57<\/strong>\u4f86\u8f38\u5165\uff1a<br \/>\nRedBoot&gt; <strong>ip_address -l 192.168.1.254\/24 -h 192.168.1.166<\/strong><br \/>\nIP: 192.168.1.254\/255.255.255.0, Gateway: 0.0.0.0<br \/>\nDefault server: 192.168.1.166<br \/>\nRedBoot&gt; <strong>fis init<\/strong><br \/>\nAbout to initialize [format] FLASH image system &#8211; continue (y\/n)? <strong>y<\/strong><br \/>\n*** Initialize FLASH Image System<br \/>\n&#8230; Erase from 0xa87e0000-0xa87f0000: .<br \/>\n&#8230; Program from 0x80ff0000-0x81000000 at 0xa87e0000: .<br \/>\nRedBoot&gt; <strong>load -r -b 0x80041000 linux.bin<\/strong><br \/>\nUsing default protocol (TFTP)<br \/>\nRaw file loaded 0x80041000-0x806a0fff, assumed entry at 0x80041000<br \/>\nRedBoot&gt; <strong>fis create linux<\/strong><\/li>\n<li>\u63a5\u4e0b\u4f86\u6703\u7b49\u500b\u5341\u591a\u5206\u9418\uff0c\u53ef\u80fd\u66f4\u4e45\u3002<br \/>\n\u5982\u679c\u5728 <strong>load -r -b 0x80041000 linux.bin<\/strong> \u4e4b\u5f8c\u7b49\u4e86\u5f88\u4e45\uff0c\u90a3\u53ef\u80fd\u662f\u4f60\u5fd8\u4e86\u555f\u52d5 tftpd\uff0c\u5982\u679c\u662f\u9019\u6a23\uff0c\u90a3\u5f97\u9000\u51fa telnet \u8996\u7a97\uff0c\u91cd\u65b0\u4f86\u904e\u3002<\/li>\n<li>\u5341\u5e7e\u5206\u9418\u5f8c\u6703\u770b\u5230\u5982\u4e0b\u756b\u9762\uff1a<br \/>\n&#8230; Erase from 0xa8030000-0xa8690000: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br \/>\n&#8230; Program from 0x80041000-0x806a1000 at 0xa8030000: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br \/>\n&#8230; Erase from 0xa87e0000-0xa87f0000: .<br \/>\n&#8230; Program from 0x80ff0000-0x81000000 at 0xa87e0000: .<br \/>\nRedBoot&gt; <strong>fconfig<\/strong><br \/>\nRun script at boot: <strong>true<\/strong><br \/>\nBoot script:<br \/>\n.. fis load -l vmlinux.bin.l7<br \/>\n.. exec<br \/>\nEnter script, terminate with empty line<br \/>\n&gt;&gt; <strong>fis load -l linux<\/strong><br \/>\n&gt;&gt; <strong>exec<\/strong><br \/>\n&gt;&gt;<br \/>\nBoot script timeout (1000ms resolution): <strong>10<\/strong><br \/>\nUse BOOTP for network configuration: <strong>false<\/strong><br \/>\nGateway IP address:<br \/>\nLocal IP address: <strong>192.168.1.254<\/strong><br \/>\nLocal IP address mask: <strong>255.255.255.0<\/strong><br \/>\nDefault server IP address:<br \/>\nConsole baud rate: <strong>9600<\/strong><br \/>\nGDB connection port: <strong>9000<\/strong><br \/>\nForce console for special debug messages: <strong>false<\/strong><br \/>\nNetwork debug at boot time: <strong>false<\/strong><br \/>\nUpdate RedBoot non-volatile configuration &#8211; continue (y\/n)? <strong>y<\/strong><br \/>\n&#8230; Erase from 0xa87e0000-0xa87f0000: .<br \/>\n&#8230; Program from 0x80ff0000-0x81000000 at 0xa87e0000: .<br \/>\nRedBoot&gt; <strong>reset<\/strong><\/li>\n<li>\u5b8c\u6210\u4e0a\u8ff0\u9732\u9732\u7b49\u7684\u6b65\u9a5f\u5f8c\uff0c\u5c31\u53ef\u4ee5\u5f9e\u5340\u57df\u7db2\u8def\u900f\u904e\u6709\u7dda\u9023\u5230 http:\/\/169.254.255.1 \u9032\u5165 dd-wrt \u4ecb\u9762\u7ba1\u7406\u56c9\uff0c\u8acb<strong>\u8a18\u5f97\u5148\u4fee\u6539\u767b\u5165\u7684\u5e33\u865f\u4ee5\u53ca\u5bc6\u78bc<\/strong>\u5537\u3002<\/li>\n<li>\u5225\u5fd8\u4e86\u9806\u4fbf\u66f4\u6539\u4e00\u4e0b\u7121\u7dda\u57fa\u5730\u53f0\u7684\u8a2d\u5b9a\uff0c\u9810\u8a2d SSID \u540d\u7a31\u662f dd-wrt \u4e26\u4e14\u662f\u6c92\u6709\u8a2d\u5b9a\u5b89\u5168\u6027\u7684\u3002<\/li>\n<\/ol>\n<p>\u5b8c\u6210\u4e86\u9019\u4e00\u4e9b\u8a2d\u5b9a\uff0c\u5c31\u53ef\u4ee5\u597d\u597d\u7684\u4eab\u53d7 fon + dd-wrt \u6240\u5e36\u4f86\u7684\u5f37\u5927\u7121\u7dda\u57fa\u5730\u53f0\u7684\u529f\u80fd\u56c9\uff5e\uff5e\uff5e\u96d6\u7136\u9019\u6709\u9055\u7576\u521d fon \u5275\u8fa6\u4eba\u7684\u7cbe\u795e &gt;_&lt;<\/p><\/blockquote>\n<p>\u6211\u7684\u64cd\u4f5c\u8bb0\u5f55\uff0c\u9ec4\u80cc\u666f\u7684\u6587\u5b57\u4e3a\u8f93\u5165<\/p>\n<blockquote><p>zolamatoMacBook-Air:~ zola$ <span style=\"background-color: #ffcc99;\">ssh root@169.254.255.1<\/span><br \/>\nroot@169.254.255.1&#8217;s password:<br \/>\nBusyBox v1.1.3 (2006.11.21-19:49+0000) Built-in shell (ash)<br \/>\nEnter &#8216;help&#8217; for a list of built-in commands.<br \/>\n_______\u00a0 _______\u00a0 _______<br \/>\n|\u00a0\u00a0 ____||\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ||\u00a0\u00a0 _\u00a0\u00a0 |<br \/>\n|\u00a0\u00a0 ____||\u00a0\u00a0 &#8211;\u00a0\u00a0 ||\u00a0 | |\u00a0 |<br \/>\n|\u00a0\u00a0 |\u00a0\u00a0\u00a0 |_______||__| |__|<br \/>\n|___|<br \/>\nFonera Firmware (Version 0.7.1 rev 1) &#8212;&#8212;&#8212;&#8212;-<br \/>\n*<br \/>\n* Based on OpenWrt &#8211; http:\/\/openwrt.org<br \/>\n* Powered by FON &#8211; http:\/\/www.fon.com<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nroot@OpenWrt:~# <span style=\"background-color: #ffcc99;\">vi \/etc\/firewall.user<\/span><br \/>\niptables -F forwarding_rule<br \/>\niptables -t nat -F prerouting_rule<br \/>\niptables -t nat -F postrouting_rule<\/p>\n<p>### BIG FAT DISCLAIMER<br \/>\n## The &#8220;-i $WAN&#8221; is used to match packets that come in via the $WAN interface.<br \/>\n## it WILL NOT MATCH packets sent from the $WAN ip address &#8212; you won&#8217;t be able<br \/>\n## to see the effects from within the LAN.<\/p>\n<p>### Open port to WAN<br \/>\n## &#8212; This allows port 22 to be answered by (dropbear on) the router<br \/>\niptables -t nat -A prerouting_rule -i $WAN -p tcp &#8211;dport 22 -j ACCEPT<br \/>\niptables\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -A input_rule\u00a0\u00a0\u00a0\u00a0\u00a0 -i $WAN -p tcp &#8211;dport 22 -j ACCEPT<\/p>\n<p>### Port forwarding<br \/>\n## &#8212; This forwards port 8080 on the WAN to port 80 on 192.168.1.2<br \/>\n# iptables -t nat -A prerouting_rule -i $WAN -p tcp &#8211;dport 8080 -j DNAT &#8211;to 19<br \/>\n# iptables\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -A forwarding_rule -i $WAN -p tcp &#8211;dport 80 -d 192.168.1.2 -j<\/p>\n<p>### DMZ<br \/>\n## &#8212; Connections to ports not handled above will be forwarded to 192.168.1.2<br \/>\n# iptables -t nat -A prerouting_rule -i $WAN -j DNAT &#8211;to 192.168.1.2<br \/>\n# iptables\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -A forwarding_rule -i $WAN -d 192.168.1.2 -j ACCEPT<br \/>\n&#8211; \/etc\/firewall.user [modified] 23\/33 69%<br \/>\niptables -F forwarding_rule<br \/>\niptables -t nat -F prerouting_rule<br \/>\niptables -t nat -F postrouting_rule<\/p>\n<p>### BIG FAT DISCLAIMER<br \/>\n## The &#8220;-i $WAN&#8221; is used to match packets that come in via the $WAN interface.<br \/>\n## it WILL NOT MATCH packets sent from the $WAN ip address &#8212; you won&#8217;t be able<br \/>\n## to see the effects from within the LAN.<\/p>\n<p>### Open port to WAN<br \/>\n## &#8212; This allows port 22 to be answered by (dropbear on) the router<br \/>\niptables -t nat -A prerouting_rule -i $WAN -p tcp &#8211;dport 22 -j ACCEPT<br \/>\niptables\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -A input_rule\u00a0\u00a0\u00a0\u00a0\u00a0 -i $WAN -p tcp &#8211;dport 22 -j ACCEPT<\/p>\n<p>### Port forwarding<br \/>\n## &#8212; This forwards port 8080 on the WAN to port 80 on 192.168.1.2<br \/>\n# iptables -t nat -A prerouting_rule -i $WAN -p tcp &#8211;dport 8080 -j DNAT &#8211;to 19<br \/>\n# iptables\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -A forwarding_rule -i $WAN -p tcp &#8211;dport 80 -d 192.168.1.2 -j<\/p>\n<p>### DMZ<br \/>\n## &#8212; Connections to ports not handled above will be forwarded to 192.168.1.2<br \/>\n# iptables -t nat -A prerouting_rule -i $WAN -j DNAT &#8211;to 192.168.1.2<br \/>\n# iptables\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -A forwarding_rule -i $WAN -d 192.168.1.2 -j ACCEPT<br \/>\n&#8211; \/etc\/firewall.user [modified] 23\/33 69%<br \/>\niptables -F forwarding_rule<br \/>\niptables -t nat -F prerouting_rule<br \/>\niptables -t nat -F postrouting_rule<\/p>\n<p>### BIG FAT DISCLAIMER<br \/>\n## The &#8220;-i $WAN&#8221; is used to match packets that come in via the $WAN interface.<br \/>\n## it WILL NOT MATCH packets sent from the $WAN ip address &#8212; you won&#8217;t be able<br \/>\n## to see the effects from within the LAN.<\/p>\n<p>### Open port to WAN<br \/>\n## &#8212; This allows port 22 to be answered by (dropbear on) the router<br \/>\niptables -t nat -A prerouting_rule -i $WAN -p tcp &#8211;dport 22 -j ACCEPT<br \/>\niptables\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -A input_rule\u00a0\u00a0\u00a0\u00a0\u00a0 -i $WAN -p tcp &#8211;dport 22 -j ACCEPT<\/p>\n<p>### Port forwarding<br \/>\n## &#8212; This forwards port 8080 on the WAN to port 80 on 192.168.1.2<br \/>\n# iptables -t nat -A prerouting_rule -i $WAN -p tcp &#8211;dport 8080 -j DNAT &#8211;to 19<br \/>\n# iptables\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -A forwarding_rule -i $WAN -p tcp &#8211;dport 80 -d 192.168.1.2 -j<\/p>\n<p>### DMZ<br \/>\n## &#8212; Connections to ports not handled above will be forwarded to 192.168.1.2<br \/>\n# iptables -t nat -A prerouting_rule -i $WAN -j DNAT &#8211;to 192.168.1.2<br \/>\n# iptables\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -A forwarding_rule -i $WAN -d 192.168.1.2 -j ACCEPT<br \/>\nroot@OpenWrt:~#<span style=\"background-color: #ffcc99;\"> cd \/etc\/init.d<\/span><br \/>\nroot@OpenWrt:\/etc\/init.d#<span style=\"background-color: #ffcc99;\"> ls<\/span><br \/>\nN10conncheck\u00a0\u00a0 S20madwifi\u00a0\u00a0\u00a0\u00a0 S50qos\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 S65watchdog<br \/>\nN40thinclient\u00a0 S40network\u00a0\u00a0\u00a0\u00a0 S50telnet\u00a0\u00a0\u00a0\u00a0\u00a0 boot<br \/>\nN45ntpclient\u00a0\u00a0 S45firewall\u00a0\u00a0\u00a0 S60cron\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 dropbear<br \/>\nN50chillispot\u00a0 S50httpd\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 S60redirect\u00a0\u00a0\u00a0 rcS<br \/>\nroot@OpenWrt:\/etc\/init.d#<span style=\"background-color: #ffcc99;\"> mv dropbear S50dropbear<\/span><br \/>\nroot@OpenWrt:\/etc\/init.d#<span style=\"background-color: #ffcc99;\"> ls<\/span><br \/>\nN10conncheck\u00a0\u00a0 S20madwifi\u00a0\u00a0\u00a0\u00a0 S50httpd\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 S60redirect<br \/>\nN40thinclient\u00a0 S40network\u00a0\u00a0\u00a0\u00a0 S50qos\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 S65watchdog<br \/>\nN45ntpclient\u00a0\u00a0 S45firewall\u00a0\u00a0\u00a0 S50telnet\u00a0\u00a0\u00a0\u00a0\u00a0 boot<br \/>\nN50chillispot\u00a0 S50dropbear\u00a0\u00a0\u00a0 S60cron\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 rcS<br \/>\nroot@OpenWrt:\/etc\/init.d#<span style=\"background-color: #ffcc99;\"> passwd<\/span><br \/>\nChanging password for root<br \/>\nEnter the new password (minimum of 5 characters)<br \/>\nPlease use a combination of upper and lower case letters and numbers.<br \/>\nEnter new password:<br \/>\nRe-enter new password:<br \/>\nPassword changed.<br \/>\nroot@OpenWrt:\/etc\/init.d# <span style=\"background-color: #ffcc99;\">sync<\/span><br \/>\nroot@OpenWrt:\/etc\/init.d# exit<br \/>\nConnection to 169.254.255.1 closed.<br \/>\nzolamatoMacBook-Air:~ zola$<span style=\"background-color: #ffcc99;\"> ssh root@169.254.255.1<\/span><br \/>\nroot@169.254.255.1&#8217;s password:<br \/>\nBusyBox v1.1.3 (2006.11.21-19:49+0000) Built-in shell (ash)<br \/>\nEnter &#8216;help&#8217; for a list of built-in commands.<br \/>\n_______\u00a0 _______\u00a0 _______<br \/>\n|\u00a0\u00a0 ____||\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ||\u00a0\u00a0 _\u00a0\u00a0 |<br \/>\n|\u00a0\u00a0 ____||\u00a0\u00a0 &#8211;\u00a0\u00a0 ||\u00a0 | |\u00a0 |<br \/>\n|\u00a0\u00a0 |\u00a0\u00a0\u00a0 |_______||__| |__|<br \/>\n|___|<br \/>\nFonera Firmware (Version 0.7.1 rev 1) &#8212;&#8212;&#8212;&#8212;-<br \/>\n*<br \/>\n* Based on OpenWrt &#8211; http:\/\/openwrt.org<br \/>\n* Powered by FON &#8211; http:\/\/www.fon.com<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nroot@OpenWrt:~#<span style=\"background-color: #ffcc99;\"> cd \/tmp<\/span><br \/>\nroot@OpenWrt:~# <span style=\"background-color: #ffcc99;\">ls<\/span><br \/>\ndhcp.leases\u00a0\u00a0\u00a0\u00a0 log\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 resolv.conf\u00a0\u00a0\u00a0\u00a0 spool<br \/>\nhostapd.conf\u00a0\u00a0\u00a0 network-config\u00a0 run<br \/>\nroot@OpenWrt:~#<span style=\"background-color: #ffcc99;\"> wget http:\/\/169.254.95.148\/~zola\/openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma<\/span><br \/>\nConnecting to 169.254.95.148[169.254.95.148]:80<br \/>\nopenwrt-ar531x-2.4-v 100% |*****************************|\u00a0\u00a0 512 KB\u00a0\u00a0\u00a0 00:00 ETA<br \/>\nroot@OpenWrt:~# <span style=\"background-color: #ffcc99;\">mtd -e vmlinux.bin.l7 write openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma vmlinux.bin.l7<\/span><br \/>\nUnlocking vmlinux.bin.l7 &#8230;<br \/>\nErasing vmlinux.bin.l7 &#8230;<br \/>\nWriting from openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma to vmlinux.bin.l7 &#8230;\u00a0 [w]<br \/>\nroot@OpenWrt:~# <span style=\"background-color: #ffcc99;\">reboot<\/span><br \/>\nroot@OpenWrt:~# Connection to 169.254.255.1 closed by remote host.<br \/>\nConnection to 169.254.255.1 closed.<br \/>\nzolamatoMacBook-Air:~ zola$<span style=\"background-color: #ffcc99;\"> ssh root@169.254.255.1<\/span><br \/>\nroot@169.254.255.1&#8217;s password:<br \/>\nBusyBox v1.1.3 (2006.11.21-19:49+0000) Built-in shell (ash)<br \/>\nEnter &#8216;help&#8217; for a list of built-in commands.<br \/>\n_______\u00a0 _______\u00a0 _______<br \/>\n|\u00a0\u00a0 ____||\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ||\u00a0\u00a0 _\u00a0\u00a0 |<br \/>\n|\u00a0\u00a0 ____||\u00a0\u00a0 &#8211;\u00a0\u00a0 ||\u00a0 | |\u00a0 |<br \/>\n|\u00a0\u00a0 |\u00a0\u00a0\u00a0 |_______||__| |__|<br \/>\n|___|<br \/>\nFonera Firmware (Version 0.7.1 rev 1) &#8212;&#8212;&#8212;&#8212;-<br \/>\n*<br \/>\n* Based on OpenWrt &#8211; http:\/\/openwrt.org<br \/>\n* Powered by FON &#8211; http:\/\/www.fon.com<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nroot@OpenWrt:~# <span style=\"background-color: #ffcc99;\">cd \/tmp<\/span><br \/>\nroot@OpenWrt:~# <span style=\"background-color: #ffcc99;\">wget http:\/\/169.254.95.148\/~zola\/out.hex<\/span><br \/>\nConnecting to 169.254.95.148[169.254.95.148]:80<br \/>\nout.hex\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 100% |*****************************|\u00a0 4096\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 00:00 ETA<br \/>\nroot@OpenWrt:~# <span style=\"background-color: #ffcc99;\">mtd -e &#8220;RedBoot config&#8221; write out.hex &#8220;RedBoot config&#8221;<\/span><br \/>\nUnlocking RedBoot config &#8230;<br \/>\nErasing RedBoot config &#8230;<br \/>\nWriting from out.hex to RedBoot config &#8230;\u00a0 [w]<br \/>\nroot@OpenWrt:~#<span style=\"background-color: #ffcc99;\"> reboot<\/span><br \/>\nroot@OpenWrt:~# Connection to 169.254.255.1 closed by remote host.<br \/>\nConnection to 169.254.255.1 closed.<br \/>\nzolamatoMacBook-Air:~ zola$<span style=\"background-color: #ffcc99;\"> telnet 192.168.1.254 9000<\/span><br \/>\nTrying 192.168.1.254&#8230;<br \/>\nConnected to 192.168.1.254.<br \/>\nEscape character is &#8216;^]&#8217;.<br \/>\nRedBoot&gt; <span style=\"background-color: #ffcc99;\">ip_address -l 192.168.1.254\/24 -h 192.168.1.166<\/span><br \/>\nIP: 192.168.1.254\/255.255.255.0, Gateway: 0.0.0.0<br \/>\nDefault server: 192.168.1.166<br \/>\nRedBoot&gt;<span style=\"background-color: #ffcc99;\"> fis init <\/span><br \/>\nAbout to initialize [format] FLASH image system &#8211; continue (y\/n)? y<br \/>\n*** Initialize FLASH Image System<br \/>\n&#8230; Erase from 0xa87e0000-0xa87f0000: .<br \/>\n&#8230; Program from 0x80ff0000-0x81000000 at 0xa87e0000: .<br \/>\nRedBoot&gt; <span style=\"background-color: #ffcc99;\">load -r -b 0x80041000 linux.bin<\/span><br \/>\nUsing default protocol (TFTP)<br \/>\nRaw file loaded 0x80041000-0x80662fff, assumed entry at 0x80041000<br \/>\nRedBoot&gt; <span style=\"background-color: #ffcc99;\">fis create linux<\/span><br \/>\n&#8230; Erase from 0xa8030000-0xa8652000:&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br \/>\n&#8230; Program from 0x80041000-0x80663000 at0xa8030000:&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br \/>\n&#8230; Erase from 0xa87e0000-0xa87f0000: .<br \/>\n&#8230; Program from 0x80ff0000-0x81000000 at 0xa87e0000: .<br \/>\nRedBoot&gt; <span style=\"background-color: #ffcc99;\">fconfig<\/span><br \/>\nRun script at boot: true<br \/>\nBoot script:<br \/>\n.. <span style=\"background-color: #ffcc99;\">fis load -l vmlinux.bin.l7<\/span><br \/>\n..<span style=\"background-color: #ffcc99;\"> exec<\/span><br \/>\nEnter script, terminate with empty line<br \/>\n&gt;&gt; <span style=\"background-color: #ffcc99;\">fis load -l linux<\/span><br \/>\n&gt;&gt; <span style=\"background-color: #ffcc99;\">exec<\/span><br \/>\n&gt;&gt;<br \/>\nBoot script timeout (1000ms resolution): 10<br \/>\nUse BOOTP for network configuration: <span style=\"background-color: #ffcc99;\">false<\/span><br \/>\nGateway IP address:<br \/>\nLocal IP address: <span style=\"background-color: #ffcc99;\">192.168.1.254<\/span><br \/>\nLocal IP address mask: <span style=\"background-color: #ffcc99;\">255.255.255.0<\/span><br \/>\nDefault server IP address:<br \/>\nConsole baud rate: <span style=\"background-color: #ffcc99;\">9600<\/span><br \/>\nGDB connection port: <span style=\"background-color: #ffcc99;\">9000<\/span><br \/>\nForce console for special debug messages: <span style=\"background-color: #ffcc99;\">false<\/span><br \/>\nNetwork debug at boot time: <span style=\"background-color: #ffcc99;\">false<\/span><br \/>\nUpdate RedBoot non-volatile configuration &#8211; continue (y\/n)? <span style=\"background-color: #ffcc99;\">y<\/span><br \/>\n&#8230; Erase from 0xa87e0000-0xa87f0000: .<br \/>\n&#8230; Program from 0x80ff0000-0x81000000 at 0xa87e0000: .<br \/>\nRedBoot&gt; <span style=\"background-color: #ffcc99;\">reset<\/span><\/p><\/blockquote>\n<p>\u505a\u5b8c\u4e0a\u9762\u7684\u5b9e\u9a8c\uff0c\u628a\u8def\u7531\u5668\u6362\u4e0a\uff0c\u767b\u5f55WEB\u63a7\u5236\u754c\u9762\uff0c\u53d1\u73b0DD-WRT\u7684\u63a7\u5236\u754c\u9762\u6709\u5141\u8bb8PPTP\u3001L2PP\u7684pass through\u9009\u9879\uff0c\u628aADSL\u5bc6\u7801\u5199\u5165\uff0c\u4fdd\u5b58\u3002\u7136\u540e\u5728\u82f9\u679c\u7535\u8111\u4e0a\u6d4b\u8bd5PPTP\u7684VPN\uff0c\u8fde\u63a5\u6210\u529f\uff0c\u5341\u591a\u4e2a\u5c0f\u65f6\u7684\u52aa\u529b\u6ca1\u6709\u767d\u8d39\uff0c\u95ee\u9898\u89e3\u51b3\u3002\u7136\u540e\u5728iPod touch\u4e0a\u6d4b\u8bd5\uff0c\u4e5f\u901a\u8fc7\uff0c\u6210\u529f\u7684\u770b\u5230\u4e86VPN\u5b57\u6837\uff0c\u4e5f\u767b\u5f55\u4e0afacebook\u4e86\uff0c\u6b23\u559c\u4e4b\u4f59\uff0c\u518d\u82b1\u4e24\u5c0f\u65f6\u5199\u7bc7\u65e5\u5fd7\u8bb0\u5f55\u4e00\u4e0b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u4eca\u5929\u89e3\u51b3\u4e86\u4e00\u4e2a\u95ee\u9898\uff1aFON\u8def\u7531\u5668\u4e0d\u652f\u6301PPTP\u7684VPN\uff0c\u6211\u628aFON\u8def\u7531\u5668\u5237\u6210D <span class=\"readmore\"><a href=\"https:\/\/www.zuola.com\/weblog\/2010\/02\/1474.htm\">Continue Reading &#8230;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1474","post","type-post","status-publish","format-standard","hentry","category-review"],"views":9408,"_links":{"self":[{"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/posts\/1474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/comments?post=1474"}],"version-history":[{"count":0,"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/posts\/1474\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/media?parent=1474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/categories?post=1474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/tags?post=1474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}