Fortinet Document Library

Version:

Version:

Version:


Table of Contents

Cookbook

Download PDF
Copy Link

Creating virtual IP addresses

In this example, you open TCP ports 8096 (HTTP), 21 (FTP), and 22 (SSH) for remote users to communicate with the server behind the firewall. The external IP address of the server is 172.25.176.60, which is mapped to the internal IP address 192.168.70.10.

  1. To create a virtual IP (VIP) address for port 8096, go to Policy & Objects > Virtual IPs and create a new virtual IP address.

  2. Set External IP Address/Range to 172.25.176.60 and set Mapped IP Address/Range to 192.168.65.10.

  3. Enable Port Forwarding. Set Protocol to TCP, set External Service Port to 8096, and set Map to Port to 8096.

  4. Create a second VIP address for port 21. Set both External Service Port and Map to Port to 21.

  5. Create a third VIP address for port 22. Set both External Service Port and Map to Port to 22.

Creating virtual IP addresses

In this example, you open TCP ports 8096 (HTTP), 21 (FTP), and 22 (SSH) for remote users to communicate with the server behind the firewall. The external IP address of the server is 172.25.176.60, which is mapped to the internal IP address 192.168.70.10.

  1. To create a virtual IP (VIP) address for port 8096, go to Policy & Objects > Virtual IPs and create a new virtual IP address.

  2. Set External IP Address/Range to 172.25.176.60 and set Mapped IP Address/Range to 192.168.65.10.

  3. Enable Port Forwarding. Set Protocol to TCP, set External Service Port to 8096, and set Map to Port to 8096.

  4. Create a second VIP address for port 21. Set both External Service Port and Map to Port to 21.

  5. Create a third VIP address for port 22. Set both External Service Port and Map to Port to 22.