UPNP³q¥Î§Y´¡§Y¥Î ²¤¶ ÀHµÛ¶V¨Ó¶V¦hªº®a®x©M¤p«¬¥ø·~²K¸m¹q¸£¡A¥¦Ì·| µo²{ºô¸ô¬O¤@ºØ«D±`±j¤jªº¹q¸£¸ê·½¦@¨É¤u ¨ã¡CInternet ³s±µ¬Oºô¸ô¤W¸û¬° ¬Ã¶Qªº¸ê·½¤§¤@¡A¦³¥i ¯à¶i¦æ¦@¨É¡C¬°¦@¨É Internet ³s±µ¡A¦P®É§Q¥Î»ù®æ«K ©y¡BºÞ²z²³æªº®a®x©Î¤p«¬¿ì¤½«Çºô¸ô¡A»Ýn³¡¸p Internet ºôÃö¡CInternet ºôÃö³q±`±N NAT¡]ºô¸ô¦a§}Âà ´«¡^§@¬°±N¦hÓ¥D¾÷³s±µ¨ì Internet ¥H¦@¨É³æÓ¤½¦@ IP ¦a§}ªº³~®|¡C¦ý¤£ ©¯ªº¬O¡A¸Ó¸Ñ¨M¤è®×«o·|¯}Ãa¦h ºØºô¸ôÀ³¥Îµ{¦¡¡C§Ú̱N¦b¥»¤å¤¤¹ï¦¹¥[¥H»¡©ú¡C ²{¦³ªº NAT Traversal §Þ³N¤¹³\ºô¸ôÀ³¥Îµ{¦¡ÀË´ú¬O§_ ¦s¦b¥»¦a NAT ³]³Æ¡CÀË´ú¨ì«á¡AÀ³¥Îµ{¦¡ÀH§Y¹ï NAT ¶i¦æ°t¸m¡A©w¸q ¹ïÀ³ªº¬M ®g¨Ó¸Ñ¨M¬Û®e©Ê°ÝÃD¡C ¥»¤åÄÝ©ó·§z©Ê¤å³¹¡A±N¦Vºô¸ôÀ³¥Îµ{¦¡ªº¥Î¤á©M¶}µo¤Hû²n¤¶²Ð¤@¤U NAT¡A ¤¶²Ð¦p¦óÃѧO±`¨£ NAT °ÝÃD¡A¦P®É¤¶²ÐÀ³¥Î µ{¦¡¦p¦ó¨Ï¥Î NAT Traversal ¨Ó¸Ñ¨M ³o¨Ç°ÝÃD¡CWindows ¤¤©Ò´£¨Ñªº NAT Traversal API ªº¸Ô²Ó§Þ³N¸ê®Æ¦³±æ©ó 2001 ¦~ ªì®L¶}©l ¦b Windows Platform SDK ¤¤±o¨ì¡C«Øij¶}µo¤Hû¬d¾\³o¨Ç¸ê·½¡AÁA¸Ñ¦³ Ãö¦p¦ó¥R¤À§Q¥Î³o¨Ç·sªº¾Þ§@¨t²Î¥\¯à¡]¤]¤wÂX®i¨ì²Ä ¤T¤èºôÃö³]³Æ¤W¡^ªº¸Ô²Ó»¡ ©ú¡C NAT Traversal ¨Ì¿à©ó´£¨Ñ UpnP¡]³q¥Î§Y´¡§Y¥Î¡^¤ä«ùªº NAT ³]³Æ¡A¨ä©w¸q¥Ñ UPnP ½×¾Âªº Internet Gateway Device Working Committee µ¹¥X¡C¦³Ãö UPnP ªº«H®§¡A ¥i¨£ UPnP Web ¯¸ÂI¡C¯S§O¸Ô²Óªº¸ê®Æ¦ì©ó UPnP ¯¸ÂI¤¤¶È¦¨û³X°Ýªº³¡¤À ¤º¡C ¤ä«ù UPnP ©M NAT Traversal ¬O Internet ºôÃö³]³Æ¤¤¤ñ¸û«nªº¥\¯à¡A»Ýn¥[¥H½T »{¡C¹ï©óÁʶR©Î¯²¥ÎªA°È´£¨Ñ°Ó Internet ºôÃö³] ³Æªº¥Î¤á¡A§Ú̱j¯P«Øij¥u¦Ò¼{¨Ï ¥Î¨º¨Ç¬° NAT Traversal ´£¨Ñ UPnP ¤ä«ùªº³]³Æ¡A³o¬O¦]¬°¸Ó¥\¯à¹ï©óº¡¨¬¥Î¤á¡B °§C¤ä«ù ¶O¥Î¤Î¨Ï¥Î§ó¦³³Ð·s©ÊªºªA°È©MÀ³¥Îµ{¦¡¦Ó¨¥¦ÜÃö«n¡C ¹ï©óºôÃö³]³Æ»s³y°Ó¦Ó¨¥¡A¦V Internet ºôÃö³]³Æ·s¼W¹ï NAT Traversal ªº UPnP ¤ä«ù ¨Ã¤£½ÆÂø¡A¶O¥Î¤£°ª¡A¤]¤£¥Îªá¤j¶qªº®É ¶¡¡C³q¹L¨Ï¥Î UPnP¡]¨ä°ò¦¤w¸g¬O Internet ¼Ð·Ç©M¨óij¡^¡AInternet ºôÃö³]³Æ»s³y°Ó´N¥i¥H¸Ñ¨M NAT Traversal °ÝÃD¡A¨Ã ±NÀuÂI ©µ¦ùµ¹¤j¦h¼Æ¸g¹L¸Ó³]³ÆªºÀ³¥Îµ{¦¡¡C³o¦P³\¦hÀ³¥Îµ{¦¡¶}µo¤Hû©ÎºôÃö ³]³Æ»s³y°Ó¤£±o¤£¬°¸Ñ¨M¤Wz°ÝÃD¦Ó´£¨Ñ¤@¦¸©Ê¸Ñ¨M ¤è®×§Î¦¨ÂA©úªº¹ï¤ñ¡C¥»¤å ¨Ã«D¦®¦b¬°§Æ±æ¦b Internet ºôÃö³]³Æ¤¤¹ê¬I NAT Traversal ªºµwÅé»s³y°Ó´£¨Ñ¸Ô²Ó ªº«ü«n¡C¦³Ãö¦¹«H ®§¡A½Ð°Ñ¾\ UPnP ½×¾Â Web ¯¸ÂI¡C ÁA¸Ñ Windows Åé¨tµ²ºc¡Bºô¸ô©M UPnP ¹ï©ó¥R¤À²z¸Ñ¥»¤å·|¦³©ÒÀ°§U¡A¦ý¨Ã«D¥² ¶·¦p¦¹¡C ¤°»ò¬O NAT¡H ¡uºô¸ô¦a§}Âà´«¡v(NAT) ¬O¤@ºØ Internet Engineering Task Force (IETF) ¼Ð·Ç¡A¥Î©ó¤¹ ³\±M¥Îºô¸ô¤Wªº¦h¥x PC ¾÷¡]¨Ï¥Î±M¥Î¦a§} ½d³ò¡A¨Ò¦p 10.0.x.x¡B192.168.x.x¡B172.x.x.x¡^¦@¨É³æÓ¡B¥i¥þ§½¸ô¥Ñªº IPv4 ¦a§}¡C¸g±`³¡¸p NAT ªº¤@Ó¥Dnì¦]´N¬O IPv4 ¦a §}¤éº¥ºò¯Ê¡CWindows XP ©M Windows Me ¤¤ ªº¡uInternet ³s±µ¦@¨É¡v¤Î³\¦h Internet ºôÃö³]³Æ³£¨Ï¥Î NAT¡A¤×¨ä¬O¦b³q¹L DSL ©Î¹qÆl½Õ»s¸Ñ½Õ¾¹³s±µ¼e±aºôªº±¡ªp¤U¡C NAT ¹ï©ó¸Ñ¨M IPv4 ¦a§}¯Ó¶O°ÝÃD¡]¦b IPv6 ³¡¸p¤¤«o¨S¥²n¡^¾¨ºÞ¦¨®Ä¤Î®É¡A¦ý²¦ ³ºÄÝ©óÁ{®É©Êªº¸Ñ¨M¤è®×¡C³oºØ IPv4 ¦a§} ¯Ó¶O°ÝÃD¦b¨È¬w¤Î¥@¬É¨ä¥¦¤@¨Ç¦a¤è¤w ¤ñ¸ûÄY«¡A¥B¤éº¥¦¨¬°¥_¬ü¦a°Ï»ÝnÃöª`ªº°ÝÃD¡C³o´N¬O¤H̬°¤°»òªø¤[¥H¨Ó¤@ ª½Ãö ª`¨Ï¥Î IPv6 ¨Ó§JªA³oÓ°ÝÃDªºì¦]©Ò¦b¡C °£¤F´î¤Ö©Ò»Ýªº IPv4 ¦a§}¥~¡A¥Ñ©ó±M¥Îºô¸ô¤§¥~ªº©Ò¦³¥D¾÷³£³q¹L¤@Ó¦@¨Éªº IP ¦a§}¨ÓºÊ±±³q°T¡A¦]¦¹ NAT ÁÙ¬°±M¥Îºô¸ô´£ ¨Ñ¤F¤@ÓÁô°Î¼h¡CNAT »P¨¾¤õÀð©Î ¥N²zªA°È¾¹¤£¦P¡A¦ý¥¦½T¹ê¦³§Q©ó¦w¥þ¡C ¹Ï 1¡G¨Ï¥Î NAT ³]³Æ¶i¦æ Internet ³q°Tªººô¸ô¥Ü¨Ò¡CPC ¾÷¥i¥H¦¨¬° NAT ³]³Æ¡A´N ¶H©TºAªº¹qÆl½Õ»s¸Ñ½Õ¾¹©Î DSL ½Õ»s¸Ñ½Õ¾¹ ¤]¯à¦¨¬° NAT ³]³Æ¤@¼Ë¡C ¤@¯ë NAT ¾Þ§@ NAT ³]³Æ«á±ªº«È¤áºÝ³q±`³q¹L DHCP¡]°ÊºA¥D¾÷°t¸m¨óij¡^¤À°t¨ì±M¥Îªº IP ¦a §}¡A©ÎªÌ¥ÑºÞ²zû¶i¦æÀRºA°t¸m¡C¦b¸Ó±M¥Î ºô¸ôªº¥~±¶i¦æ³q°T®É¡A³q±`·|µo¥Í ¤U¦C¨Æ±¡¡C «È¤á¾÷¤W ·íÀ³¥Îµ{¦¡·Q¦PªA°È¾¹³q°T®É¡A¥¦±N¶}±Ò»P·½ IP ¦a§}¡B·½Port¡B¥Ø¼Ð IP ¦a§}¡B ¥Ø¼ÐPort¤Îºô¸ô¨óij¬ÛÃöÁpªº®M±µ¦r¡C³o¼Ë¥i¥H ÃѧO³q°T©Ò»Ýªº¨âÓºÝÂI¡C·íÀ³ ¥Îµ{§Ç§Q¥Î¸Ó®M±µ¦r¶Ç¿é«H®§®É¡A«È¤á¾÷ªº±M¥Î IP ¦a§}¡]·½ IP ¦a§}¡^©MPort¡]·½ Port¡^±N³Q ´¡¤J¸ê®Æ¥]ªº·½¦r¬q¤¤¡C¸ê®Æ¥]ªº¥Ø¼Ð¦r¬q±N¥]§tªA°È¾¹ªº IP ¦a§} ¡]»·µ{¥D¾÷ - ¥Ø¼Ð IP ¦a§}¡^©MPort¡C¥Ñ©ó¸Ó¸ê®Æ¥]ªº¥Øªº ¦a¬O¸Ó±M¥Îºô¸ô¤§¥~ªº ¬YÓ¦ì¸m¡A¦]¦¹«È¤á¾÷±N§â¸Ó¸ê®Æ¥]Âàµoµ¹¹w³]ªººôÃö¡C³oºØ±¡ªp¤Uªº¹w³]ºôÃö ´N¬O NAT ³]³Æ¡C NAT ³]³Æ¤Wªº¿é¥X¸ê®Æ¥] NAT ³]³Æ±NºIÀò¸Ó¿é¥X¸ê®Æ¥]¡AµM«á§Q¥Î¥Ø¼Ð IP ¦a§}¡]ªA°È¾¹¡^¡B¥Ø¼ÐºÝ ¤f¡BNAT ³]³Æªº¥~³¡ IP ¦a§}¡B¥~³¡Port¡Bºô¸ô¨óij ¤Î«È¤á¾÷ªº¤º³¡ IP ¦a§}©MºÝ ¤f¨Ó«Ø¥ßPort¬M®g¡C NAT ³]³Æ±NºûÅ@³o¨Ç¬M®g²Õ¦¨ªºªí¡A¨Ã±N¸ÓPortªº¬M®g¦sÀx¦bªí¤¤¡C¥~³¡ IP ¦a §}©MPort´N¬O¸Ó¸ê®Æ³q°T¥Î©ó¨ú¥N¤º³¡«È¤á¾÷ IP ¦a§}©MPortªº¤½¦@ IP ¦a§}©MºÝ ¤f¡C NAT ³]³ÆÀH§Y±N¨Ó¦Û«È¤á¾÷±M¥Î¤º³¡ IP ¦a§}©MPortªº¸ê®Æ¥]ªº·½¦r¬qÂà´«¬° NAT ³]³Æªº¤½¦@ IP ¦a§}©MPort¡A±q¦Ó¹ï³o¨Ç¸ê®Æ ¥]¶i¦æÂà´«¡C µM«á¡A¸ê®Æ¥]±N³q¹L¥~³¡ºô¸ô¶i¦æµo°e¡A¨Ã³Ì²×¨ì¹F¥Ø¼ÐªA°È¾¹¡C ¹Ï 2¡G¿é¥X¸ê®Æ¥]Âà´«ªº¥Ü¨Ò¡C ªA°È¾¹¤W ·íªA°È¾¹±µ¦¬¨ì¸ê®Æ¥]®É¡A¥¦»{¬°¦Û¤v¬O¦b©M¤@¥x¨ã¦³¥i¥þ§½¸ô¥Ñ IP ¦a§}ªºpºâ ¾÷¶i¦æ³q°T¡C¥¦·|§Q¥Î¦Û¤v·½¦r¬q¤¤ªº IP ¦a §}©MPort±N¦^À³¸ê®Æ¥]©w¦Vµ¹ NAT ³]³Æªº¥~³¡ IP ¦a§}©MPort¡C NAT ³]³Æ¤Wªº¿é¤J¸ê®Æ¥] NAT ±qªA°È¾¹¨º±µ¦¬¨ì³o¨Ç¸ê®Æ¥]¡AµM«á±N¸ê®Æ¥]»P¨äPort¬M®gªí¶i¦æ¤ñ¸û¡C¦p ªG NAT µo²{¬YÓPort¬M®gªº»·µ{¥D¾÷ IP ¦a §}¡B»·µ{Port¡B¥~³¡Port¤Îºô¸ô¨óij »P¿é¤J¸ê®Æ¥]ªº·½ IP ¦a§}¡B·½Port¡B¥Ø¼ÐPort©Mºô¸ô¨óij¤Ç°t¡ANAT ´N·|¶i¦æ ¤Ï¦VÂà ´«¡CNAT ±N§â¸ê®Æ¥]¥Ø¼Ð¦r¬q¤¤ªº¥~³¡ IP ¦a§}©M¥~³¡Port´À´«¬°«È¤á¾÷ ªº±M¥Î IP ¦a§}©M¤º³¡Port¡C ÀH«á¡ANAT ±N¤º³¡ºô¸ô¤Wªº¸ê®Æ¥]µo°eµ¹«È¤á¾÷¡C¦ý¦pªG NAT §ä¤£¨ì¹ïÀ³ªººÝ ¤f¬M®g¡A¥¦´N·|¥á±ó¿é¤J¸ê®Æ¥]¨Ã¤¤Â_³s±µ¡C NAT ªº§@¥Î¦b©ó¡G«È¤á¾÷±N¯à¦b¥þ²y Internet ¤W»P±M¥Î IP ¦a§}¶i¦æ³q°T¡A¦ÓÀ³¥Î µ{§Ç©Î«È¤á¾÷«oµL»Ý°µ¥ô¦óÃB¥~ªº¤u§@¡C³o·N ¨ýµÛÀ³¥Îµ{¦¡¤£¥²°õ¦æ¨ä¥¦ API¡A¦Ó «È¤á¾÷¤]¤£¥²¶i¦æ¨ä¥¦°t¸m¡C³oºØ±¡ªp¤U¡ANAT ¹ï©ó«È¤á¾÷©MªA°È¾¹À³¥Îµ{¦¡´N ¬O³z©ú ªº - ©Ò¦³¹ï¶H³£¯à¥¿±`¤u§@¡C ¦ý¬O¡A¨Ã«D©Ò¦³ºô¸ôÀ³¥Îµ{¦¡³£¨Ï¥Î¯à»P NAT ¨ó¦P¤u§@ªº¨óij¡C³o´N¬O°ÝÃDªº©Ò ¦b¡C NAT »PÀ³¥Îµ{¦¡¤§¶¡ªº±`¨£°ÝÃD ¦pªG«È¤á¾÷¦b¶}©l³s±µ©M±µ¦¬¦^´_®É³£¨Ï¥Î¦P¤@Port¡A«hÅý«È¤á¾÷§Q¥Î NAT ¨Ó¦@ ¨É³æÓ¥i¥þ§½¸ô¥Ñªº IP ¦a§}¤£·|¦³¤°»ò°Ý ÃD¡C¦ý¬O¡A³\¦hÀ³¥Îµ{¦¡©Ò¥Îµ¦²¤ªº°² ©w±ø¥ó¦b NAT ³]³Æ¥Î©ó³s±µ Internet ®É³£¤£¦¨¥ß¡C³o¸Ì±N°Q½×¨ä¤¤¤@¨Ç°ÝÃD¡C ¤º³¡ºô¸ô¤WªºªA°È ³\¦hºô¸ôªA°È©ÎªA°È¾¹°²©w¡G¦pªG«Ø¥ßºÊÅ¥®M±µ¦r¡A«h Internet ¤Wªº©Ò¦³«È¤á¾÷³£ ¥i¥H»P¤§Ápô¡C¦ý¦bºô¸ôÃä½t¤W¦³ NAT ³]³Æ ®É¡ANAT «on¨D¶i¦æPort¬M®g¡A¥H «K±N¿é¤J³q°TÂàµoµ¹¤º³¡ºô¸ô¤WªºªA°È¡C¦]¦¹¡A¸ÓªA°È¶È¹ï±M¥Îºô¸ô¤Wªº«È¤á¾÷ ¦³®Ä¡C¥¦¹ï ©ó Internet ¨ä¾l³¡¤À¦Ó¨¥¤£¥i¥Î¡C ¸Ó°ÝÃD³Ì±`¨£ªº¸Ñ¨M¿ìªk¬O¤â°Ê°t¸mPort¬M®g¡A¨Ï NAT ³]³Æ±N©w¦Vµ¹ NAT ¯S©w ¥~³¡ IP ¦a§}©MPortªº³q°TÂàµoµ¹¸ÓªA°È©Ò¥Îªº ¤º³¡ IP ¦a§}©MPort¡C §Q¥Î¸ÓPort¬M®g¡AªA°È¥i¥H±µ¦¬¿é¤J¸ê®Æ¥]¡A±q¦Ó¨ÏªA°È¥i³Q±M¥Îºô¸ô¥~³¡ªº«È ¤á¾÷©Ò¨Ï¥Î¡C«Ø¥ßPort¬M®g¤§«e¡Aºô¸ô¬OÂ_¶} ªº¡C ¤â°Ê°t¸m¸Ó¬M®gªº¹Lµ{³q±`¤ñ¸û½ÆÂø¡An¨D¸û¦³¸gÅ窺¥Î¤á¤~¯à¥¿½T¶i¦æ¬M®gªº °t¸m¡C¦]¦¹¡A°£«D¬OÁpô¦Û¤v¼e±a Internet ªA °È´£¨Ñ°Ó¡BPC »s³y°Ó¡B¹s°â°Ó©Î Internet ºôÃö»s³y°Óªº«È¤áªA°È¤¤¤ß¥H¹Á¸Õ§ä¨ì°ÝÃDªº®Ú·½¤Î¸Ñ¨M¤è®×¡A§_«h³\¦h ¤@¯ë¥Î¤á©Î ¤p«¬¥ø·~¥Î¤á±NµLªk¨Ï¥Î©Ò»ÝªºÀ³¥Îµ{¦¡©ÎªA°È¡C¤Wz±¡ªpÁÙ·|³y¦¨ ¬M®gªº¤£ÄY®æ¡G³\¦h¥~³¡«È¤á¾÷³£¥i¥H¨Ï¥Î¸Ó¬M®g¨Ó³s±µ ªA°È¾¹¡C ´O¤J¦a§}©ÎPort ¦³¨Çºô¸ôÀ³¥Îµ{¦¡°²©w«È¤á¾÷©Ò¤À°tªº IP ¦a§}©MPort±N©l²×¥i¶i¦æ¥þ§½¸ô¥Ñ¡A¨Ã ¥iª½±µ¦b Internet ¤W¨Ï¥Î¡C³\¦h±¡ªp¤U¡A¥¦Ì ÄÝ©ó IETF «O¯d¦a§}½d³ò¤ºªº±M¥Î IP ¦a§}¡CÀ³¥Îµ{¦¡·|¦bµo°eµ¹ªA°È¾¹ªº¸ê®Æ¥]ªºt¸ü¤¤¥]§t¸Ó±M¥Î IP ¦a§}©ÎPort¡C ªA°È¾¹¥i ¥H±N¸Ó´O¤J¦a§}¥Î§@Ápô«È¤á¾÷®É©Ò¥Îªº¦a§}¡C ¦pªGªA°È¾¹¸Õ¹Ï¥Î´O¤J IP ¦a§}©MPort¶i¦æ¦^´_¡A¦Ó«D NAT ´£¨Ñªº¬M®g¦a§}©MºÝ ¤f¡A¨t²Î´N·|¥á±ó¸Ó¸ê®Æ¥]¡C³o¬O¦]¬°´O¤J IP ¦a§}¬OµLªk¸ô¥Ñªº¡C¦pªGºô¸ôÀ³¥Î µ{§Ç¯à§ä¨ì NAT ³]³Æ¨ÃÀ˯Á¨ì©Òn¨Ï¥Îªº¥~³¡ IP ¦a§}©M¥~³¡Port¬M®g¡AÀ³¥Îµ{ §Ç´N¥i¥H¦b ¸ê®Æ¥]¤¤´O¤J¥¿½Tªº«H®§¡C ¨Ï¥Î¤À´²®M±µ¦rªºÀ³¥Îµ{¦¡ ÁÙ¦³¤@¨Çºô¸ôÀ³¥Îµ{¦¡¨Ï¥ÎPort X ¤Wªº®M±µ¦r¦VªA°È¾¹©Î¹ïµ¥¹q¸£µo°e³q°T«H ®§¡AµM«áµ¥«Ý±NªA°È¾¹ªº³q°T«H®§±µ¦¬¨ìPort Y ªº¿W¥ßºÊÅ¥®M±µ¦r¤W¡CNAT ±NºÊ µø¿é¥X³q°T¨Ã¬°Port X «Ø¥ßPort¬M®g¡A¦ý¨Ã¤£¹ï´M§}¨ìPort Y ªºªð¦^¸ê®Æ¥]¶i¦æ Port¬M®g¡C´M §}¨ìPort Y ªº¿é¤J¸ê®Æ¥]±N³Q¥á±ó¡C »ÝnPort¥i¥Î ¦³¨Çºô¸ô¨óij°²©w©l²×¦³¥i¥þ§½¸ô¥Ñªº¤wª¾Port¥i¥Î¡C·í¦hӫȤá¾÷¦@¨É IP ¦a§} ®É¡A¨C¦¸±N¥u¦³¤@ӫȤá¾÷¯à¨Ï¥Î¤wª¾ªº Port¡C¨Ò¦p¡A¨C¦¸¥u¦³¤@Ó Web ªA°È¯à ¨Ï¥Î¥»¦aºô¸ô¤WªºPort 80¡C¦pªG¤£¬O³o¼Ë¡ANAT ³]³Æ±NµLªk½T©w¥~³¡½Ð¨D©Ò¾A¥Î ªº«È ¤á¾÷¡C§Y¨Ï¦b°t¸mPort¬M®gªº¥Î¤áªºÀ°§U¤U¡A¦pªG±q¥»¦aºô¸ôªº¥~³¡¯à§ä¨ì ¦hӫȤá¾÷¡A¤]¥²¶·±Ä¨ú¬Y¨Ç¯S®íªº±¹¬I¡C ¦hÓ NAT ¦pªG«È¤á¾÷¦ì©ó¤@Ó NAT «á±ªº NAT ªº«á±¡A«h¥X²{ªº°ÝÃD¤w¶W¥X¥»¤å©Ò²[»\ ªº½d³ò¡C ¹ï¥Î¤á©M¦æ·~ªº¼vÅT ¤W¤@¬q¤¶²Ð¤F»P NAT Traversal ¦³Ãöªº§Þ³N°ÝÃD¡C±q¥Î¤áªº¨¤«×Á¿¡A¥¦©Ò³y¦¨ªº¼v ÅT¤ñ¸û²³æ¡G¤H̦A¤]µLªk¨Ï¥Î¨ü¨ì NAT ¤z ÂZªºªA°È©ÎÀ³¥Îµ{¦¡¡C ²{¦b¡A¤j¦h¼Æ¥Î¤á¬Æ¦Ü¨S¦³·NÃѨì¦Û¤v¤w¦¨¬°³oºØ NAT °ÝÃDªº¨ü®`ªÌ¡C¥LÌ¥u¬O ª¾¹D¡A·í¸Õ¹Ïª±¦h¤è¹CÀ¸©ÎªÌ¨Ï¥Î¹ïµ¥À³¥Î µ{¦¡¡]¨Ò¦p¶i¦æ¬J®É³q°T¡^©Î¨ä¥¦¬Y¨Ç À³¥Îµ{¦¡®É¡A«oµLªkª±©ÎµLªk¨Ï¥Î¡C¥LÌ¥i¯à·|¦b PC ¾÷¬Ý¨ìÃþ¦ü¡uµLªk³s ±µ¡vµ¥ªº¿ù »~®ø®§¡A©ÎªÌ¦b¸Õ¹Ï¨Ï¥ÎÀ³¥Îµ{¦¡®É¡Aµ{§Ç«o¥X²{¬G»Ù¡C ¦³®É¡A¨ã¦³¼·¸¹½Õ»s¸Ñ½Õ¾¹ Internet ³s±µªº¥Î¤á¦b¨Ï¥Î¼·¸¹½Õ»s¸Ñ½Õ¾¹®É¤£·|¥X²{ ¤Wz°ÝÃD¡C¦ý·í¥Î¤áµù¥U¼e±aªA°È¨Ã±N DSL ©Î¹qÆl½Õ»s¸Ñ½Õ¾¹³]³Æ»P NAT ¤@°_ ¨Ï¥Î®É¡A«o¥X²{¬G»Ù¡C¦b¶i¦æ§Ö³t Internet ³s±µªº±¡ªp¤U¡A³o¨Ç¥Î¤á¤×¨ä·|¨ü¨ì NAT °ÝÃD ªº§xÂZ¡G¥¦Ì·|¬ðµM¸T¤î¥Î¤áª±¹CÀ¸©Î¨Ï¥Î¨ä¥¦ªA°È¡C ³o¼Ë·|¤Þ¨Ï¥Î¤á¤£º¡¡A¨Ã·|±N³oºØ¤£º¡Âà¶ùµ¹ PC »s³y°Ó¡BISP¡BInternet ºôÃö»s³y °Ó©Î¨ä¥¦¤è¡C³q±`¡A¥Î¤á¨Ã¤£ª¾¹D°ÝÃDªº®Ú ·½¡A¦Ó§Þ³N¤ä«ù¤Hû¤]¨Ã¤£Á`¯àª¾¹D ¦p¦ó³q¹L¹q¸Ü¸Ñ¨M³o¨Ç°ÝÃD¡C ³o¤w¤£¶È¬O¥Î¤áªº°ÝÃD¡C¥¦¤]¦¨¬°¦V¥Î¤á´£¨Ñ²£«~©MªA°Èªº»s³y°Óªº°ÝÃD¡C¥Î¤á ¦b¸Õ¹Ï¸Ñ¨M³o¨Ç¥Ñ NAT ¤Þ°_ªº°ÝÃD®É·|¼·¥´ ¤ä«ù¹q¸Ü¡A¦Ó³o³¡¤À¶O¥Î·|´î¤Ö»s³y °Ó©Î¹s°â°Óªº§Q¼í¡A¬Æ¦Ü¨Ï¨äµL§Q¡C³o¨Ç°ÝÃD·|¾ÉP¥Î¤á¹ï¸Õ¥ÎªA°Èªº¤£º¡¡A±q ¦Ó¨Ï¬Y ¨Ç¥Î¤á°§C¤F¹ï«áÄò·sªA°È©ÎÀ³¥Îµ{¦¡ªº¿³½ì¡C¦]¦¹¡ANAT ·|§«Ãª¨ä¥¦³Ð ·s©Ê²£«~/ªA°Èªº±À¥X©M¨Ï¥Î¡C ų©ó¤Wz¦]¯À¡A¸Ñ¨M NAT °ÝÃD¤w¦¨¬°¦æ·~ªº¤@¶µ«n¥ô°È¡C ¤°»ò¬O NAT Traversal¡H NAT Traversal ¬O³o¼Ë¤@²Õ¥\¯à¡G¥¦¤¹³\ºô¸ôÀ³¥Îµ{¦¡¯à©ú½T¦Û¤v¦ì©ó NAT ³]³Æªº «á±¡AÀò±o¥~³¡ IP ¦a§}¡A¨Ã±NPort¬M®g°t¸m ¬°±N NAT ¥~³¡Portªº¸ê®Æ¥]Âàµoµ¹ À³¥Îµ{¦¡©Ò¥Îªº¤º³¡Port¡A¦Ó©Ò¦³³o¨Ç³£¬O¦Û°Ê§¹¦¨ªº¡A¦]¦¹¥Î¤á¤£¥²¤â°Ê°t¸m Port¬M®g©Î ¨ä¥¦Ãþ¦üªº¤è±¡C ¬Û¹ï»P¥Ø«e©Ò¥Îªº¡B±¦V¯S©wÀ³¥Îµ{¦¡ªº¨ä¥¦¤èªk¦Ó¨¥¡A³o¹ï©ó¸Ñ¨M¥Ñ NAT ¤Þ°_ ªº³s±µ°ÝÃD½T¹ê¬O¤@ºØ§ó¬°¥þ±ªº¸Ñ¨M¤è ®×¡C¥Ø«e¨Ï¥Îªº¨º¨Ç±Mªù¸Ñ¨M¤è®×¦³ªº n¨D¥Î¤á¨ã¦³¤@©wªº§Þ³Nª¾ÃÑ¡A¦³ªºn¨DÀ³¥Îµ{¦¡¶}µo¤Hû©Î Internet ºôÃö»s³y°Ó ¶i¦æ ±Mªùªº¶}µo¤u§@¡A¤]¦³ªº«hn¨D¤W±¨â¤è±¡C ¾¨ºÞ NAT Traversal ¥i¥H¸Ñ¨M¤@¨Ç NAT °ÝÃD¡A¦ý¥¦«o¤£¬O¸U¯àªº¡AÁÙ¤£¯à¸Ñ¨M©Ò ¦³ªº°ÝÃD¡C¦b´£°ª¥Î¤áº¡·N«×¡B´î¤Ö¥Î¤á¤ä«ù ©I¥sªº¦¸¼Æ©M¤ä«ù·sªº¡B¨ã¦³³Ð³y ©ÊªºªA°È©MÀ³¥Îµ{¦¡¤è±¡A³oºØ¦Û°Ê¦¡ NAT Traversal ¥Nªí¤F«D±`«nªº¤@¨B¡A¤× ¨ä¹ï©ó®a ®xºô¸ôÀô¹Ò¦Ó¨¥¡C NAT Traversal À³µø¬°¤@ºØ¦b»Ýn®É¨Ï¥Îªº³B²z¾÷¨î¡A¦Ó«D¦b©Ò¦³±¡ªp¤U³£µo´§§@ ¥Î¡C¦b IPv6 ¤¤¡A¨CӫȤá¾÷³£¨ã¦³¥i¥þ§½¸ô ¥Ñªº IP ¦a§}¡A¦]¦¹¤w¤£¦A»Ýn NAT ¤Î NAT Traversal¡C´N IPv6 ¯à¦b¦hªø®É¶¡±o¨ì´¶¹M³¡¸p³o¤@°ÝÃD¡A¦³¦UºØ¤£¦Pªº¹w ´ú¡C·~ ¬É¡]¥]¬A Microsoft¡^¤w§ë¤J¥¨¸ê±À¶i IPv6¡A¦ý¦b²{¦b¤Î¥¼¨Óªº´X¦~¤º¡A¥»¤å «á±©Òzªº NAT Traversal ¸Ñ¨M¤è®×¹ï©ó§Æ±æ¸Ñ¨M NAT °ÝÃDªº¤@¯ë¥Î¤á©M¤p«¬¥ø ·~¥Î¤á¦Ó¨¥«o·N¸q«D¤Z¡C NAT Traversal ¾Þ§@ NAT Traversal ¨Ì¿à©ó§@¬°³q¥Î§Y´¡§Y¥Î (UPnP) ½×¾Â³W½d²Õ¦¨³¡¤Àªº Discovery and Control ¨óij¡CUPnP ½×¾Â¦³¤@Ó¤u§@©eû·|¥D nt³d©w¸q Internet ºôÃö³]³Æªº±±¨î ¨óij¨Ã©w¸q³o¨Ç³]³ÆªºªA°È¡C ¤ä«ù Internet ºôÃö³]³Æ±±¨î¨óij°ò¥»¤¸¯Àªº Internet ºôÃö³]³Æ¥i¦V§½°ìºô¤Wªº±±¨î ÂIÁn©ú¦Û¤vªº¦s¦b¨Ãµo§G XML ´yz¤åÀÉ¡C§Q ¥Î³o¨Ç XML ´yz¤åÀÉ¡A±±¨îÂI´N¯à ÁA¸Ñ¥Î©ó½T©w Internet ºôÃö¬O§_¤ä«ù NAT¡BÀò¨ú NAT ªº¥~³¡ IP ¦a§}¤Î«Ø¥ßPort¬M ®g®É»Ýn °õ¦æªº UPnP ¾Þ§@¡C Windows ¤¤ªº NAT Traversal API ¹ïª½±µ¨Ï¥Î UPnP ªºn¨D¶i¦æ¤F´£·Ò¡A¥i´£¨Ñ¥Î ©óÀË´ú¡BºÞ²z©M°t¸m NAT ³]³Æªº±µ¤f¡C NAT Traversal API ·íºô¸ôÀ³¥Îµ{¦¡»ÝnÀË´ú¬O§_¦s¦b NAT ³]³Æ¨Ã½Õ¾ã¸Ó³]³Æªº¦æ¬°®É¡A¸ÓÀ³¥Îµ{¦¡ ¥i¥H¨Ï¥Î Windows ¤¤´£¨Ñªº NAT Traversal API¡]§¹¾ã°O¿ý¦b Platform SDK ¤¤¡^¨Ó¹ê ²{¤U¦C¥\¯à¡G ½T©w¬O§_¦s¦b NAT Àò¨ú NAT ªº¥~³¡ IP ¦a§}¡C Àò¨ú¯S©w¥~³¡PortªºÀRºAPort¬M®g«H®§¡]¦pªG¤w¬M®g¡^¡C ·s¼WÀRºAPort¬M®g¡]°£«D¤w¤À°t¥~³¡Port¡^¡C ±Ò¥Î©Î¸T¥Î¯S©wªºPort¬M®g¦Ó¤£§R°£ ½s¿èÀRºAPort¬M®gªº¬É±¤Í¦n´yz §R°£ÀRºAPort¬M®g Àò¨ú§½°ìºôÀRºAPort¬M®gªº¦Cªí §Q¥Î³o¨Ç¥\¯à¡AÀ³¥Îµ{¦¡¥i¥H¸Ñ¨M³\¦h¦] NAT ¦Ó¾ÉPªº°ÝÃD¡Cª`·N¡GWindows NAT Traversal API ¥Ø«e¶È¦b¦³ªº®É¶¡¤º¤ä«ù Port¬M®g¡A§_«h±NºÙ¬°ÀRºAPort¬M ®g¡C Windows XP ¤¤ªº NAT Traversal API ¹w³]±¡ªp¤U¡AWindows XP ¤¤±N¦w¸Ë NAT Traversal API¡C³o¨Ç API ¤]¥i¦w¸Ë¦b°õ¦æ Windows Me ©M Windows 98 ªº¹q¸£¤¤¡A¤èªk¬O ¨Ï¥Î Windows XP CD ¤W¤@Ó¦W ¬°¡uºô¸ô¦w¸ËÂQ¾É¡vªº¤u¨ã¡C¬°´£¨Ñªþ¥[ XML ¤ÀªRµ{¦¡¤ä«ù¡ANAT Traversal API ÁÙn¨D¦w¸Ë Internet Explorer 6.0¡C Windows 2000 ¤¤·í«e¤£¤ä«ù NAT Traversal¡C Internet ºôÃö¤¤¤ä«ù NAT Traversal Internet ºôÃö¹ï NAT Traversal ªº¤ä«ù¬O³q¹L¤ä«ù¡u³q¥Î§Y´¡§Y¥Î½×¾Â¡vInternet Gateway Working Committee ©Ò©w¸qªº Internet ºôÃö ³]³Æ (IGD) ³W½d¦Ó¹ê²{ªº¡CºôÃö »s³y°ÓÁÙÀ³ª`·N¨ì¡GWindows ¤¤ªº NAT Traversal API ¹ï IGD ¶i¦æ¤U¦C°²©w¡G IGD ¨C¦¸¶ÈÁn©ú¤@Ó¥~³¡±µ¤f¡C¾¨ºÞ¦b§Þ³N¤W¤¹³\ Internet ºôÃö³]³ÆÁn©ú¦hÓ¥~³¡±µ¤f¡A¦ý NAT Traversal API «o¥u¨Ï¥Î²Ä¤@ Ó¡C IGD ¤ä«ù¤¹³\¥ô¦ó»·µ{ IP ¦a§}±N¸ê®Æ¥]µo°eµ¹¤º³¡«È¤á¾÷ªºPort¬M®g¡C IGD ¤ä«ù¨ã¦³¼s¼½¦a§}¡]¦C¬°«È¤á¾÷¡^ªºPort¬M®g IGD ¤ä«ù NAT ¥~³¡Port¼Æ»P«È¤á¾÷¤º³¡Port¼Æ¤£¦P¡C IGD ±NÁn©úª©¥»¸¹ 1¡C ÀRºAPort¬M®g¡]©ÎºÙ«ùÄò®É¶¡³]¸m¬°µLªºPort¬M®g¡^±NµL´Á¦s¦b¡C§Y¨Ï¬O«·s±Ò°Ê¨t²Î¡B§ó§ï IP ¦a §}©Î¬OªA°È¾¹¤W¦s¦b«È ¤á¾÷¡A³£µLªk¥h°£ÀRºAPort¬M®g¡C ¥»¤å¼g§@ªº¹Lµ{¤¤¡A´XÓ·~¬É»â¥ýªº»s³y°Ó¤w¸g«Å§G¦b 2001 ¦~´£¨Ñ¤ä«ù³o¨Ç UPnP ¤èªk¥B¯à»P Windows NAT Traversal API ¨ó¦P ¨Ï¥Îªº Internet ºôÃö³]³Æ¡C³o¹ï ©ó¦æ·~©M¥Î¤á³£¬O«D±`«nªº¤@¨B¡C ÀHµÛ¶V¨Ó¶V¦hªº Internet ºôÃö³]³Æ»s³y°Ó»{ÃѨì¨Ï¥Î UPnP ¸Ñ¨M¤Wz°ÝÃD©Ò¨ã¦³ªº Àu¶Õ¡AÀHµÛ§ó¦h¤@¯ë¥Î¤á©M¤p«¬¥ø·~¥Î¤á¶} ©l·NÃѨì»P NAT ¦³Ãöªº°ÝÃD¤Î³o¨Ç¤ä «ù UPnP ªº NAT Traversal ¸Ñ¨M¤è®×ªº±j¤j¥\¯à¡A¬° NAT Traversal ´£¨Ñ UPnP ¤ä«ù ¦³±æºÙ ¬°¦¹Ãþ³]³Æªº®Ö¬d¶µ©Î¤J¥««e´£¡C Internet ºôÃö»s³y°ÓÀ³¥[¤J UPnP ½×¾Â¡AÁA¸Ñ¦p¦ó¨Ï¦Û¤vªº Internet ºôÃö³]³Æ²Å¦X UPnP ¼Ð·Ç¡C À³»¡©úªº¬O¡GWindows XP ¤Wªº¡uInternet ³s±µ¦@¨É¡v¤ä«ù UPnP IGD ¼Ð·Ç 0.9 ª©¡C ¹wpª©¥» 1.0 ±N»Pª©¥» 0.9 ¬Û®e¡C À³¥Îµ{¦¡¦p¦ó§Q¥Î NAT Traversal À³¥Îµ{¦¡¨Ï¥Î NAT Traversal ªº¤è¦¡»P¦hÓ¦]¯À¦³Ãö¡A¥]¬APort¬M®g´Á±æªº¥Í¦s´Á ¤ÎPort¬O§_¥Î©ó¦hӫȤá¾÷©ÎªA°È¡CÀ³¥Îµ{¦¡ À³²M°£¦Û¤v«Ø¥ßªº©Ò¦³ÀRºAPort¬M ®g¡A¥HÁקK¥X²{©t¥ß¬M®g¤ÎPort³Q¨ä¥¦À³¥Îµ{¦¡¦ûºÉªº±¡ªp¡C ¦pªGÀ³¥Îµ{¦¡¬O¤@ºØºô¸ôªA°È¡]¨Ò¦p Web ªA°È¾¹¡^¡A¨Ã¦b¥Í¦s´Á¤ºn¨D¨Ï¥Î¤wª¾ Port¡A¥¦ªº¦w¸Ëµ{§Ç´N¥i¥H¨Ï¥Î NAT Traversal API ¨Ó°t¸m¤@ÓÀRºAPort¬M®g¡C°² ©w¨ä¥¦À³¥Îµ{¦¡¡Bºô¸ôºÞ²zû¡Bºô¸ô©Ý¼³µ²ºc³£ºû«ù쪬¡A¦Ó²M°£¾÷¨î¤]«O«ù¬M ®g¤£ÅÜ¡A«h ¥~³¡«È¤á¾÷´N¯à¦bªA°È¥Í¦s´Á¤º³s±µ¸ÓªA°È¡CÀ³¥Îµ{¦¡ªº¸Ñ°£ªA°È±N t³d§R°£¸Ó¬M®g¡C¦pªG¥X²{±Y¼ì¡A§Y¨ÏªA°È¤w¤£¦s¦b¡AÀR ºAPort¬M®g¤]¤´±N¦s ¦b¡C¦pªG¥~³¡ IP ¦a§}µo¥ÍÅܤơA«hÀRºAPort¬M®g±N¦Û°ÊÀò¨ú§ó§ïªº¤º®e¡C ¦pªGÀ³¥Îµ{¦¡¨Ã¤£©l²×°õ¦æ¡A©ÎªÌ¹ïºô¸ôºûÅ@¨äÀRºAPort¬M®gªº«H¥ô«×°§C¡A¥¦ ´N¥i¥H¦b¨C¦¸±Ò°Ê®É«O¯d¬YÓ¤wª¾ªºPort¡A¨Ã ¦b¨C¦¸Ãö³¬®É«ì´_¸ê·½¡C³o¤@ÂI¥i ³q¹L°õ¦æ¬YӨææ¸}¥»¨Ó¹ê²{¡C§@¬°·s¼W©M§R°£Port¬M®gªº´À¥N¤è®×¡A¥i¥HÅýÀ³ ¥Îµ{§Ç®Ú¾Ú »Ýn±Ò¥Î©M¸T¥Î¬M®g¡CÀ³¥Îµ{¦¡ÁÙ¥i¥H©l²×«O¯dÀRºAPort¬M®g¡A¥B¥u ¦b¨C¦¸±Ò¥Î®É¨ê·s¤@¤U¬M®g¡C ¦P¼Ë¡A¦pªG¥~³¡ IP ¦a§}µo¥ÍÅܤơA«hÀRºAPort¬M®g±N¦Û°ÊÀò¨ú§ó§ïªº¤º®e¡C ¦pªG±M¥Îºô¸ô¤W¤£¦P«È¤á¾÷ªº¦hÓÀ³¥Îµ{¦¡¨Ï¥Î¦P¤@¤º³¡Port¸¹¡AÀ³¥Îµ{¦¡´N·| n¨D¶i¦æקï¡A¥H¤ä«ù¦hӫȤá¾÷ªº°õ¦æ¡C¥u ¦³³æӫȤá¾÷¯à¨Ï¥Î¥~³¡Port¬M®g ªº¤º³¡Port¸¹¡C¦¹³B«ØijÅý²Ä¤@ӫȤá¾÷¨Ï¥Î¡C¨ä¥¦«È¤á¾÷À³½Ð¨D¤º³¡Port¼Æ¤£ ¦P©ó¥~³¡Port ¼Æªº«D¹ïºÙPort¬M®g¡C ¦³¤@ºØ¯S®íªº±¡ªp¡G¦hӫȤá¾÷¥iºÊÅ¥¦P¤@¥~³¡Port¡A¦Ó°ß¤@ªº¥Øªº¬O³Q»·µ{¥D ¾÷µo²{¡C¿é¤J¸ê®Æ¥]¥i¥HÂà´«¬°¨Ï¥Î¤º³¡«È¤á ¾÷ IP ¦a§}ªº¼s¼½¦a§}¡A¦Ó«D¯S©wªº «È¤á¾÷¦a§}¡CºÊÅ¥¸ÓPortªº«È¤á¾÷¥i³q¹L±Ò°Ê¦Û¤v»P»·µ{¥D¾÷¤§¶¡ªº³s±µ¦Ó¤©¥H ¦^´_¡C«Ø ij¤£n´¶¹M¨Ï¥Î³oºØ¤è®×¡A¦]¬°¨ì¸Ó¦a§}ªº¿é¤J¸ê®Æ¥]±N³Qºô¸ô¤Wªº©Ò ¦³«È¤á¾÷±µ¦¬¡A¨Ã·|¤Ï¹L¨Ó¹ï¥¦Ì³y¦¨¼vÅT¡C ¦pªGªA°È»Ýnµu´ÁºÊÅ¥¬YÓÀH¾÷Port¡A¥¦À³¦bÀ³¥Îµ{¦¡¤¤½Ð¨D¤@ÓÀRºAPort¬M ®g¡A¦Ó«D¨Ï¥Î¸}¥»¡CªA°Èµ²§ô®É¡AÀ³¤©¥H²M°£ ¡]§R°£¬M®g¡^¡CÀ³¥Îµ{¦¡À³«O¯d¤@¥÷ ¦Û¤v¯S¦³Port¬M®gªº°O¿ý¡C³o¼Ë¡A¦pªGÀ³¥Îµ{¦¡¦b±Y¼ì®É¨S¦³Ãö³¬¬M®g¡A´N¥i¥H ¦b¤U¤@¦¸ ±Ò°Ê®ÉÀ˯Á¥X²M°£Port¬M®g©Ò»Ýªº¥²n«H®§¡C ¦pªGÀ³¥Îµ{¦¡Â÷¶}ºô¸ô®É¨S¦³²M°£¨äPort¬M®g¡A«h¸Ó¬M®g´N·|«O¯d¤U¨Ó¡A¦Ó²M°£ ¥ô°È´N¸¨¦b¥Î¤áªº¨¤W¡C¥Ø«e Windows ¤¤©|¨S ¦³²M°£¾÷¨î¡A³o¬O¦]¬°§PÂ_À³¥Îµ{ §Ç¤£¦A¨Ï¥Î¬M®gªº®É¶¡«D±`Ãø¡C NAT Traversal ªº§½ ¾¨ºÞ NAT Traversal ¥i¥H¸Ñ¨M»P³q¹L NAT ³]³Æ¶i¦æ³s±µ®É¦³Ãöªº¦hºØ°ÝÃD¡A¦ýÁÙ ¦³ NAT Traversal µLªk¸Ñ¨Mªº°ÝÃD¤Î¥Ñ¨ä¤Þ°_ªº °ÝÃD¡C³o¨Ç°ÝÃD¥]¬A¡G NAT Traversal ¨Ï¥Î¶}©ñ¦¡«H¥ô¼Ò¦¡¡C³o·N¨ýµÛ±M¥Îºô¸ô¤Wªº©Ò¦³À³¥Îµ{¦¡³£¯à³X°Ý NAT ¤Wªº©Ò¦³ºÝ ¤f¬M®g¡C¾¨ºÞ³o¼Ë¥i¥H¼W ¥[¦hÂIºÞ²zªºÆF¬¡©Ê¡A¦ýÀ³¥Îµ{¦¡¤]´N¥¢¥h¤F¹ï¨ä¬M®gªº°ß¤@¦û¦³Åv¡C À³¥Îµ{¦¡±Nt³d¸Ñ¨M½Ä¬ð¡C¦pªGÀ³¥Îµ{¦¡¹Á¸Õ¬M®g¬YÓ¤w¬M®gµ¹¨ä¥¦«È¤á¾÷ªºPort¡A¥¦´NÀ³t³d·j´M¥t ¤@ÓPort©Î§ï¼gÀ³¥Îµ{ ¦¡¡C NAT Traversal µLªk¸Ñ¨M¦b ISP ¤Àµo±M¥Î¦a§}©M¨Ï¥Î NAT ¶i¦æ«È¤á¾÷³s±µ¤è±ªº°ÝÃD¡C³oºØ±¡ªp ¤U¡ANAT ¦ì©ó Internet ºôÃö³]³Æ ªº¥~±¡A¹ê»Ú¤W¦ì©óªA°È´£¨Ñ°Óºô¸ôªº¤º³¡¡C¦pªG«È¤á¾÷ºô¸ô¤Wªº NAT ¦ì©ó¥t¤@Ó¦PÃþ NAT ªº«á±¡A®a®x©Î¤p«¬¥ø·~¤¤ªº NAT Traversal ´N·|¥X²{¬G»Ù¡C¦]¦¹¡A«Øij Internet ªA°È´£¨Ñ°Ó¤£n¦b¦Û¤vªººô¸ô¤º³¡¸p NAT¡C À³¥Îµ{¦¡Àò¨ú NAT Traversal ®É¨Ã«D²@µL¥N»ù¡C¥¦Ì¥²¶·¦P®É¶i¦æקï¥H°õ¦æ API¡A©ÎªÌÀH±a¸}¥»¥H´£ ¨Ñ¸Ñ¨M¤è®×¡C³o¹ï©ó¤j¦h ¼Æ¶}µo¤Hû¦Ó¨¥¤´¦b¥i±±¨îªº½d³ò¤º¡A¤×¨ä¬O¦Ò¼{¨ì±N³o¨Ç NAT Traversal ¾÷ ¨î¨Ã¤JÀ³¥Îµ{¦¡«á¡AÀ³¥Îµ{¦¡´N¯à¦Û°Ê»P¦hºØ Internet ºôÃö³]³Æ¨ó¦P¨Ï¥Î¡C ¨Ï¥Î§¹Port¬M®g«á¡AÀ³¥Îµ{¦¡t³d²M°£¤u§@¡CÀRºA¬M®g·|µL´Á¦s¦b¡A³Ì¦n¥Î©ó¥´ºâ¦b¾ãÓÀ³¥Îµ{¦¡¥Í ¦s´Á¤ººÊÅ¥¤wª¾Portªº ªA°È¡C ´£¨Ñ NAT ªº Internet ºôÃö¥²¶·¤ä«ù³q¥Î§Y´¡§Y¥Î Internet ºôÃö³]³Æ³W½d¡]¦Ü¤Ö¬°ª©¥» 0.9¡^¡C µ²½× NAT ¬O±o¨ì IETF »{¥iªº¸Ñ¨M¤è®×¡A°w¹ïªº¬O IPv4 ¦WºÙªÅ¶¡¯Ó¥Î°ÝÃD¡C¨Ï¥Î NAT ªº Internet ºôÃö¸g±`¥Î©ó®a®x©M¤p«¬¥ø·~¡C¤§ ©Ò¥H¨Ï¥Î¥¦Ì¡A¬O¦]¬°¥¦Ì»ù®æ«K ©y¡A©ö©óºÞ²z¡AµL»Ý¥Î¤á¦w¸Ë¯S®íªº³nÅé¡C ¨Ï¥Î NAT ªº¤£¨¬¦b©ó·|¯}Ãa³\¦h²á¤Ñ¡B¦hª±®a¹CÀ¸©M¹ïµ¥À³¥Îµ{¦¡¡C³o¬O¦]¬°¥¦ ̪ººô¸ô¨óij¹ïºô¸ôÅé¨tµ²ºc©Ò°µªº°²©w¤w ¤£¦¨¥ß¡C NAT Traversal ¬°À³¥Îµ{¦¡´£¨Ñ¤F¤@±ø·j´M NAT ³]³Æ¡Bµo²{¥i¥þ§½¸ô¥Ñªº¦@¨É IP ¦a§}¨Ã°t¸mÀRºAPort¬M®g¥H¸Ñ¨M¬Y¨Ç³s±µ°ÝÃD ªº³~®|¡CNAT Traversal ¸Ñ¨M¤è®×µL ªk¸Ñ¨M»P NAT ¦³Ãöªº©Ò¦³°ÝÃD¡A¦ý¥i¥H½w¸Ñ³¡¤À°ÝÃD¡C ¥»¤åªº¥Dnµ²½×¬O¡G Internet ºôÃö³]³Æ»s³y°ÓÀ³¦b¦Û¤vªº³]³Æ¤¤¤ä«ù UPnP¡A±q¦Ó¤ä«ù NAT Traversal¡C ºô¸ôÀ³¥Îµ{¦¡¶}µo¤HûÀ³¨Ï¥Î Windows NAT Traversal API ¨ÓÀË´ú NAT ªº¦s¦b¡A¨Ã¦b¥²n®É¤¹³\¨ä À³¥Îµ{¦¡¸g¹L NAT¡C ¥Î¤áÀ³¨Ï¥Î¤ä«ù UPnP ©M NAT Traversal ªº Internet ºôÃö³]³Æ¡A¥H½T«O³Ì¨ÎªºÀ³¥Îµ{¦¡©Ê¯à¡C DSL ©M¹qÆl½Õ»s¸Ñ½Õ¾¹ªºªA°È´£¨Ñ°ÓÀ³«ü©w¡B¾P°â©M¯²¸î¬° NAT Traversal ´£¨Ñ UPnP ¤ä«ùªº Internet ºôÃö³]³Æ¡C ¦b IPv6 ³Ì²×®ø°£ NAT ¤§«e¡A¬Y¨Ç§Î¦¡ªº NAT Traversal ¤´·|Ä~Äò¦s¦b¡C |