Chapter 10 Install and System Administration for FortiOS 5.0 : Using the web-based manager : Dashboard : System Information widget : Changing the operation mode
  
Changing the operation mode
FortiGate units and individual VDOMs can operate in NAT or Transparent mode. From the System Information dashboard widget, you can change the operating mode for your FortiGate unit or for a VDOM and perform sufficient network configuration to ensure that you can connect to the web-based manager in the new mode.
NAT mode
In NAT mode, the FortiGate unit is visible to the network that it is connected to and all of its interfaces are on different subnets. Each interface that is connected to a network must be configured with an IP address that is valid for that subnet.
You would typically use NAT mode when the FortiGate unit is deployed as a gateway between private and public networks (or between any networks). In its default NAT mode configuration, the FortiGate unit functions as a router, routing traffic between its interfaces. Security policies control communications through the FortiGate unit to both the Internet and between internal networks. In NAT mode, the FortiGate unit performs network address translation before IP packets are sent to the destination network.
For example, a company has a FortiGate unit as their interface to the Internet. The FortiGate unit also acts as a router to multiple subnets within the company. In this situation, the FortiGate unit is set to NAT mode and has a designated port for the Internet, wan1, with an address of 172.20.120.129, which is the public IP address. The internal network segments are behind the FortiGate unit and invisible to the public access, for example port 2 has an address of 10.10.10.1. The FortiGate unit translates IP addresses passing through it to route the traffic to the correct subnet or to the Internet.
Transparent Mode
In transparent mode, the FortiGate unit is invisible to the network. All of its interfaces are on the same subnet and share the same IP address. To connect the FortiGate unit to your network, all you have to do is configure a management IP address and a default route.
You would typically use the FortiGate unit in transparent mode on a private network behind an existing firewall or behind a router. In transparent mode, the FortiGate unit also functions as a firewall. Security policies control communications through the FortiGate unit to the Internet and internal network. No traffic can pass through the FortiGate unit until you add security policies.
For example, the company has a router or other firewall in place. The network is simple enough that all users are on the same internal network. They need the FortiGate unit to perform application control, antivirus, intrusion protection, and similar traffic scanning. In this situation, the FortiGate unit is set to transparent mode. The traffic passing through the FortiGate unit does not change the addressing from the router to the internal network. Security policies and security profiles define the type of scanning the FortiGate unit performs on traffic entering the network.
To switch from NAT to transparent mode
1. From the System Information dashboard widget select Change beside Operation Mode.
2. From the Operation Mode list, select Transparent.
3. Enter the Management IP address and Netmask. This is the IP address to connect to when configuring and maintaining the device.
4. Enter the Default Gateway.
5. Select OK.
To change the transparent mode management IP address
1. From the System Information dashboard widget select Change beside Operation Mode.
2. Enter a new IP address and netmask in the Management IP/Network field as required and select OK.
Your web browser is disconnected from the web‑based manager. To reconnect to the web‑based manager browse to the new management IP address.
To switch from transparent to NAT mode
1. From the System Information dashboard widget select Change beside Operation Mode.
2. From the Operation Mode list, select NAT.
3. Enter valid IP address and netmask for the network from which you want to manage the FortiGate unit.
4. Select the interface to which the Interface IP/Netmask settings apply
5. Enter the IP address default gateway required to reach other networks from the FortiGate unit.
6. After the FortiGate unit switches to NAT mode, you may need to go Router > Static Route and edit this default route.
For low-end FortiGate units, go to System > Network > Routing.
7. Select OK.