Destination NAT: publishing a server with a VIP
Sign in to read this lesson
To reach an internal server from the internet, the destination address has to be translated. On a FortiGate this is done with a Virtual IP (VIP) object. In this lesson we learn to create a VIP, use port forwarding and write a policy for the VIP.
What you will learn
- Destination NAT (DNAT) changes the destination address of a packet. On a FortiGate you create a Virtual IP (VIP) object for it.
- The three main settings of a VIP: extintf (which port the traffic arrives on), extip (the address seen from outside), mappedip (the real address of the server).
- Port forwarding lets you send individual ports of one public address to different servers.
- A VIP alone allows nothing. A policy is needed too: the VIP object as
dstaddrand the port where the server is asdstintf. - DNAT is done before the policy check. That is why the outgoing port and the service in the policy are written for the values after translation.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.