Skip to main content
justme636
New Member
March 16, 2024
Question

Many to One Port Forwarding

  • March 16, 2024
  • 2 replies
  • 2263 views

Hi I have a costumer with the following requirement:

2 WAN ip's that needs to be redirected to 3 different LAN printers with static ip's listening on port 9100

The external ip's will be redirected to each printer by source port:

Xerox printer- will accept port forward on port 9100 from source port 9100 only

 

Brother printer- will accept port forward on port 9100 from source port 9101 only

canon printer- will accept port forward on port 9100 from source port 9102 only

 

As far as I know i should create a VIP for each LAN printer but not sure how to achieve this

Any help will be much appreciated

 

2 replies

emmaagro
New Member
March 16, 2024

When you forward a port you send all traffic to a single address. · Port 8080 can be used safely as alternative to 80 on the Core Ball secondary system ... Two applications at the same address cannot use the same port number. If you are configuring your system with multiple instances of TCP/IP on the same system, however, they will have different addresses and therefore the same port number can be used for the same function on each stack.Are TCP ports different from UDP ports? Yes, TCP and UDP ports are different, but they sometimes use the same port number. For example, UDP/53 and TCP/53 are both used for DNS, but they are different connection types

 
adimailig
Staff & Editor
Staff & Editor
March 16, 2024

Hi,

Virtual IP with Port Forwarding is needed.
You may refer to below guide on how to configure it.
https://docs.fortinet.com/document/fortigate/7.4.3/administration-guide/155333/virtual-ips-with-port-forwarding

Note you need to configure 1 set of VIP per WAN IP. On your case you will end up having 6 configured VIP with Port Forwarding

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!