Source NAT: taking internal addresses to the internet
Sign in to read this lesson
The 10.x.x.x addresses of the internal network do not work on the internet. Source NAT replaces the source address of an outgoing packet with the FortiGate's public address. In this lesson we learn NAT in a policy, IP pool types and central NAT mode.
What you will learn
- Source NAT (SNAT) changes the source address of a packet. Its simplest form is
set nat enablein a policy: the source becomes the IP of the outgoing port. - Many computers can go out with one public address thanks to port translation (PAT). The FortiGate picks a separate source port for every session.
- An IP pool lets you NAT to address(es) other than the IP of the outgoing port. Types:
overload,one-to-one,fixed-port-range,port-block-allocation. - In central NAT mode NAT is separated from policies: SNAT rules are written in the separate
central-snat-maptable. - A NATed session can be seen in the session table: it holds both the original and the translated address.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.