FortiWeb
A FortiWeb can be configured to join a Security Fabric through the root or downstream FortiGate.
fortega
Staff
Staff
Article Id 412313
Description

This article describes how to forward multiple external ports to multiple internal ports in FortiWeb.

 

There are some scenarios where it is necessary to forward multiple external ports to a single internal web server or multiple internal servers.

Scope FortiWeb.
Solution
  1. Configure a Virtual Server with the desired external IP.

 

Virtual Server.png

 

  1. Configure Server Pools in FortiWeb: one server pool for TCP port 80 and one for 90.
                                               

server pool 1.png

 

Both Server Pools point to the same internal server but different ports.

 

server pool 80.png

 

server pool 90.png

 

  1. Configure the Content Routing: one for each server pool.

 

Content routing.png

 

  1. Configure the Custom Service with TCP ports 80 and 90. When this object is created, the ports must be separated by a space in the Port field.

01a.png

 

custom port.png

 

  1. Configure Server Policy and set the Deployment Method to 'HTTP Content Routing', then select the Content Routing and Service created in steps 3 and 4.

 

Server Policy 1.png

 

  1. In the results, traffic is forwarded from the Virtual Server to the Internal Server using TCP ports 80 and 90.

     

curl 80.png

 

curl 90.png

 

Related document:

Content Routing