Skip to main content
kmak
Staff
Staff
December 16, 2024

Technical Tip: How to install TFTP service onto Microsoft Windows Machine and using the TFTP server for FortiADC firmware version upgrade source host via SSH/CLI

  • December 16, 2024
  • 0 replies
  • 14744 views
Description This article describes the steps to run the TFTP service in a Microsoft Windows Machine and using the TFTP server for the FortiADC firmware version CLI upgrade source host.
Scope FortiADC.
Solution

Prerequisite:

  • FortiADC has network reachability to the Microsoft Windows Machine or direct back-to-back LAN network connection.
  • Has administrator privilege to the Microsoft Windows Machine to install and run the software as a service.

 

  1. This sample guide will be using the TFTPD freeware software on the Windows machine. Check out the page https://pjo2.github.io/tftpd64/ for the Tftpd software details and look for the installer download link.

 

kmak_0-1734328546209.jpeg

 

  1. Download the service-edition file tftpd64-service-edition.464.zip from the download page.

 

kmak_1-1734328546213.jpeg

 

  1. Extract the downloaded archive file and open the service installation note file using a text editor.

 

kmak_2-1734328546217.jpeg

 

  1. Open the Windows CMD command prompt using administrator privilege.

 

kmak_3-1734328546218.jpeg

 

  1. In the command prompt, go to the Tftpd folder path.

 

kmak_4-1734328546223.jpeg

 

  1. Follow the Tftpd install service instructions to register the Tftpd service to the Microsoft Services.

 

kmak_5-1734328546224.jpeg

 

  1. Open the Microsoft Services Window, look for the Tftpd service, and start the Tftpd service.

 

kmak_6-1734328546229.jpeg

 

  1. The Tftpd service should be Running and the command netstat should show the UDP port 69 listened by the service PID.

 

kmak_7-1734328546231.jpeg

 

  1. Go back to the Tftpd folder and open the tftpd64_gui.exe application. The Tftpd service has the default path setting at 'C:\WINDOWS\system32'.

 

kmak_8-1734328546238.jpeg

 

  1. Change the tftpd path by browsing to the folder where the firmware image files are stored.

 

kmak_9-1734328546244.jpeg

 

  1. Before beginning with the Firmware Image upgrade using TFTP, make sure that the Windows Firewall has UDP port 69 allowed.

 

kmak_10-1734328546246.jpeg

 

  1. Open FortiADC SSH/CLI using the admin account and run the command to upgrade the firmware version.
  • To upgrade the FortiADC standalone device:

 

execute restore image tftp FAD_KVM-V700-buildXXXX-FORTINET.out 10.123.123.123

 

  • To upgrade FortiADC HA cluster devices:

 

execute restore image tftp-ha-sync FAD_KVM-V700-buildXXXX-FORTINET.out 10.123.123.123

 

kmak_11-1734328546249.jpeg

 

Related Document:

Updating firmware
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!