{"id":1434,"date":"2014-09-25T10:23:01","date_gmt":"2014-09-25T02:23:01","guid":{"rendered":"http:\/\/www.aoisnow.net\/blog\/?p=1434"},"modified":"2014-09-25T10:23:01","modified_gmt":"2014-09-25T02:23:01","slug":"day-3158-%e8%a2%ab%e5%8a%a8%e6%a8%a1%e5%bc%8fftp%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%9c%a8windows-2008-r2%e4%b8%8b%e6%95%b0%e6%8d%ae%e4%bc%a0%e8%be%93%e7%bc%93%e6%85%a2%e4%bb%a5%e8%87%b4%e6%96%ad%e7%ba%bf","status":"publish","type":"post","link":"https:\/\/www.aoisnow.net\/blog\/archives\/1434","title":{"rendered":"Day 3158 \u88ab\u52a8\u6a21\u5f0fFTP\u670d\u52a1\u5668\u5728Windows 2008 R2\u4e0b\u6570\u636e\u4f20\u8f93\u7f13\u6162\u4ee5\u81f4\u65ad\u7ebf\u7684\u95ee\u9898\u6539\u8fdb\u65b9\u6cd5"},"content":{"rendered":"<p>\u5355\u4f4d\u4ece2013\u5e74\u4f7f\u7528\u81ea\u7ba1\u670d\u52a1\u5668\u4ee5\u6765\uff0c\u4e00\u76f4\u4f7f\u7528FileZilla Server\u4f5c\u4e3aFTP\u670d\u52a1\u5668\u3002\u7531\u4e8e\u5355\u4f4d\u5904\u4e8e\u4e00\u4e2a\u5927\u7684\u5185\u7f51\u4e4b\u4e0b\uff0c\u5fc5\u987b\u4f7f\u7528PASV\u6a21\u5f0f\u8fde\u63a5\u516c\u7f51\u4e0a\u7684FTP\u670d\u52a1\uff08\u987a\u4fbf\u5410\u69fd\u4e00\u4e0b\u96c6\u56e2\u7684\u7f51\u7edc\u4e2d\u5fc3\uff0c\u53ea\u7ed9\u5185\u7f51\u670d\u52a1\u5668\u5f0020\u300121\u5374\u4e0d\u7ed9\u7559\u51e0\u4e2aPASV\u6a21\u5f0f\u7684\u7aef\u53e3\uff0c\u63d0\u51fa\u6765\u8fd8\u88ab\u5410\u69fd\u8bf4<strong>\u6211\u6bd4\u4f60\u61c2\u5f97\u591a<\/strong>\uff0c\u8fd9\u53f0\u670d\u52a1\u5668\u53c8\u5728\u914d\u7f6e\u4e0a\u4e0e\u5185\u7f51\u9694\u79bb\uff0c\u5bb3\u5f97\u6211\u4eec\u53ea\u80fd\u7528\u5176\u5b83\u534f\u8bae\u5411\u4e0a\u53d1\u9001\u6587\u4ef6\uff09\uff0c\u6240\u4ee5\u5c06\u67d0\u4e2a\u8303\u56f4\u5f00\u542f\u4e3aPASV\u7684\u9884\u7559\u7aef\u53e3\uff0c\u5e76\u5728\u9632\u706b\u5899\u4e0a\u6253\u5f00\u4e8620\u300121\u548cPASV\u7684\u7aef\u53e3\u8303\u56f4\uff0c\u540c\u65f6\u5141\u8bb8\u4e86\u670d\u52a1\u5668\u4e3b\u7a0b\u5e8f\u4e0e\u516c\u7f51\u901a\u8baf\u3002<\/p>\n<p>\u4f46\u95ee\u9898\u6765\u4e86\uff0c\u7ea6\u4e24\u5e74\u7684\u65f6\u95f4\u4ee5\u6765\uff0cFTP\u670d\u52a1\u5668\u4e00\u76f4\u4e0d\u592a\u597d\u7528\uff0c\u5c24\u5176\u662f\u5728\u4e0b\u8f7d\u5927\u6279\u5c0f\u6587\u4ef6\u7684\u60c5\u51b5\u4e0b\uff0c\u4f20\u4e0a\u5341\u51e0\u4e8c\u5341\u51e0\u4e2a\u6587\u4ef6\u6570\u636e\u8fde\u63a5\u5c31\u4f1a\u5f00\u59cb\u53cd\u5e94\u7f13\u6162\uff0c\u6389\u5230\u6ca1\u6709\u901f\u5ea6\uff0c\u76f4\u5230\u670d\u52a1\u5668\u8d85\u65f6\u81ea\u52a8\u65ad\u5f00\uff0c\u751a\u81f3\u5728\u7ed5\u8fc7\u9632\u706b\u5899\u540e\u95ee\u9898\u4f9d\u65e7\uff0c\u767e\u601d\u4e0d\u5f97\u5176\u89e3\u3002<\/p>\n<p>\u6700\u8fd1\u5728\u67e5\u770bFileZilla\u7684Wiki\u65f6\uff0c\u53d1\u73b0\u5176\u4e2d\u6709\u4e00\u4e2a\u7ae0\u8282\u300cNetwork Configuration\u300d[1]\u4e2d\u63d0\u5230\uff1a<\/p>\n<blockquote><p>Open a command prompt with administrative rights and execute the following command: <strong>netsh advfirewall set global StatefulFTP disable<\/strong><\/p><\/blockquote>\n<p>\u8bd5\u4e4b\uff0c\u8fde\u63a5\u60c5\u51b5\u6709\u6240\u6539\u5584\uff0c\u867d\u7136\u8ddd\u79bb\u95ee\u9898\u89e3\u51b3\u8fd8\u6709\u76f8\u5f53\u7684\u8ddd\u79bb\uff08\u6389\u7ebf\u4f9d\u65e7\u9891\u7e41\uff09\u3002<\/p>\n<p>\u540e\u7ecf\u67e5\u8be2\u8d44\u6599[2]\u5f97\u77e5\uff0c\u4ee5\u4e0a\u547d\u4ee4\u7684\u4f5c\u7528\u4e3a\uff1a<\/p>\n<blockquote><p>If you disable the StatefulFTP, the firewall will not inspect any FTP traffic. Any FTP traffic will pass the firewall because of the rule which I mentioned above.<\/p><\/blockquote>\n<p>\u867d\u7136\u4e0d\u662f\u5f88\u660e\u767d\u4e3a\u4ec0\u4e48\u5141\u8bb8\u4e86FTP\u670d\u52a1\u5668\u7684\u7aef\u53e3\u8303\u56f4\u548c\u7a0b\u5e8f\u8fd8\u662f\u4f1a\u88ab\u8fc7\u6ee4\u3002<\/p>\n<p>\u53c2\u8003\u8d44\u6599\uff1a<\/p>\n<p>[1]\u00a0<a href=\"https:\/\/wiki.filezilla-project.org\/Network_Configuration\" target=\"_blank\" rel=\"noopener\">https:\/\/wiki.filezilla-project.org\/Network_Configuration<\/a><\/p>\n<p>[2]\u00a0<a href=\"http:\/\/social.technet.microsoft.com\/Forums\/windowsserver\/en-US\/4ee550ad-3880-49b3-a537-402a52c3d37b\/netsh-advfirewall-set-global-statefulftp-disable?forum=winserverNIS\" target=\"_blank\" rel=\"noopener\">http:\/\/social.technet.microsoft.com\/Forums\/windowsserver\/en-US\/4ee550ad-3880-49b3-a537-402a52c3d37b\/netsh-advfirewall-set-global-statefulftp-disable?forum=winserverNIS<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>2014-09-28\u8ffd\u52a0\uff1a<\/p>\n<p>\u8fd9\u4ef6\u4e8b\u6700\u7ec8\u5f97\u4ee5\u89e3\u51b3\u7684\u65b9\u6cd5\u662f\u5728\u670d\u52a1\u5668\u4e0a\u5efa\u7acb\u4e86\u5a01\u6279\u6069\u670d\u52a1\uff0c\u7136\u540eTunnel\u5230\u670d\u52a1\u5668\u4e0a\u518d\u8fdb\u884c\u4e0b\u8f7d\uff0c\u901f\u5ea6\u5237\u5237\u7684\u3002<\/p>\n<p>\u88ab\u52a8\u660e\u6587FTP\u771f\u96be\u7528\u554a\u3002<\/p>\n<p>2014-10-22\u8ffd\u52a0\uff1a<\/p>\n<p>\u5a01\u6279\u6069\u670d\u52a1\uff08L2TP\/IPSec\u6a21\u5f0f\uff09\u867d\u597d\uff0c\u4f46\u51fa\u73b0\u4e86\u96be\u4ee5\u62e8\u5165\u7684\u60c5\u51b5\uff08\u4e0d\u8fc7\u53ea\u8981\u6210\u529f\u62e8\u5165\u4e00\u6b21\u5c31\u80fd\u6570\u5c0f\u65f6\u4e0d\u65ad\u7ebf\uff09\uff0c\u7ecf\u6293\u5305\u68c0\u67e5\u53d1\u73b0\u670d\u52a1\u5668\u548c\u5ba2\u6237\u7aef\u4e24\u8fb9\u5728\u5f00\u59cb\u9636\u6bb5\u90fd\u6ca1\u6709\u95ee\u9898\uff0c\u4f46\u4e00\u65e6\u8fdb\u5165Key Exchange\u9636\u6bb5\u670d\u52a1\u5668\u5c31\u4f1a\u5931\u53bb\u54cd\u5e94\uff08\u670d\u52a1\u5668\u6536\u5230\u4e86Key Exchange\u5305\uff0c\u4f46\u5e76\u6ca1\u6709\u56de\u5e94\u4efb\u4f55\u6570\u636e\uff09\u3002\u76ee\u524d\u6b64\u95ee\u9898\u5c1a\u672a\u89e3\u51b3\uff0c\u800c\u4e0a\u6587\u63d0\u5230\u7684FTP\u5df2\u901a\u8fc7SSH SFTP-FTP Bridge\u89e3\u51b3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5355\u4f4d\u4ece2013\u5e74\u4f7f\u7528\u81ea\u7ba1\u670d\u52a1\u5668\u4ee5\u6765\uff0c\u4e00\u76f4\u4f7f\u7528FileZilla Server\u4f5c\u4e3aFTP\u670d\u52a1\u5668\u3002\u7531\u4e8e\u5355\u4f4d\u5904\u4e8e\u4e00\u4e2a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1434","post","type-post","status-publish","format-standard","hentry","category-sketch"],"_links":{"self":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts\/1434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/comments?post=1434"}],"version-history":[{"count":0,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts\/1434\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/media?parent=1434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/categories?post=1434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/tags?post=1434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}