{"id":203,"date":"2021-06-17T16:17:00","date_gmt":"2021-06-17T08:17:00","guid":{"rendered":"http:\/\/feel.name\/?p=203"},"modified":"2021-06-17T16:17:00","modified_gmt":"2021-06-17T08:17:00","slug":"%e5%8d%8e%e4%b8%ba%e8%b7%af%e7%94%b1%e5%99%a8%e6%9c%aa%e5%bc%80%e5%90%afalg-nat%e5%af%bc%e8%87%b4pptp%e4%b8%8d%e8%83%bd%e8%bf%9e%e6%8e%a5%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/feel.name\/?p=203","title":{"rendered":"\u534e\u4e3a\u8def\u7531\u5668\u672a\u5f00\u542falg nat\u5bfc\u81f4pptp\u4e0d\u80fd\u8fde\u63a5\u7684\u95ee\u9898"},"content":{"rendered":"\n<p>\u6700\u8fd1\u6211\u6240\u6253\u7406\u7684\u7f51\u7edc\u4e2d\uff0c\u6709\u53cd\u9988\u51fa\u73b0PPTP VPN\u6ca1\u6cd5\u8fde\u63a5\u7684\u60c5\u51b5\u3002<\/p>\n\n\n\n<p>\u8868\u73b0\u95ee\u9898\u5982\u4e0b\uff1a<br>Windows\u7cfb\u7edf\u8fde\u63a5\u63d0\u793a \u9519\u8bef\u4ee3\u7801628: \u5728\u8fde\u63a5\u5b8c\u6210\u524d\uff0c\u8fde\u63a5\u88ab\u8fdc\u7a0b\u8ba1\u7b97\u673a\u7ec8\u6b62\uff0c\u6216\u9519\u8bef\u4ee3\u7801718 \u56e0\u4e3a\u8fdc\u7a0b\u8ba1\u7b97\u673a\u4e0d\u80fd\u53ca\u65f6\u54cd\u5e94,\u6b64\u8fde\u63a5\u5df2\u88ab\u7ec8\u6b62<br>ROS\u63d0\u793a\u65e0\u6cd5\u89e3\u6790PPTP\u540d\uff0c\u5076\u5c14\u80fd\u8fde\u4e0a\uff0c\u4f46\u4e0d\u5b9a\u65f6\u65ad\u5f00 \u6ca1\u7f51\u3002<\/p>\n\n\n\n<p>\u6839\u636e\u653b\u57ce\u72ee\u7684\u5efa\u8bae\uff0c\u4e00\u756a\u6392\u67e5\u540e\uff0c\u53d1\u73b0\u662fALG\u90e8\u5206 PPTP\u6ca1\u5f00\u542f\u3002<br>\u4ec0\u4e48\u662fALG\uff1f\u6458\u6284\u81eaH3C\u7f51\u7ad9<\/p>\n\n\n\n<p>1 NAT ALG\u7b80\u4ecb<br>\u666e\u901aNAT\u5b9e\u73b0\u4e86\u5bf9UDP\u6216TCP\u62a5\u6587\u5934\u4e2d\u7684\u7684IP\u5730\u5740\u53ca\u7aef\u53e3\u8f6c\u6362\u529f\u80fd\uff0c\u4f46\u5bf9\u5e94\u7528\u5c42\u6570\u636e\u8f7d\u8377\u4e2d\u7684\u5b57\u6bb5\u65e0\u80fd\u4e3a\u529b\uff0c\u5728\u8bb8\u591a\u5e94\u7528\u5c42\u534f\u8bae\u4e2d\uff0c\u6bd4\u5982\u591a\u5a92\u4f53\u534f\u8bae\uff08H.323\u3001SIP\u7b49\uff09\u3001FTP\u3001SQLNET\u7b49\uff0cTCP\/UDP\u8f7d\u8377\u4e2d\u5e26\u6709\u5730\u5740\u6216\u8005\u7aef\u53e3\u4fe1\u606f\uff0c\u8fd9\u4e9b\u5185\u5bb9\u4e0d\u80fd\u88abNAT\u8fdb\u884c\u6709\u6548\u7684\u8f6c\u6362\uff0c\u5c31\u53ef\u80fd\u5bfc\u81f4\u95ee\u9898\u3002\u800cNAT ALG\uff08Application Level Gateway\uff0c\u5e94\u7528\u5c42\u7f51\u5173\uff09\u6280\u672f\u80fd\u5bf9\u591a\u901a\u9053\u534f\u8bae\u8fdb\u884c\u5e94\u7528\u5c42\u62a5\u6587\u4fe1\u606f\u7684\u89e3\u6790\u548c\u5730\u5740\u8f6c\u6362\uff0c\u5c06\u8f7d\u8377\u4e2d\u9700\u8981\u8fdb\u884c\u5730\u5740\u8f6c\u6362\u7684IP\u5730\u5740\u548c\u7aef\u53e3\u6216\u8005\u9700\u7279\u6b8a\u5904\u7406\u7684\u5b57\u6bb5\u8fdb\u884c\u76f8\u5e94\u7684\u8f6c\u6362\u548c\u5904\u7406\uff0c\u4ece\u800c\u4fdd\u8bc1\u5e94\u7528\u5c42\u901a\u4fe1\u7684\u6b63\u786e\u6027\u3002<br>\u4f8b\u5982\uff0cFTP\u5e94\u7528\u5c31\u7531\u6570\u636e\u8fde\u63a5\u548c\u63a7\u5236\u8fde\u63a5\u5171\u540c\u5b8c\u6210\uff0c\u800c\u4e14\u6570\u636e\u8fde\u63a5\u7684\u5efa\u7acb\u52a8\u6001\u5730\u7531\u63a7\u5236\u8fde\u63a5\u4e2d\u7684\u8f7d\u8377\u5b57\u6bb5\u4fe1\u606f\u51b3\u5b9a\uff0c\u8fd9\u5c31\u9700\u8981ALG\u6765\u5b8c\u6210\u8f7d\u8377\u5b57\u6bb5\u4fe1\u606f\u7684\u8f6c\u6362\uff0c\u4ee5\u4fdd\u8bc1\u540e\u7eed\u6570\u636e\u8fde\u63a5\u7684\u6b63\u786e\u5efa\u7acb\u3002<\/p>\n\n\n\n<p>2 NAT ALG\u7279\u70b9<br>NAT ALG\u4e3a\u5185\u90e8\u7f51\u7edc\u548c\u5916\u90e8\u7f51\u7edc\u4e4b\u95f4\u7684\u901a\u4fe1\u63d0\u4f9b\u4e86\u57fa\u4e8e\u5e94\u7528\u7684\u8bbf\u95ee\u63a7\u5236\uff0c\u5177\u6709\u4ee5\u4e0b\u4f18\u70b9\uff1a<br>(1) ALG\u7edf\u4e00\u5bf9\u5404\u5e94\u7528\u5c42\u534f\u8bae\u62a5\u6587\u8fdb\u884c\u89e3\u6790\u5904\u7406\uff0c\u907f\u514d\u5176\u5b83\u6a21\u5757\u5bf9\u540c\u4e00\u7c7b\u62a5\u6587\u5e94\u7528\u5c42\u534f\u8bae\u7684\u91cd\u590d\u89e3\u6790\uff0c\u53ef\u4ee5\u6709\u6548\u63d0\u9ad8\u62a5\u6587\u8f6c\u53d1\u6548\u7387\u3002<br>(2) \u53ef\u652f\u6301\u591a\u79cd\u5e94\u7528\u5c42\u534f\u8bae\uff1aFTP\u3001H.323\uff08\u5305\u62ecRAS\u3001H.225\u3001H.245\uff09\u3001SIP\u3001DNS\u3001ILS\u3001MSN\/QQ\u3001NBT\u3001RTSP\u3001SQLNET\u3001TFTP\u7b49\u3002<\/p>\n\n\n\n<p>\u597d\u4e86\uff0c\u5427\u5566\u5427\u5566\uff0c\u600e\u6837\u5728CLI\u754c\u9762\u4e2d\u770b\u662f\u5426\u6709\u5f00\u542fNAT ALG\uff1f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;<strong>Huawei<\/strong>&gt;display nat alg\n<strong>NAT Application Level Gateway Information:\n----------------------------------<\/strong>\n<strong>  Application            Status\n----------------------------------<\/strong>\n  dns                    Enabled\n  ftp                    Disabled\n  rtsp                   Enabled\n  sip                    Disabled\n<strong>  pptp                   Enabled\n----------------------------------<\/strong><\/code><\/pre>\n\n\n\n<p>\u5982\u679c\u6ca1\u5f00\u542f\uff1f\u600e\u4e48\u5f00\u542f\uff1f\u600e\u4e48\u5173\u95ed\uff1f<br>\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f\u4e0b\uff0c\u952e\u5165&nbsp;<strong>nat alg pptp enable<\/strong>&nbsp;\u5373\u53ef\u5f00\u542f\u3002\u952e\u5165&nbsp;<strong>undo nat alg pptp enable<\/strong>&nbsp;\u5373\u53ef\u5173\u95ed\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/blog.ich8.com\/post\/6441\/huawei-alg-nat\"><img decoding=\"async\" src=\"https:\/\/blog.ich8.com\/wp-content\/uploads\/2017\/07\/huawei-alg-nat-300x94.png\" alt=\"\" class=\"wp-image-6443\"\/><\/a><\/figure><\/div>\n\n\n\n<p>\u5982\u679c\u662fWEB\u754c\u9762\u7ba1\u7406\uff0c\u4f4d\u7f6e\u5728\u54ea\uff1f<br>IP\u4e1a\u52a1 &gt; NAT &gt; \u5916\u7f51\u8bbf\u95ee\uff0c\u5c06\u9700\u8981\u4f7f\u7528\u5230\u7684\u534f\u8bae\u6253\u94a9\u3002<\/p>\n\n\n\n<p>\u672c\u6587\u56fa\u5b9a\u94fe\u63a5:&nbsp;<a href=\"https:\/\/blog.ich8.com\/post\/6441\">https:\/\/blog.ich8.com\/post\/6441 | \u9738\u738b\u786c\u4e0a\u5f13&#8217;s Blog<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u6211\u6240\u6253\u7406\u7684\u7f51\u7edc\u4e2d\uff0c\u6709\u53cd\u9988\u51fa\u73b0PPTP VPN\u6ca1\u6cd5\u8fde\u63a5\u7684\u60c5\u51b5\u3002 \u8868\u73b0\u95ee\u9898\u5982\u4e0b\uff1aWindows\u7cfb\u7edf\u8fde\u63a5\u63d0\u793a \u9519&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-203","post","type-post","status-publish","format-standard","hentry","category-windows"],"_links":{"self":[{"href":"http:\/\/feel.name\/index.php?rest_route=\/wp\/v2\/posts\/203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/feel.name\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/feel.name\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/feel.name\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/feel.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=203"}],"version-history":[{"count":1,"href":"http:\/\/feel.name\/index.php?rest_route=\/wp\/v2\/posts\/203\/revisions"}],"predecessor-version":[{"id":204,"href":"http:\/\/feel.name\/index.php?rest_route=\/wp\/v2\/posts\/203\/revisions\/204"}],"wp:attachment":[{"href":"http:\/\/feel.name\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/feel.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=203"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/feel.name\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}