{"id":384,"date":"2007-11-25T00:17:47","date_gmt":"2007-11-24T16:17:47","guid":{"rendered":"http:\/\/blog.smallken.ink\/2007\/11\/25\/linux\/384.html"},"modified":"2007-11-25T03:03:41","modified_gmt":"2007-11-24T19:03:41","slug":"%e7%aa%81%e7%a0%b4%e5%85%ac%e5%8f%b8%e9%98%b2%e7%81%ab%e7%89%86%e4%b8%8a-msn-%e7%9a%84%e5%af%86%e6%8a%80","status":"publish","type":"post","link":"https:\/\/blog.smallken.site\/?p=384","title":{"rendered":"\u7a81\u7834\u9632\u706b\u7246\u9023 MSN \u5bc6\u6280"},"content":{"rendered":"<p>\u9019\u9805\u7684\u9580\u6abb\u6bd4\u8f03\u9ad8\u4e00\u9ede\uff0c\u9700\u8981\u6703\u67b6\u8a2dLinux\uff0c\u9700\u8981\u6709\u4e00\u7d44\u53ef\u4ee5\u4f7f\u7528SSH\u767b\u5165\u4f3a\u670d\u5668\u7684\u5e33\u865f\u624d\u53ef\u4ee5\uff0c\u6982\u5ff5\u4e0a\u5c31\u662f\u5229\u7528\u67b6\u8a2dproxy\u7684\u89c0\u5ff5\u53bb\u8f49\u50b3\u5c01\u5305\uff0c\u7c21\u55ae\u8b1b\uff0c1.\u662f\u5148\u7528SSH\u9023\u5230\u5916\u9762\u7684\u4f3a\u670d\u5668\uff0c\u9019\u500b\u52d5\u4f5c\u5f88\u50cf\u66ff\u7db2\u8def\u6316\u51fa\u4e00\u9053Tunnel\uff0c\u6316\u51fa\u4e00\u689d\u5bc6\u9053\u4e00\u6a23\u30022.\u6240\u6709\u8981\u51fa\u53bb\u7684\u7db2\u8def\u9023\u7dda\u90fd\u7d93\u904e\u9019\u500b\u5bc6\u9053(\u8a2dproxy)\u9023\u51fa\u53bb\u3002<\/p>\n<p>\u7b2c\u4e00\u95dc\u4f60\u8981\u60f3\u8fa6\u6cd5\u53ef\u4ee5\u7528 putty \u9023\u5230\u5916\u9762\u7684\u4f3a\u670d\u5668\uff0cputty \u662f\u4ec0\u9ebc? putty \u662f\u5728Windows\u4e0a\u7528ssh\u9060\u7aef\u7ba1\u7406Server\u7684\u8edf\u9ad4\uff0c\u539f\u672c\u6211\u4ee5\u70ba putty \u7684\u529f\u80fd\u50c5\u53ea\u65bc\u6b64\uff0c\u539f\u4f86\u9019\u500b\u5c0f\u5de5\u5177\u9084\u883b\u597d\u7528\u7684\uff0c\u5b83\u9084\u53ef\u4ee5\u4f86\u67b6\u8a2dsocks proxy\uff0c\u7576\u7136\u5566\uff0c\u6709\u6642\u5019\u516c\u53f8\u76f4\u63a5\u5c31\u628assh 22 port \u7d66\u64cb\u6389\u4e86\uff0c\u9019\u4e5f\u4e0d\u610f\u5916\uff0c\u90a3\u5c31\u60f3\u8fa6\u6cd5\u67e5\u51fa\u5230\u5e95\u516c\u53f8\u53ef\u4ee5\u9023\u51fa\u53bb\u9084\u6709\u54ea\u4e9bport\u561b\uff0c\u81f3\u5c11http 80 \u8ddf https 443 \u4e0d\u6703\u64cb\u5427\uff0c\u5982\u679c\u5916\u9762\u7684\u4f3a\u670d\u5668\u662f\u81ea\u5df1\u7684\u90a3\u5c31\u76f4\u63a5\u628aSSH Server\u7684 port \u6539\u6210\u53ef\u4ee5\u51fa\u53bb\u7684 port\uff0c\u6bd4\u5982\u8aaa 443\uff0c\u5728 Red Hat \u4e0a\u8a2d\u5b9a\u5728 \/etc\/ssh\/sshd_config\u3002<\/p>\n<p>\u5047\u8a2d\u76ee\u524d\u6211\u5728\u9632\u706b\u7246\u88e1\u9762\uff0c\u9023\u7dda\u4e4b\u524d\uff0c\u5982\u4e0b\u5716\uff0c\u5148\u5728 Tunnels \u9078\u9805\u4e2d\u8a2d\u5b9aSource port 1080(\u9019\u500b\u81ea\u8a02)\uff0c\u5728 Destination \u9078\u64c7 Dynamic \uff0c\u518d\u63a5&#8221;Add&#8221;<br \/>\n<img decoding=\"async\" src=\"http:\/\/aycu12.webshots.com\/image\/34091\/2004542178856103807_rs.jpg\" \/><\/p>\n<p><!--more--><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/aycu38.webshots.com\/image\/34797\/2005996992869619010_rs.jpg\" \/><\/p>\n<p>\u56de\u5230Session\u9078\u9805\u6309\u5132\u5b58&#8221;Save&#8221;\uff0c\u4ee5\u4fbf\u4e0b\u6b21\u4e0d\u9700\u8981\u518d\u8a2d\u5b9a\u4e00\u6b21<br \/>\n<img decoding=\"async\" src=\"http:\/\/aycu21.webshots.com\/image\/35740\/2003108331038971771_rs.jpg\" \/><br \/>\n\u63a5\u8457\u6b63\u5e38\u9023\u7dda\u5230\u4f3a\u670d\u5668\u88e1\u9762\uff0cIP\u8ddfPort\u662f\u4ec0\u9ebc\u90fd\u7121\u95dc\uff0c\u53ea\u8981\u53ef\u4ee5\u9023\u5f97\u51fa\u4f86\u5230\u4f3a\u670d\u5668\u88e1\u9762\u5c31\u53ef\u4ee5\u4e86\uff0c\u9019\u4e00\u6b65\u5c31\u8981\u81ea\u5df1\u60f3\u8fa6\u6cd5\u4e86\uff0c\u525b\u525b\u5df2\u7d93\u8b1b\u4e86 port 443 \u57fa\u672c\u4e0a\u5f88\u5c11\u64cb\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/aycu17.webshots.com\/image\/34736\/2003291922031087526_rs.jpg\" \/><\/p>\n<p>\u53ef\u4ee5\u9023\u7dda\u9032\u4f86\u4e4b\u5f8c\uff0c\u76ee\u524d\u7684\u96fb\u8166\u5176\u5be6\u5df2\u7d93local\u7aef\u67b6\u597d\u4e86socks proxy\uff0c\u63a5\u8457\u6211\u5011\u8a2d\u5b9a\u4e00\u4e0bmsn\u7684proxy\u5c31\u53ef\u4ee5\u4e86\uff0c\u5982\u4e0b\u5716\uff0c\u5728msn\u7684[\u9078\u9805]\u2192[\u9023\u7dda]\u2192[\u9032\u968e\u8a2d\u5b9a\ufe5e\u88e1\u9762\u8a2d\u5b9aproxy\u4f4d\u5740: localhost\uff0cport: 1080\uff0c\u6309\u4e00\u4e0b&#8221;\u6e2c\u8a66&#8221;\uff0c\u78ba\u8a8d\u4e00\u4e0b\u662f\u5426\u771f\u80fd\u9023\u7dda\u6210\u529f\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/aycu32.webshots.com\/image\/33831\/2005821345074478466_rs.jpg\" \/><br \/>\n<img decoding=\"async\" src=\"http:\/\/aycu32.webshots.com\/image\/33831\/2005862435335226668_rs.jpg\" \/><\/p>\n<p>\u9019\u6a23\u5c31\u5b8c\u6210\u4e86\uff01<\/p>\n<p>\u54a6\uff0c\u90a3\u4f60\u53ef\u80fd\u6703\u6709\u7591\u554f\uff1f\u65e2\u7136\u6211\u5df2\u7d93\u5728\u672c\u6a5f\u7aef\u67b6\u597d\u4e86proxy\u4e86\uff0c\u90a3\u6211\u53ef\u4ee5\u4e5f\u5206\u4eab\u7d66\u5176\u4ed6\u5728\u9632\u706b\u7246\u5167\u7684\u4eba\u4f7f\u7528\u55ce\uff1f<\/p>\n<p>\u76ee\u524d\u9019\u500bsocks proxy\u53ea\u80fd\u5728\u81ea\u5df1\u7684\u96fb\u8166\u9023\u81ea\u5df1\u7684\u96fb\u8166\u4f7f\u7528\uff0c\u5982\u679c\u8981\u60f3\u8981\u5206\u4eab\u7d66\u5176\u4ed6\u96fb\u8166\u4e5f\u80fd\u4f7f\u7528\uff0c\u6210\u70ba\u4e00\u53f0\u540d\u7b26\u5176\u5be6\u7684proxy\u7684\u8a71\uff0c\u5982\u4e0b\u5716\uff0c\u5728&#8221;Local ports accept connections form other hosts&#8221;\u6253\u52fe\u5c31\u884c\u4e86^^<br \/>\n<img decoding=\"async\" src=\"http:\/\/aycu08.webshots.com\/image\/33647\/2006086986585197359_rs.jpg\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9019\u9805\u7684\u9580\u6abb\u6bd4\u8f03\u9ad8\u4e00\u9ede\uff0c\u9700\u8981\u6703\u67b6\u8a2dLinux\uff0c\u9700\u8981\u6709\u4e00\u7d44\u53ef\u4ee5\u4f7f\u7528SSH\u767b\u5165\u4f3a\u670d\u5668\u7684\u5e33\u865f\u624d\u53ef\u4ee5\uff0c\u6982\u5ff5\u4e0a\u5c31\u662f\u5229\u7528\u67b6\u8a2d&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-384","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/blog.smallken.site\/index.php?rest_route=\/wp\/v2\/posts\/384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.smallken.site\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.smallken.site\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.smallken.site\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.smallken.site\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=384"}],"version-history":[{"count":0,"href":"https:\/\/blog.smallken.site\/index.php?rest_route=\/wp\/v2\/posts\/384\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.smallken.site\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.smallken.site\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.smallken.site\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}