{"id":7178,"date":"2020-02-04T01:46:56","date_gmt":"2020-02-04T04:46:56","guid":{"rendered":"https:\/\/forti1.com\/?p=7178"},"modified":"2025-02-12T19:49:54","modified_gmt":"2025-02-12T19:49:54","slug":"instalando-um-fortigate-no-modo-nat","status":"publish","type":"post","link":"https:\/\/forti1.com\/en\/installing-a-fortigate-in-nat-mode\/","title":{"rendered":"Installing FortiGate in NAT mode"},"content":{"rendered":"<p>Installing FortiGate in NAT mode in just a few steps.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Summary<\/h2><nav><div><div><a href=\"#conectando-dispositivos-de-rede\">Connecting network devices<\/a><\/div><div><a href=\"#configurando-interfaces-no-a-href-forti-1-com-fortinet-fortigate-forti-gate-firewall-a\">Configuring Interfaces on the FortiGate Firewall<\/a><\/div><div><a href=\"#passos-importantes\">Important steps<\/a><\/div><div><a href=\"#adicionando-uma-rota-padrao\">Adding a default route<\/a><\/div><\/div><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conectando-dispositivos-de-rede\">Connecting network devices<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/forti1.com\/wp-content\/uploads\/2020\/02\/Fortigate_Modo_NAT1.png\" alt=\"\" class=\"wp-image-7179\" width=\"616\" height=\"226\" title=\"\"><\/figure>\n\n\n\n<p>First of all, in this example you connect and configure a new FortiGate in NAT mode in order to securely connect a private network to the Internet.<\/p>\n\n\n\n<p>In NAT mode, you install it as a gateway or router between two networks. Normally, you set up the Firewall between a private network and the Internet, since it allows the <a href=\"https:\/\/forti1.com\/en\/ssl-vpn-melhores-praticas-7-dicas-para-seguranca\/\" target=\"_blank\" rel=\"noreferrer noopener\">FortiGate<\/a> hide the IP addresses of the private network using NAT.<\/p>\n\n\n\n<p>As a result, NAT mode is the most commonly used operational mode in implementations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"configurando-interfaces-no-a-href-forti-1-com-fortinet-fortigate-forti-gate-firewall-a\">Configuring Interfaces in <a href=\"https:\/\/forti1.com\/en\/fortinet\/fortigate\/\">FortiGate Firewall<\/a><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>At first, to edit the Internet-facing interface (in the example, wan1), go to Network &gt; Interfaces.<\/li>\n\n\n\n<li>Secondly, set the estimated bandwidth for the interface based on your Internet connection.<\/li>\n\n\n\n<li>Also, set the function to WAN.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/forti1.com\/wp-content\/uploads\/2020\/02\/Interface_Fortigate1.png\" alt=\"\" class=\"wp-image-7180\" width=\"650\" height=\"331\" title=\"\"><figcaption class=\"wp-element-caption\">Configuration Screen<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"passos-importantes\">Important steps<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>First of all, to determine which addressing mode to use, check whether your ISP provides an IP address for you to use or whether the ISP equipment uses DHCP to assign IP addresses.\n<ol class=\"wp-block-list\">\n<li>Whereas if your Internet service provider gives you an IP address, set the addressing mode to Manual and set the netmask \/ IP for that IP address.<\/li>\n\n\n\n<li>On the other hand, if your ISP equipment uses DHCP, set the Addressing mode to DHCP to allow the equipment to assign an IP address to the <a href=\"https:\/\/forti1.com\/en\/the-5-requirements-for-sd-wan-safe\/\" target=\"_blank\" rel=\"noreferrer noopener\">WAN1<\/a>.<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>Edit the lan interface, which is called internal on some FortiGate models.<\/li>\n\n\n\n<li>Set the function to LAN.<\/li>\n\n\n\n<li>Set the Addressing mode to Manual and set the netmask \/ IP to the private IP address you want to use for the <a href=\"https:\/\/forti1.com\/en\/como-ativar-e-registrar-o-fortigate\/\" target=\"_blank\" rel=\"noreferrer noopener\">FortiGate<\/a>.<\/li>\n\n\n\n<li>However, if you need to assign IP addresses to devices on your internal network, activate the DHCP Server.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/forti1.com\/wp-content\/uploads\/2020\/02\/DHCP_FortiGate_11.png\" alt=\"\" class=\"wp-image-7182\" width=\"467\" height=\"739\" title=\"\"><figcaption class=\"wp-element-caption\">Firewall Interface Screen<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"adicionando-uma-rota-padrao\">Adding a default route<\/h2>\n\n\n\n<p>Adding a default route in <a href=\"https:\/\/forti1.com\/en\/fortinet\/fortigate\/\" target=\"_blank\" data-type=\"page\" data-id=\"262\" rel=\"noreferrer noopener\">FortiGate Firewall<\/a><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>To create a new default route, go to Network &gt; Static routes . Normally, you only have one default route. If the list of static routes already contains a default route, you can edit it or delete the route and add a new one.<\/li>\n\n\n\n<li>Set Destination to Sub - network and leave the destination IP address set to 0.0.0.0\/0.0.0.0.<\/li>\n\n\n\n<li>Set Gateway to the IP address provided by your ISP and Interface to the Internet interface.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/forti1.com\/wp-content\/uploads\/2020\/02\/DEFAULT_ROUTE_FORTIGATE1.png\" alt=\"\" class=\"wp-image-7184\" title=\"\"><figcaption class=\"wp-element-caption\">Adding Routes<\/figcaption><\/figure>","protected":false},"excerpt":{"rendered":"<p>Installing a FortiGate in NAT mode... ortiGate in NAT mode, to securely connect a private network to the Internet<\/p>","protected":false},"author":4,"featured_media":7179,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":null,"ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":null,"ast-hfb-below-header-display":null,"ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":null,"ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":null,"stick-header-meta":null,"header-above-stick-meta":null,"header-main-stick-meta":null,"header-below-stick-meta":null,"astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2417],"tags":[1341,16,33,1342],"class_list":["post-7178","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cybersecurity","tag-fortigate-configuration","tag-fortinet","tag-seguranca-de-redes","tag-setup-firewall-fortinet"],"_links":{"self":[{"href":"https:\/\/forti1.com\/en\/wp-json\/wp\/v2\/posts\/7178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/forti1.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/forti1.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/forti1.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/forti1.com\/en\/wp-json\/wp\/v2\/comments?post=7178"}],"version-history":[{"count":0,"href":"https:\/\/forti1.com\/en\/wp-json\/wp\/v2\/posts\/7178\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/forti1.com\/en\/wp-json\/wp\/v2\/media\/7179"}],"wp:attachment":[{"href":"https:\/\/forti1.com\/en\/wp-json\/wp\/v2\/media?parent=7178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/forti1.com\/en\/wp-json\/wp\/v2\/categories?post=7178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/forti1.com\/en\/wp-json\/wp\/v2\/tags?post=7178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}