Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
apgamilla
New Contributor

Wanted to use iperf test for 2 public IP addresses.

I desperately need your help guys. I need to test some metrics in two networks. The one network was using Fortinet as router/firewall and the other end is my network at home. local testing is okay but since I need to use the public IP, it didn't work. Is there any way to allow it? I use port forwarding already but it doesn't work. Do I have any configuration that I need to do in FortiGate? Thank you for the reply.

4 REPLIES 4
vponmuniraj
Staff
Staff

Hi apgamilla,

 

Which side would be your iperf server? 

Is the Fortigate configured with a public IP address?

 

If you plan on using a device connected to FGT as the iperf server, you can use VIP on the FGT to allow the traffic. Iperf allows you to use your own port (either TCP / UDP), set port 8080 as the listening port for iperf server and configure VIP. 

 

If the Fortigate is not configured with a public IP, then it might get tricky. You can configure DynDNS and use the DNS name for the iperf. Same FQDN can be used in VIP as external IP. 

 

Regards,

Vignesh
apgamilla

yeah.. FortiGate was not configured with a public IP... I already configured the VIP and it didn't work. hmmm.. maybe that's the problem? another problem is we still didn't use our domain so I cannot use the DynDNS.. :( 

cvincent_FTNT

You may be misunderstanding DDNS
Checkout this Fortinet KB.
https://community.fortinet.com/t5/FortiGate/Technical-Tip-DDNS-update-with-public-IP-on-internal-fir....
You don't need your own domain. You can create a unique name using FortiDDNS.

cvincent
Markus_M
Staff
Staff

Hello,

 

you will need to say more about the environment.

iperf is a flexible text you can use for (almost) any port.

FortiGate has an integrated iperf3 test (diag traffictest ...) that connect at a minimum to outside. I think in later versions it can receive connections from outside.

iperf and traffic test can connection to some external server and then be instructed to send traffic or to receive traffic, use tcp or udp.

 

That should cover all cases of load testing, rather than a connection problem that you seem to have.

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-perform-bandwidth-tests/ta-p/197784

 

Best regards,

 

Markus

Labels
Top Kudoed Authors