{"id":479142,"date":"2023-08-09T10:31:59","date_gmt":"2023-08-09T10:31:59","guid":{"rendered":""},"modified":"2023-09-05T11:18:14","modified_gmt":"2023-09-05T11:18:14","slug":"static-nat","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/cn\/wiki\/static-nat\/","title":{"rendered":"\u9759\u6001NAT"},"content":{"rendered":"<p>\u9759\u6001 NAT\uff08\u7f51\u7edc\u5730\u5740\u8f6c\u6362\uff09\u662f\u4e00\u79cd\u7f51\u7edc\u6280\u672f\uff0c\u7528\u4e8e\u5c06\u7279\u5b9a\u7684\u516c\u5171 IP \u5730\u5740\u6620\u5c04\u5230\u5c40\u57df\u7f51 (LAN) \u5185\u7684\u79c1\u6709 IP \u5730\u5740\u3002\u6b64\u8fc7\u7a0b\u5141\u8bb8\u79c1\u6709\u7f51\u7edc\u4e0a\u7684\u8bbe\u5907\u4f7f\u7528\u516c\u5171 IP \u5730\u5740\u4e0e\u5916\u90e8\u7f51\u7edc\uff08\u4f8b\u5982 Internet\uff09\u8fdb\u884c\u901a\u4fe1\u3002\u9759\u6001 NAT \u7684\u4e3b\u8981\u76ee\u7684\u662f\u5728\u79c1\u6709 IP \u5730\u5740\u548c\u516c\u5171 IP \u5730\u5740\u4e4b\u95f4\u63d0\u4f9b\u56fa\u5b9a\u3001\u4e0d\u53d8\u7684\u8f6c\u6362\uff0c\u4ece\u800c\u5b9e\u73b0\u65e0\u7f1d\u8fde\u63a5\u548c\u5b89\u5168\u901a\u4fe1\u3002<\/p>\n<h2>\u9759\u6001 NAT \u7684\u8d77\u6e90\u5386\u53f2<\/h2>\n<p>\u7f51\u7edc\u5730\u5740\u8f6c\u6362\u7684\u6982\u5ff5\u53ef\u4ee5\u8ffd\u6eaf\u5230 20 \u4e16\u7eaa 90 \u5e74\u4ee3\u521d\u671f\uff0c\u5f53\u65f6\u4e92\u8054\u7f51\u6b63\u9010\u6e10\u6d41\u884c\uff0c\u53ef\u7528\u7684\u516c\u5171 IPv4 \u5730\u5740\u7684\u67af\u7aed\u5df2\u663e\u800c\u6613\u89c1\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e00\u95ee\u9898\uff0cNAT \u5e94\u8fd0\u800c\u751f\uff0c\u4f5c\u4e3a\u4e00\u79cd\u8282\u7ea6\u516c\u5171 IP \u5730\u5740\u7684\u624b\u6bb5\u3002\u9759\u6001 NAT \u662f NAT \u7684\u4e00\u79cd\u53d8\u4f53\uff0c\u5b83\u662f\u4e00\u79cd\u89e3\u51b3\u65b9\u6848\uff0c\u9002\u7528\u4e8e\u9700\u8981\u4e3a\u7279\u5b9a\u670d\u52a1\u5728\u79c1\u6709\u548c\u516c\u5171 IP \u5730\u5740\u4e4b\u95f4\u5efa\u7acb\u4e00\u81f4\u7684\u4e00\u5bf9\u4e00\u6620\u5c04\u7684\u4f01\u4e1a\u548c\u7ec4\u7ec7\u3002<\/p>\n<h2>\u6709\u5173\u9759\u6001 NAT \u7684\u8be6\u7ec6\u4fe1\u606f<\/h2>\n<p>\u9759\u6001 NAT \u901a\u8fc7\u5728\u5185\u90e8\u79c1\u6709 IP \u5730\u5740\u548c\u5916\u90e8\u516c\u5171 IP \u5730\u5740\u4e4b\u95f4\u521b\u5efa\u56fa\u5b9a\u6620\u5c04\u6765\u8fd0\u884c\u3002\u65e0\u8bba\u79c1\u6709 IP \u5730\u5740\u5982\u4f55\u52a8\u6001\u53d8\u5316\uff0c\u6b64\u6620\u5c04\u90fd\u4fdd\u6301\u4e0d\u53d8\u3002\u5f53\u5185\u90e8\u8bbe\u5907\u53d1\u8d77\u4e0e\u5916\u90e8\u7f51\u7edc\u7684\u901a\u4fe1\u65f6\uff0c\u6267\u884c NAT \u7684\u8def\u7531\u5668\u6216\u9632\u706b\u5899\u4f1a\u5c06\u79c1\u6709 IP \u5730\u5740\u66ff\u6362\u4e3a\u9884\u5b9a\u7684\u516c\u5171 IP \u5730\u5740\uff0c\u4ece\u800c\u5b9e\u73b0\u53cc\u5411\u901a\u4fe1\u3002<\/p>\n<p>\u9759\u6001 NAT \u786e\u4fdd\u53d1\u5f80\u516c\u5171 IP \u5730\u5740\u7684\u5165\u7ad9\u6d41\u91cf\u88ab\u5b9a\u5411\u5230 LAN \u5185\u76f8\u5e94\u7684\u79c1\u6709 IP \u5730\u5740\uff0c\u4ece\u800c\u4e3a\u7f51\u7edc\u6258\u7ba1\u3001\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u5668\u6216 VPN \u7b49\u670d\u52a1\u5efa\u7acb\u53ef\u9760\u7684\u8fde\u63a5\u3002<\/p>\n<h2>\u9759\u6001 NAT \u7684\u5185\u90e8\u7ed3\u6784\uff1a\u9759\u6001 NAT \u7684\u5de5\u4f5c\u539f\u7406<\/h2>\n<p>\u4e3a\u4e86\u4e86\u89e3\u9759\u6001 NAT \u7684\u5185\u90e8\u5de5\u4f5c\u539f\u7406\uff0c\u8ba9\u6211\u4eec\u770b\u770b\u6240\u6d89\u53ca\u7684\u57fa\u672c\u6b65\u9aa4\uff1a<\/p>\n<ol>\n<li>\n<p>\u914d\u7f6e\uff1a\u7f51\u7edc\u7ba1\u7406\u5458\u5728\u8fb9\u7f18\u8def\u7531\u5668\u6216\u9632\u706b\u5899\u4e0a\u8bbe\u7f6e\u9759\u6001 NAT \u89c4\u5219\uff0c\u5b9a\u4e49\u7279\u5b9a\u7684\u79c1\u6709 IP \u5730\u5740\u53ca\u5176\u5bf9\u5e94\u7684\u516c\u5171 IP \u5730\u5740\u3002<\/p>\n<\/li>\n<li>\n<p>\u51fa\u7ad9\u901a\u4fe1\uff1a\u5f53\u5185\u90e8\u8bbe\u5907\u60f3\u8981\u4e0e\u5916\u90e8\u76ee\u7684\u5730\u901a\u4fe1\u65f6\uff0c\u8def\u7531\u5668\u4f1a\u8bc6\u522b\u9884\u5148\u914d\u7f6e\u7684\u9759\u6001 NAT \u6761\u76ee\uff0c\u5e76\u7528\u516c\u5171 IP \u5730\u5740\u66ff\u6362\u6570\u636e\u5305\u5934\u4e2d\u7684\u79c1\u6709 IP \u5730\u5740\u3002<\/p>\n<\/li>\n<li>\n<p>\u5165\u7ad9\u901a\u4fe1\uff1a\u7531\u4e8e\u9759\u6001 NAT \u6761\u76ee\uff0c\u53d1\u8d77\u4e0e\u516c\u5171 IP \u5730\u5740\u901a\u4fe1\u7684\u5916\u90e8\u8bbe\u5907\u5c06\u88ab\u5b9a\u5411\u5230\u5173\u8054\u7684\u79c1\u6709 IP \u5730\u5740\u3002<\/p>\n<\/li>\n<li>\n<p>\u4e00\u5bf9\u4e00\u6620\u5c04\uff1a\u4e0e\u4f7f\u7528\u516c\u5171 IP \u5730\u5740\u6c60\u7684\u52a8\u6001 NAT \u4e0d\u540c\uff0c\u9759\u6001 NAT \u5728\u79c1\u6709 IP \u5730\u5740\u548c\u516c\u5171 IP \u5730\u5740\u4e4b\u95f4\u4fdd\u6301\u4e00\u5bf9\u4e00\u7684\u5173\u7cfb\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u9759\u6001NAT\u5173\u952e\u7279\u6027\u5206\u6790<\/h2>\n<p>\u9759\u6001 NAT \u63d0\u4f9b\u4e86\u51e0\u4e2a\u5173\u952e\u529f\u80fd\uff0c\u4f7f\u5176\u6210\u4e3a\u4e00\u79cd\u6709\u4ef7\u503c\u7684\u7f51\u7edc\u89e3\u51b3\u65b9\u6848\uff1a<\/p>\n<ul>\n<li>\n<p><strong>\u7a33\u5b9a<\/strong>\uff1a\u56fa\u5b9a\u6620\u5c04\u53ef\u786e\u4fdd\u9700\u8981\u9759\u6001\u516c\u5171 IP \u5730\u5740\u7684\u670d\u52a1\u7684\u4e00\u81f4\u8fde\u63a5\uff0c\u4ece\u800c\u63d0\u9ad8\u53ef\u9760\u6027\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u5168<\/strong>\uff1a\u901a\u8fc7\u4f7f\u7528\u9759\u6001\u516c\u5171 IP \u5730\u5740\uff0c\u5185\u90e8\u8bbe\u5907\u7684\u79c1\u6709 IP \u5730\u5740\u5bf9\u4e8e\u5916\u90e8\u7f51\u7edc\u6765\u8bf4\u662f\u9690\u85cf\u7684\uff0c\u4ece\u800c\u63d0\u4f9b\u4e86\u989d\u5916\u7684\u5b89\u5168\u6027\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u517c\u5bb9\u6027<\/strong>\uff1a\u9759\u6001NAT\u517c\u5bb9\u5404\u79cd\u5e94\u7528\u7a0b\u5e8f\u548c\u534f\u8bae\uff0c\u9002\u7528\u4e8e\u5e7f\u6cdb\u7684\u7f51\u7edc\u670d\u52a1\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u65e0\u969c\u788d<\/strong>\uff1a\u5916\u90e8\u7528\u6237\u53ef\u4ee5\u4f7f\u7528\u5df2\u77e5\u7684\u516c\u5171 IP \u5730\u5740\u8f7b\u677e\u8bbf\u95ee\u5185\u90e8\u670d\u52a1\uff0c\u4ece\u800c\u7b80\u5316\u5bf9\u670d\u52a1\u5668\u548c\u5e94\u7528\u7a0b\u5e8f\u7684\u8fdc\u7a0b\u8bbf\u95ee\u3002<\/p>\n<\/li>\n<\/ul>\n<h2>\u9759\u6001 NAT \u7684\u7c7b\u578b<\/h2>\n<p>\u6839\u636e IP \u5730\u5740\u8f6c\u6362\u7684\u65b9\u5f0f\uff0c\u9759\u6001 NAT \u53ef\u4ee5\u5206\u4e3a\u4e24\u79cd\u4e3b\u8981\u7c7b\u578b\uff1a<\/p>\n<ol>\n<li>\n<p><strong>\u57fa\u672c\u9759\u6001 NAT<\/strong>\uff1a\u5728\u6b64\u7c7b\u578b\u4e2d\uff0c\u5355\u4e2a\u79c1\u6709 IP \u5730\u5740\u4e0e\u5355\u4e2a\u516c\u6709 IP \u5730\u5740\u4e4b\u95f4\u5efa\u7acb\u4e00\u5bf9\u4e00\u6620\u5c04\u3002\u8fd9\u662f\u6700\u5e38\u89c1\u7684\u9759\u6001 NAT \u7c7b\u578b\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u91cd\u53e0\u9759\u6001 NAT<\/strong>\uff1a\u91cd\u53e0\u9759\u6001 NAT \u5141\u8bb8\u5c06\u591a\u4e2a\u79c1\u6709 IP \u5730\u5740\u6620\u5c04\u5230\u5355\u4e2a\u516c\u5171 IP \u5730\u5740\u3002\u5f53\u591a\u4e2a\u5185\u90e8\u8bbe\u5907\u9700\u8981\u5171\u4eab\u4e00\u4e2a\u516c\u5171 IP \u5730\u5740\u4ee5\u4f9b\u5916\u90e8\u8bbf\u95ee\u65f6\uff0c\u4f7f\u7528\u6b64\u65b9\u6cd5\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u4e3a\u4e86\u66f4\u597d\u5730\u8bf4\u660e\u9759\u6001 NAT \u7684\u7c7b\u578b\uff0c\u8fd9\u91cc\u6709\u4e00\u4e2a\u603b\u7ed3\u5176\u7279\u5f81\u7684\u8868\u683c\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u7c7b\u578b<\/th>\n<th>\u63cf\u8ff0<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u57fa\u672c\u9759\u6001 NAT<\/td>\n<td>\u79c1\u6709 IP \u5230\u516c\u6709 IP \u7684\u4e00\u5bf9\u4e00\u6620\u5c04<\/td>\n<\/tr>\n<tr>\n<td>\u91cd\u53e0\u9759\u6001 NAT<\/td>\n<td>\u591a\u4e2a\u79c1\u6709 IP \u6620\u5c04\u5230\u5355\u4e2a\u516c\u5171 IP<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u9759\u6001 NAT \u7684\u4f7f\u7528\u65b9\u6cd5\u3001\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6848<\/h2>\n<h3>\u4f7f\u7528\u9759\u6001 NAT \u7684\u65b9\u6cd5\uff1a<\/h3>\n<ol>\n<li>\n<p><strong>\u865a\u62df\u4e3b\u673a<\/strong>\uff1a\u9759\u6001 NAT \u5141\u8bb8\u7ec4\u7ec7\u4f7f\u7528\u4e13\u7528\u516c\u5171 IP \u5730\u5740\u6258\u7ba1 Web \u670d\u52a1\u5668\uff0c\u4ece\u800c\u65b9\u4fbf\u8bbf\u95ee\u7f51\u7ad9\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u5668<\/strong>\uff1a\u7ec4\u7ec7\u53ef\u4ee5\u4f7f\u7528\u9759\u6001 NAT \u6765\u6258\u7ba1\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u5668\uff0c\u786e\u4fdd\u4e00\u81f4\u7684 IP \u5730\u5740\u4ee5\u5b9e\u73b0\u53ef\u9760\u7684\u7535\u5b50\u90ae\u4ef6\u901a\u4fe1\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u865a\u62df\u4e13\u7528\u7f51\u7edc (VPN)<\/strong>\uff1a\u9759\u6001 NAT \u5141\u8bb8\u901a\u8fc7 VPN \u5bf9\u5185\u90e8\u8d44\u6e90\u8fdb\u884c\u5b89\u5168\u7684\u8fdc\u7a0b\u8bbf\u95ee\uff0c\u5e76\u4f7f\u7528\u56fa\u5b9a\u7684\u516c\u5171 IP \u5730\u5740\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002<\/p>\n<\/li>\n<\/ol>\n<h3>\u95ee\u9898\u53ca\u89e3\u51b3\u65b9\u6848\uff1a<\/h3>\n<ol>\n<li>\n<p><strong>\u6709\u9650\u7684\u516c\u5171 IP \u5730\u5740<\/strong>\uff1a\u968f\u7740\u53ef\u7528 IPv4 \u5730\u5740\u6570\u91cf\u7684\u51cf\u5c11\uff0c\u83b7\u53d6\u989d\u5916\u7684\u516c\u5171 IP \u5730\u5740\u4f1a\u53d8\u5f97\u5f88\u56f0\u96be\u3002\u4f7f\u7528\u91cd\u53e0\u9759\u6001 NAT \u53ef\u4ee5\u5e2e\u52a9\u7f13\u89e3\u6b64\u95ee\u9898\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u8f6c\u53d1\u7aef\u53e3<\/strong>\uff1a\u67d0\u4e9b\u5e94\u7528\u7a0b\u5e8f\u9700\u8981\u7279\u5b9a\u7684\u7aef\u53e3\u8f6c\u53d1\u624d\u80fd\u901a\u8fc7 NAT \u6b63\u786e\u8fd0\u884c\u3002\u7ba1\u7406\u5458\u9700\u8981\u4ed4\u7ec6\u914d\u7f6e\u7aef\u53e3\u8f6c\u53d1\u89c4\u5219\uff0c\u4ee5\u786e\u4fdd\u65e0\u7f1d\u670d\u52a1\u8bbf\u95ee\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u670d\u52a1\u5197\u4f59<\/strong>\uff1a\u5982\u679c\u516c\u5171 IP \u5730\u5740\u53d1\u751f\u53d8\u5316\uff0c\u4f9d\u8d56\u9759\u6001 NAT \u7684\u670d\u52a1\u53ef\u80fd\u4f1a\u51fa\u73b0\u505c\u673a\u3002\u9002\u5f53\u7684\u89c4\u5212\u548c\u6c9f\u901a\u5bf9\u4e8e\u6700\u5927\u9650\u5ea6\u5730\u51cf\u5c11 IP \u5730\u5740\u66f4\u65b0\u671f\u95f4\u7684\u670d\u52a1\u4e2d\u65ad\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u4e3b\u8981\u7279\u70b9\u53ca\u540c\u7c7b\u4ea7\u54c1\u6bd4\u8f83<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u7279\u5f81<\/th>\n<th>\u9759\u6001NAT<\/th>\n<th>\u52a8\u6001 NAT<\/th>\n<th>\u8f6c\u53d1\u7aef\u53e3<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>IP \u5730\u5740\u8f6c\u6362<\/td>\n<td>\u4e00\u5bf9\u4e00\u6620\u5c04<\/td>\n<td>\u591a\u5bf9\u591a\u6620\u5c04<\/td>\n<td>\u4e00\u5bf9\u4e00\u6620\u5c04<\/td>\n<\/tr>\n<tr>\n<td>IP \u5730\u5740\u5206\u914d<\/td>\n<td>\u56fa\u5b9a\u548c\u9759\u6001<\/td>\n<td>\u52a8\u6001\u548c\u4e34\u65f6<\/td>\n<td>\u56fa\u5b9a\u548c\u9759\u6001<\/td>\n<\/tr>\n<tr>\n<td>\u8d44\u6e90\u6d88\u8017<\/td>\n<td>\u6bcf\u4e2a\u8bbe\u5907\u9700\u8981\u9759\u6001\u516c\u5171 IP<\/td>\n<td>\u8bbe\u5907\u95f4\u5171\u4eab\u7684\u516c\u7f51 IP \u6c60<\/td>\n<td>\u6bcf\u6b21\u8f6c\u53d1\u90fd\u9700\u8981\u516c\u5171 IP<\/td>\n<\/tr>\n<tr>\n<td>\u4f7f\u7528\u6848\u4f8b<\/td>\n<td>\u7f51\u7ad9\u6258\u7ba1\u3001VPN\u3001\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u5668<\/td>\n<td>\u5bb6\u5ead\u7f51\u7edc\u3001\u5c0f\u578b\u4f01\u4e1a<\/td>\n<td>\u8bbf\u95ee\u8def\u7531\u5668\u540e\u9762\u7684\u670d\u52a1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u4e0e\u9759\u6001 NAT \u76f8\u5173\u7684\u672a\u6765\u89c2\u70b9\u548c\u6280\u672f<\/h2>\n<p>\u968f\u7740 IPv4 \u5730\u5740\u4e0d\u65ad\u8017\u5c3d\uff0cIPv6 \u7684\u91c7\u7528\u5c06\u53d8\u5f97\u66f4\u52a0\u666e\u904d\u3002IPv6 \u7684\u5e9e\u5927\u5730\u5740\u7a7a\u95f4\u5728\u8bb8\u591a\u60c5\u51b5\u4e0b\u6d88\u9664\u4e86\u5bf9 NAT \u7684\u9700\u6c42\uff0c\u4e3a\u6bcf\u4e2a\u8bbe\u5907\u63d0\u4f9b\u4e86\u552f\u4e00\u7684\u516c\u5171 IP \u5730\u5740\u3002\u4f46\u662f\uff0c\u7531\u4e8e IPv4 \u4ecd\u5728\u4f7f\u7528\uff0c\u5bf9\u4e8e\u516c\u5171 IP \u8d44\u6e90\u6709\u9650\u7684\u7ec4\u7ec7\u6765\u8bf4\uff0c\u9759\u6001 NAT \u4ecd\u5c06\u662f\u4e00\u4e2a\u53ef\u884c\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<h2>\u5982\u4f55\u4f7f\u7528\u4ee3\u7406\u670d\u52a1\u5668\u6216\u5c06\u5176\u4e0e\u9759\u6001 NAT \u5173\u8054<\/h2>\n<p>\u4ee3\u7406\u670d\u52a1\u5668\u548c\u9759\u6001 NAT \u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u76f8\u4e92\u8865\u5145\u3002\u4ee3\u7406\u670d\u52a1\u5668\u53ef\u4ee5\u5145\u5f53\u5185\u90e8\u8bbe\u5907\u548c\u5916\u90e8\u7f51\u7edc\u4e4b\u95f4\u7684\u4e2d\u4ecb\uff0c\u63d0\u4f9b\u989d\u5916\u7684\u5b89\u5168\u6027\u548c\u533f\u540d\u6027\u3002\u4e0e\u9759\u6001 NAT \u7ed3\u5408\u4f7f\u7528\u65f6\uff0c\u4ee3\u7406\u670d\u52a1\u5668\u53ef\u4ee5\u589e\u5f3a\u9690\u79c1\u6027\u5e76\u8fdb\u4e00\u6b65\u4fdd\u62a4\u5185\u90e8\u8bbe\u5907\u514d\u53d7\u5916\u90e8\u76f4\u63a5\u8bbf\u95ee\u3002<\/p>\n<h2>\u76f8\u5173\u94fe\u63a5<\/h2>\n<p>\u6709\u5173\u9759\u6001 NAT \u548c\u76f8\u5173\u7f51\u7edc\u4e3b\u9898\u7684\u66f4\u591a\u4fe1\u606f\uff0c\u60a8\u53ef\u4ee5\u63a2\u7d22\u4ee5\u4e0b\u8d44\u6e90\uff1a<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/www.netacad.com\/courses\/packet-tracer\/introduction-to-network-address-translation\" target=\"_new\" rel=\"noopener nofollow\">\u601d\u79d1\u7f51\u7edc\u5b66\u9662 \u2013 \u7f51\u7edc\u5730\u5740\u8f6c\u6362<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/www.juniper.net\/documentation\/en_US\/junos\/topics\/concept\/nat-security-understanding.html\" target=\"_new\" rel=\"noopener nofollow\">\u77bb\u535a\u7f51\u7edc \u2013 \u4e86\u89e3 NAT<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/tools.ietf.org\/html\/rfc1631\" target=\"_new\" rel=\"noopener nofollow\">IETF RFC 1631 \u2013 IP \u7f51\u7edc\u5730\u5740\u8f6c\u6362\u5668 (NAT)<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/www.ipv6.com\/\" target=\"_new\" rel=\"noopener nofollow\">IPv6\u5b98\u65b9\u7f51\u7ad9<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/oneproxy.pro\/cn\/resources\/proxy-servers-explained\/\" target=\"_new\" rel=\"noopener\">\u4ee3\u7406\u670d\u52a1\u5668\u89e3\u91ca<\/a><\/p>\n<\/li>\n<\/ul>\n<p>\u603b\u4e4b\uff0c\u9759\u6001 NAT \u5728\u7f51\u7edc\u5730\u5740\u8f6c\u6362\u4e2d\u8d77\u7740\u81f3\u5173\u91cd\u8981\u7684\u4f5c\u7528\uff0c\u4e3a\u5404\u79cd\u670d\u52a1\u63d0\u4f9b\u7a33\u5b9a\u6027\u3001\u5b89\u5168\u6027\u548c\u517c\u5bb9\u6027\u3002\u968f\u7740\u6280\u672f\u7684\u53d1\u5c55\u548c IPv6 \u7684\u666e\u53ca\uff0c\u9759\u6001 NAT \u5c06\u4e0e\u65b0\u7684\u7f51\u7edc\u89e3\u51b3\u65b9\u6848\u5171\u5b58\uff0c\u786e\u4fdd\u73b0\u4ee3\u7f51\u7edc\u7684\u9ad8\u6548\u548c\u5b89\u5168\u8fd0\u884c\u3002<\/p>","protected":false},"featured_media":479143,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-479142","wiki","type-wiki","status-publish","has-post-thumbnail","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark>Static NAT: A Comprehensive Guide<\/mark>","faq_items":[{"question":"<strong>What is Static NAT?<\/strong>","answer":"<p>Static NAT (Network Address Translation) is a networking technique that maps a specific private IP address to a fixed public IP address. It allows devices within a local network to communicate with external networks, such as the Internet, using the same public IP address consistently.<\/p>"},{"question":"<strong>How did Static NAT originate?<\/strong>","answer":"<p>Static NAT was developed in response to the depletion of available public IPv4 addresses in the early 1990s. It became a practical solution to conserve public IP addresses while providing a stable, one-to-one mapping between private and public IP addresses.<\/p>"},{"question":"<strong>How does Static NAT work?<\/strong>","answer":"<p>When an internal device communicates with an external network, the router or firewall performing Static NAT replaces the device's private IP address with the pre-configured public IP address. Inbound traffic destined for the public IP address is directed to the corresponding private IP address within the LAN, enabling seamless connectivity.<\/p>"},{"question":"<strong>What are the key features of Static NAT?<\/strong>","answer":"<p>Static NAT offers stability through fixed mappings, enhanced security by hiding internal IP addresses, compatibility with various applications, and accessibility for external users. Its one-to-one mapping ensures reliable connections for services like web hosting, email servers, and VPNs.<\/p>"},{"question":"<strong>What types of Static NAT exist?<\/strong>","answer":"<p>There are two main types of Static NAT:<\/p><ol><li><strong>Basic Static NAT:<\/strong> It establishes a one-to-one mapping between a single private IP address and a single public IP address.<\/li><li><strong>Overlapping Static NAT:<\/strong> This type allows multiple private IP addresses to be mapped to a single public IP address for shared external access.<\/li><\/ol>"},{"question":"<strong>How can Static NAT be used, and what problems may arise?<\/strong>","answer":"<p>Static NAT finds applications in web hosting, email servers, and VPNs, providing dedicated public IP addresses for these services. Problems may include limited public IP addresses, requiring careful port forwarding configurations, and addressing service downtime during IP address updates.<\/p>"},{"question":"<strong>How does Static NAT compare to Dynamic NAT and Port Forwarding?<\/strong>","answer":"<p>Static NAT involves one-to-one mappings, while Dynamic NAT uses many-to-many mappings and Port Forwarding relies on one-to-one mappings. Static NAT utilizes fixed and static IP addresses, whereas Dynamic NAT employs dynamic and temporary ones.<\/p>"},{"question":"<strong>What is the future outlook for Static NAT?<\/strong>","answer":"<p>As IPv4 addresses continue to deplete, IPv6 adoption will increase. However, Static NAT will remain relevant for organizations with limited public IP resources, ensuring seamless connectivity in mixed-network environments.<\/p>"},{"question":"<strong>How do proxy servers relate to Static NAT?<\/strong>","answer":"<p>Proxy servers can complement Static NAT by acting as intermediaries between internal devices and external networks, providing an additional layer of security and anonymity. The combination of both enhances privacy and protects internal devices from direct external access.<\/p>"},{"question":"<strong>Where can I find more information about Static NAT?<\/strong>","answer":"<p>For more in-depth knowledge about Static NAT and related networking topics, you can explore the following resources:<\/p><ul><li>Cisco Networking Academy - Network Address Translation (URL: <a href=\"https:\/\/www.netacad.com\/courses\/packet-tracer\/introduction-to-network-address-translation\" target=\"_new\">https:\/\/www.netacad.com\/courses\/packet-tracer\/introduction-to-network-address-translation<\/a>)<\/li><li>Juniper Networks - Understanding NAT (URL: <a href=\"https:\/\/www.juniper.net\/documentation\/en_US\/junos\/topics\/concept\/nat-security-understanding.html\" target=\"_new\">https:\/\/www.juniper.net\/documentation\/en_US\/junos\/topics\/concept\/nat-security-understanding.html<\/a>)<\/li><li>IETF RFC 1631 - The IP Network Address Translator (NAT) (URL: <a href=\"https:\/\/tools.ietf.org\/html\/rfc1631\" target=\"_new\">https:\/\/tools.ietf.org\/html\/rfc1631<\/a>)<\/li><li>IPv6 Official Website (URL: <a href=\"https:\/\/www.ipv6.com\/\" target=\"_new\">https:\/\/www.ipv6.com\/<\/a>)<\/li><li>Proxy Servers Explained (URL: <a href=\"https:\/\/oneproxy.pro\/resources\/proxy-servers-explained\" target=\"_new\">https:\/\/oneproxy.pro\/resources\/proxy-servers-explained<\/a>)<\/li><\/ul>"}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/wiki\/479142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/types\/wiki"}],"version-history":[{"count":0,"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/wiki\/479142\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/media\/479143"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/media?parent=479142"}],"curies":[{"name":"\u53ef\u6e7f\u6027\u7c89\u5242","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}