{"id":20642,"date":"2024-10-10T14:54:19","date_gmt":"2024-10-10T07:54:19","guid":{"rendered":"https:\/\/thegioifirewall.com\/?p=20642"},"modified":"2025-03-24T07:27:21","modified_gmt":"2025-03-24T07:27:21","slug":"huong-dan-cau-hinh-nat-port-va-port-forwarding-tren-firewall-fortinet","status":"publish","type":"post","link":"https:\/\/vacif.com\/en\/huong-dan-cau-hinh-nat-port-va-port-forwarding-tren-firewall-fortinet\/","title":{"rendered":"H\u01af\u1edaNG D\u1eaaN C\u1ea4U H\u00ccNH NAT PORT V\u00c0 PORT FORWARDING TR\u00caN FIREWALL FORTINET"},"content":{"rendered":"\n<ol class=\"wp-block-list\">\n<li><strong>M\u1ee4C \u0110\u00cdCH B\u00c0I VI\u1ebeT.<\/strong><\/li>\n<\/ol>\n\n\n\n<p>H\u01b0\u1edbng d\u1eabn n\u00e0y s\u1ebd cung c\u1ea5p chi ti\u1ebft c\u00e1ch c\u1ea5u h\u00ecnh <strong>NAT Port<\/strong> v\u00e0 <strong>Port Forwarding<\/strong> tr\u00ean t\u01b0\u1eddng l\u1eeda Fortinet, gi\u00fap qu\u1ea3n l\u00fd truy c\u1eadp t\u1eeb b\u00ean ngo\u00e0i v\u00e0o c\u00e1c d\u1ecbch v\u1ee5 b\u00ean trong m\u1ea1ng n\u1ed9i b\u1ed9 m\u1ed9t c\u00e1ch an to\u00e0n v\u00e0 hi\u1ec7u qu\u1ea3.<\/p>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><strong>N\u1ed8I DUNG H\u01af\u1edaNG D\u1eaaN.<\/strong><\/li>\n\n\n\n<li><strong>NAT Port l\u00e0 g\u00ec?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>NAT Port (Network Address Translation Port) l\u00e0 qu\u00e1 tr\u00ecnh thay \u0111\u1ed5i \u0111\u1ecba ch\u1ec9 IP ngu\u1ed3n ho\u1eb7c \u0111\u00edch c\u1ee7a c\u00e1c g\u00f3i tin khi ch\u00fang \u0111i qua t\u01b0\u1eddng l\u1eeda, nh\u1eb1m t\u1ea1o l\u1edbp b\u1ea3o m\u1eadt cho m\u1ea1ng n\u1ed9i b\u1ed9.<\/p>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><strong>Port Forwarding l\u00e0 g\u00ec?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>Port Forwarding (chuy\u1ec3n ti\u1ebfp c\u1ed5ng) l\u00e0 m\u1ed9t k\u1ef9 thu\u1eadt c\u1ea5u h\u00ecnh m\u1ea1ng gi\u00fap chuy\u1ec3n ti\u1ebfp l\u01b0u l\u01b0\u1ee3ng m\u1ea1ng t\u1eeb m\u1ed9t \u0111\u1ecba ch\u1ec9 IP v\u00e0 c\u1ed5ng c\u00f4ng c\u1ed9ng \u0111\u1ebfn m\u1ed9t \u0111\u1ecba ch\u1ec9 IP v\u00e0 c\u1ed5ng n\u1ed9i b\u1ed9 c\u1ee5 th\u1ec3 trong m\u1ea1ng. \u0110\u00e2y l\u00e0 ph\u01b0\u01a1ng th\u1ee9c quan tr\u1ecdng \u0111\u1ec3 cho ph\u00e9p c\u00e1c thi\u1ebft b\u1ecb ho\u1eb7c d\u1ecbch v\u1ee5 b\u00ean trong m\u1ea1ng n\u1ed9i b\u1ed9 c\u00f3 th\u1ec3 truy c\u1eadp t\u1eeb Internet ho\u1eb7c m\u1ea1ng b\u00ean ngo\u00e0i th\u00f4ng qua t\u01b0\u1eddng l\u1eeda ho\u1eb7c router&#8230;.<\/p>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><strong>C\u00e1c b\u01b0\u1edbc c\u1ea5u h\u00ecnh<\/strong><\/li>\n<\/ol>\n\n\n\n<p>C\u00e1c b\u01b0\u1edbc c\u1ea5u h\u00ecnh:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>T\u1ea1o Virtual IP \u0111\u1ec3 \u00e1nh x\u1ea1 port gi\u1eefa IP Local v\u00e0 IP WAN<\/li>\n\n\n\n<li>T\u1ea1o Policy v\u00e0 g\u00e1n Virtual IP v\u00e0o \u0111\u1ec3 cho ph\u00e9p truy c\u1eadp t\u1eeb b\u00ean ngo\u00e0i<\/li>\n\n\n\n<li>Ki\u1ec3m tra k\u1ebft n\u1ed1i<\/li>\n<\/ul>\n\n\n\n<p>M\u00f4 h\u00ecnh k\u1ebft n\u1ed1i:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/uploads.thegioifirewall.com\/2024\/10\/cau-hinh-nat-port-va-port-forwarding-tren-firewall-fortinet.png\" alt=\"\"\/><\/figure>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><strong>H\u01af\u1edaNG D\u1eaaN C\u1ea4U H\u00ccNH.<\/strong><\/li>\n\n\n\n<li><strong>T\u1ea1o Virtual IP \u0111\u1ec3 \u00e1nh x\u1ea1 port gi\u1eefa IP n\u1ed9i b\u1ed9 v\u00e0 IP WAN<\/strong><\/li>\n<\/ol>\n\n\n\n<p>Truy c\u1eadp v\u00e0o giao di\u1ec7n qu\u1ea3n tr\u1ecb c\u1ee7a firewall<\/p>\n\n\n\n<p>\u0110i\u1ec1u h\u01b0\u1edbng \u0111\u1ebfn m\u1ee5c <strong>Virtual IP<\/strong>, ch\u1ecdn <strong>Create New<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/uploads.thegioifirewall.com\/2024\/10\/cau-hinh-nat-port-va-port-forwarding-tren-firewall-fortinet-1.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>VIP Type<\/strong>: Ch\u1ecdn &#8220;IPv4&#8221;<\/p>\n\n\n\n<p><strong>Name<\/strong>: \u0110\u1eb7t t\u00ean cho quy t\u1eafc NAT (v\u00ed d\u1ee5: &#8220;NAT_4444&#8221;)<\/p>\n\n\n\n<p><strong>Comments<\/strong>: Th\u00eam m\u00f4 t\u1ea3 n\u1ebfu c\u1ea7n (v\u00ed d\u1ee5: &#8220;Port forward NAT&#8221;)<\/p>\n\n\n\n<p><strong>Interface:<\/strong> Ch\u1ecdn giao di\u1ec7n m\u1ea1ng (v\u00ed d\u1ee5: &#8220;wan&#8221;)<\/p>\n\n\n\n<p><strong>External IP address\/range:<\/strong> Nh\u1eadp \u0111\u1ecba ch\u1ec9 IP public (v\u00ed d\u1ee5: 103.30.154.218)<\/p>\n\n\n\n<p><strong>Map to IPv4 address\/range:<\/strong> Nh\u1eadp \u0111\u1ecba ch\u1ec9 IP private (v\u00ed d\u1ee5: 10.0.0.200)<\/p>\n\n\n\n<p>********<\/p>\n\n\n\n<p>Trong ph\u1ea7n &#8220;<strong>Port Forwarding<\/strong>&#8220;, ch\u1ecdn &#8220;<strong>Enable<\/strong>&#8220;.<\/p>\n\n\n\n<p>C\u1ea5u h\u00ecnh c\u00e1c th\u00f4ng s\u1ed1 Port Forwarding:<\/p>\n\n\n\n<p><strong>Protocol:<\/strong> Ch\u1ecdn giao th\u1ee9c (v\u00ed d\u1ee5: TCP)<\/p>\n\n\n\n<p><strong>External service port: <\/strong>Nh\u1eadp port public (v\u00ed d\u1ee5: 4444), port n\u00e0y c\u00f3 th\u1ec3 gi\u1ed1ng ho\u1eb7c kh\u00e1c port private.<\/p>\n\n\n\n<p><strong>Map to IPv4 port:<\/strong> Nh\u1eadp port private (v\u00ed d\u1ee5: 443)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/uploads.thegioifirewall.com\/2024\/10\/cau-hinh-nat-port-va-port-forwarding-tren-firewall-fortinet-2.png\" alt=\"\" \/><\/figure>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><strong>T\u1ea1o Policy v\u00e0 g\u00e1n Virtual IP v\u00e0o \u0111\u1ec3 cho ph\u00e9p truy c\u1eadp t\u1eeb b\u00ean ngo\u00e0i<\/strong><\/li>\n<\/ol>\n\n\n\n<p>\u0110i \u0111\u1ebfn m\u1ee5c&nbsp;<strong>Policy &amp; Objects&nbsp;<\/strong>&gt;&nbsp;<strong>IPv4 Policy.<\/strong><\/p>\n\n\n\n<p>Nh\u1ea5p chu\u1ed9t v\u00e0o&nbsp;<strong>Create New<\/strong>&nbsp;\u0111\u1ec3 t\u1ea1o ch\u00ednh s\u00e1ch m\u1edbi.<\/p>\n\n\n\n<p>\u0110i\u1ec1n c\u00e1c th\u00f4ng tin c\u1ea7n thi\u1ebft:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Name<\/strong>:\u00a0Nh\u1eadp t\u00ean cho ch\u00ednh s\u00e1ch.<\/li>\n\n\n\n<li><strong>Incoming Interface:<\/strong>\u00a0Ch\u1ecdn giao di\u1ec7n m\u1ea1ng ngo\u00e0i (WAN).<\/li>\n\n\n\n<li><strong>Outgoing Interface<\/strong>:\u00a0Ch\u1ecdn giao di\u1ec7n m\u1ea1ng trong (LAN).<\/li>\n\n\n\n<li><strong>Source:<\/strong>\u00a0Ch\u1ecdn \u0111\u1ecba ch\u1ec9 IP ho\u1eb7c\u00a0all.<\/li>\n\n\n\n<li><strong>Destination:<\/strong>\u00a0Ch\u1ecdn VIP m\u00e0 b\u1ea1n \u0111\u00e3 t\u1ea1o \u1edf b\u01b0\u1edbc tr\u00ean.<\/li>\n\n\n\n<li><strong>Service:<\/strong>\u00a0Ch\u1ecdn d\u1ecbch v\u1ee5 ho\u1eb7c port m\u00e0 b\u1ea1n mu\u1ed1n cho ph\u00e9p.<\/li>\n\n\n\n<li><strong>Action:<\/strong>\u00a0Ch\u1ecdn\u00a0<strong>Accept.<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Nh\u1ea5n&nbsp;<strong>OK&nbsp;<\/strong>\u0111\u1ec3 l\u01b0u l\u1ea1i ch\u00ednh s\u00e1ch.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/uploads.thegioifirewall.com\/2024\/10\/cau-hinh-nat-port-va-port-forwarding-tren-firewall-fortinet-3.png\" alt=\"\"\/><\/figure>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><strong>Ki\u1ec3m tra k\u1ebft n\u1ed1i.<\/strong><\/li>\n<\/ol>\n\n\n\n<p>S\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 ki\u1ec3m tra port ho\u1eb7c k\u1ebft n\u1ed1i t\u1eeb b\u00ean ngo\u00e0i \u0111\u1ec3 x\u00e1c nh\u1eadn r\u1eb1ng NAT port v\u00e0 Port Forwarding \u0111\u00e3 ho\u1ea1t \u0111\u1ed9ng \u0111\u00fang.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/uploads.thegioifirewall.com\/2024\/10\/cau-hinh-nat-port-va-port-forwarding-tren-firewall-fortinet-4.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u0110\u1ea3m b\u1ea3o r\u1eb1ng thi\u1ebft b\u1ecb c\u1ee7a b\u1ea1n kh\u00f4ng c\u00f2n k\u1ebft n\u1ed1i v\u1edbi m\u1ea1ng n\u1ed9i b\u1ed9 (LAN) m\u00e0 Fortinet \u0111ang b\u1ea3o v\u1ec7. B\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng d\u1eef li\u1ec7u di \u0111\u1ed9ng ho\u1eb7c m\u1ed9t m\u1ea1ng Wi-Fi kh\u00e1c.<\/p>\n\n\n\n<p>Nh\u1eadp \u0111\u1ecba ch\u1ec9 <strong>183.80.156.218:4444<\/strong> (IP WAN:Port) v\u00e0o thanh \u0111\u1ecba ch\u1ec9 c\u1ee7a tr\u00ecnh duy\u1ec7t.<\/p>\n\n\n\n<p>N\u1ebfu c\u1ea5u h\u00ecnh ch\u00ednh x\u00e1c, b\u1ea1n s\u1ebd truy c\u1eadp \u0111\u01b0\u1ee3c d\u1ecbch v\u1ee5 web tr\u00ean m\u00e1y ch\u1ee7 c\u1ee5c b\u1ed9 t\u1eeb \u0111\u1ecba ch\u1ec9 public n\u00e0y.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/uploads.thegioifirewall.com\/2024\/10\/cau-hinh-nat-port-va-port-forwarding-tren-firewall-fortinet-5.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>N\u1ebfu kh\u00f4ng k\u1ebft n\u1ed1i \u0111\u01b0\u1ee3c, h\u00e3y ki\u1ec3m tra l\u1ea1i c\u00e1c b\u01b0\u1edbc c\u1ea5u h\u00ecnh, \u0111\u1ea3m b\u1ea3o r\u1eb1ng kh\u00f4ng c\u00f3 l\u1ed7i v\u1ec1 port ho\u1eb7c IP mapping, v\u00e0 d\u1ecbch v\u1ee5 n\u1ed9i b\u1ed9 \u0111ang ho\u1ea1t \u0111\u1ed9ng \u0111\u00fang c\u00e1ch.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>H\u01b0\u1edbng d\u1eabn n\u00e0y s\u1ebd cung c\u1ea5p chi ti\u1ebft c\u00e1ch c\u1ea5u h\u00ecnh NAT Port v\u00e0 Port Forwarding tr\u00ean t\u01b0\u1eddng l\u1eeda Fortinet, gi\u00fap qu\u1ea3n l\u00fd truy c\u1eadp t\u1eeb b\u00ean ngo\u00e0i v\u00e0o c\u00e1c d\u1ecbch v\u1ee5 b\u00ean trong m\u1ea1ng n\u1ed9i b\u1ed9 m\u1ed9t c\u00e1ch an to\u00e0n v\u00e0 hi\u1ec7u qu\u1ea3. NAT Port (Network Address Translation Port) l\u00e0 qu\u00e1 tr\u00ecnh thay \u0111\u1ed5i [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":42,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[80],"tags":[110,505],"class_list":["post-20642","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-huong-dan-tai-lieu","tag-firewall","tag-firewall-fortinet","entry","has-media"],"_links":{"self":[{"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/posts\/20642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/comments?post=20642"}],"version-history":[{"count":2,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/posts\/20642\/revisions"}],"predecessor-version":[{"id":21156,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/posts\/20642\/revisions\/21156"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/media\/42"}],"wp:attachment":[{"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/media?parent=20642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/categories?post=20642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/tags?post=20642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}