TFTP is critical in maintaining embedded device patches and configurations and will be around for a long time to come. We show you the best TFTP servers for both Windows and Linux systems.
Linux and Internet Security Expert
Updated: November 20, 2024
A TFTP (Trivial File Transfer Protocol) server is a simple file transfer protocol commonly used in computer networking environments. It allows for the transfer of files between a TFTP server and client devices over a network.
Unlike other file transfer protocols such as FTP or SFTP, TFTP is a lightweight protocol that provides basic functionality with minimal features.
The main purpose of a TFTP server is to facilitate the efficient transfer of files, particularly in situations where a small and lightweight protocol is sufficient.
Here’s our list of the best free TFTP server software:
- Windows TFTP Utility EDITOR’S CHOICE This is a straightforward tool for transferring files via TFTP protocol. It’s lightweight, easy to use, and ideal for network device configurations.
- TFTPD64 A package of useful network monitors that includes a DHCP server monitor, a DNS monitor, and a Syslog server as well as a TFTP server software.
- haneWIN TFTP server 32-bit and 64-bit TFTP server for Windows environments that can be restricted in operations to IP address or directory.
- Pinkie A bundle of tools delivered in a tabbed interface that runs on Windows systems and includes a TFTP server.
- SolarWinds Free TFTP server This tool runs on Windows and includes an IP-range lock-down and can transfer files up to 4GB in size.
- atftpd Linux command-line utility that is fast at transferring files but has no inherent network security.
- tftpd-hpa Straightforward Linux command line TFTP system.
- macOS TFTP server Simple command line TFTP server for macOS.
What is TFTP?
TFTP stands for Trivial File Transfer Protocol. It is a simple file transfer protocol that is commonly used in computer networking environments. TFTP is a stripped-down version of the File Transfer Protocol (FTP) and is designed to be lightweight and easy to implement.
It operates on UDP (User Datagram Protocol) port 69 and does not require authentication or encryption.
The protocol is not capable of allowing more advanced functionality but compensates by using the lockstep method of fault-tolerance that makes it extremely reliable. Due to this limited functionality, TFTP servers can have an extremely small footprint on the disk as well as in memory, making it ideal for use in embedded network devices.
Caution: TFTP has zero security. There is no concept of user accounts so anyone will be able to connect to your TFTP server. Ensure your server machine is secured in some other way such as with a firewall or by limiting the network interfaces the server listens on.
Linux is far and away the most common operating system on the type of devices where you’re likely to encounter a TFTP server. But, there is also a rich ecosystem of Windows and macOS devices that run device firmware (think Apple TVs and Microsoft Surface for a few examples).
See also:
- Best SCP servers
- Best SFTP servers
The Best Free Windows TFTP server software
Our methodology for selecting free TFTP server software
We reviewed the market for free TFTP servers and analyzed the options based on the following criteria:
- A lightweight program that can be integrated into task automation scripts
- A utility that can be deployed for repetitive tasks on a range of IP addresses
- A fast transmission method with low traffic overheads
- The ability to work with virtual environments
- An activity log
- Status reports on termination conditions for unattended execution
- The ability to allow many transfers to run concurrently
We also looked at reliability, ease of setup and use, sufficient documentation and support, and tool robustness in diverse industry use.
1. Windows TFTP Utility
The Windows TFTP Utility is a bare-bones TFTP server for Windows systems. It is extremely small and has almost no configuration options. On the one hand, that allows the utility to be very small and fast. On the other hand, it means that you’re unable to specify some basic configuration such as which network interface to bind.
Key Features:
- Free tool: Permanently free to use
- Low overheads: Doesn’t use much CPU capacity
- .NET utility: Available as a class that can be integrated into custom programs
- Run continuously: Start the program and let it receive files
- Request Logging: Provides a range of logging options, including to an SQL Server database.
Why do we recommend it?
Windows TFTP Utility is a free utility for Windows, but its name is a little confusing. To be clear, this isn’t a Microsoft product and it isn’t part of Windows. Rather, it is a third-party enthusiast-developed tool that can be installed on Windows. The big advantage of this tool is that it is very basic, which is what most people want from a TFTP server.
Who is it recommended for?
This utility is only suitable for internal use on a private network because, like any TFTP system, it doesn’t include encryption. An advantage of this tool is that it has almost no features, so it is very straightforward and uses very little memory. A nice feature of this tool is that it can be included into your own programs as a function call, so administrators who like to write their own scripts will like this solution.
Pros:
- Network utility: Use only on a secure network
- No encryption: Follows the standard protocol of TFTP
- Use with network devices: Receive and store configuration images
- Firmware distribution: Use to update the firmware on switches and routers
- Assists automation: Can be integrated into task automation scripts.
Cons:
- Dated: The utility is nine years old
The small size comes from a reliance on the .NET framework. But, if you do not already have the .NET framework installed for some other application, that can result in a heavy installation footprint so this utility may not be optimal for every use-case. In addition, it comes with a .NET class that developers can use to incorporate TFTP into their own applications.
EDITOR’S CHOICE
Windows TFTP Utility is our top pick for a TFTP server because it offers a lightweight yet powerful solution for transferring files using the Trivial File Transfer Protocol (TFTP). Its streamlined interface ensures that users, regardless of technical proficiency, can quickly set up and manage file transfers. The most important features of this tool include its exceptional speed and reliability, making it an ideal choice for network administrators who need to transfer configurations, firmware, or boot files to routers, switches, and other network devices. Unlike many alternatives, Windows TFTP Utility supports large file transfers and can handle multiple simultaneous connections, making it versatile for both small-scale and enterprise-level applications. The utility also excels in security. It offers customizable access controls, ensuring only authorized devices can access sensitive files. Additionally, its minimal resource footprint allows it to run efficiently on older systems or in constrained environments, which is crucial for IT teams managing diverse networks. Moreover, its comprehensive logging capabilities aid in monitoring and troubleshooting transfers, providing insights into failed or successful operations. Although this utility won’t help users of macOS or Linux, the Windows TFTP Utility is a solid, free tool that implements the Trivial File Transfer Protocol well.
OS: Windows
2. TFTPD64
Tftpd64 is a free TFTP server for Windows. The utility also includes a TFTP client, a DNS server, a DHCP server, and a Syslog server. There is also a SNTP receiver in the package to coordinate with the Simple Network Time Protocol.
Key Features:
- Made for Windows: For 64-bit architecture PCs
- Multiple functions: The utility provides both TFTP client and server programs
- Small footprint: Uses few system resources
Why do we recommend it?
TFTPD64 is a package of utilities that includes a TFTP client and a TFTP server. You also get a DHCP server and log management functions in this handy free tool.
It is not only a sleek TFTP server but also bolts on some other features. The list of additional features includes a DHCP server, a DNS server, SNTP (time) server, and a Syslog server, so it will help you manage your IP addresses as well.
Who is it recommended for?
The network administrators of small businesses will enjoy using this utility because it provides a string of useful tools in one interface. Larger networks will need more sophisticated tools.
Pros:
- Other utilities: The tool also provides log management functions and a DNS server
- Syslog: Collects Syslog messages
- Windows utility: Not a command line system
Cons:
- Windows only: No version for macOS or Linux
It’s pretty difficult to come up with a scenario where you’d need that particular set of features in a single application, but using one or two in addition to a TFTP server may fulfill some need. There is also a 32-bit version of this tool, which is called Tftpd32, which is also free to use.
3. haneWIN TFTP server
The haneWIN TFTP server is a full-featured 32-bit and 64-bit TFTP server that runs on Windows XP/VISTA/20xx (servers)/7/8/10. It breaks from the TFTP model a bit by supporting access controls, which are not natively part of TFTP. This TFTP server can restrict IP addresses to only allow downloading or uploading and access to server directories.
Key Features:
- Multiple functions: Both client and server are available
- Permanently free: Not a free trial
- Small footprint: Uses few system resources
Why do we recommend it?
The haneWIN TFTP server is a slight improvement on the traditional TFTP server because it adds access control to its procedures and can restrict the IP addresses that it will deal with, which goes some way to reducing the risk of intruder manipulation of the file transfer process.
Who is it recommended for?
Network administrators will appreciate the ability to integrate this TFTP server into a script. That opens up the possibility to include file verification processes and other security measures to strengthen the security of networks using TFTP.
Pros:
- Made for Windows: Available for 32-bit and 64-bit PCs
- Other utilities: Includes a DHCP server
- Activity logging: Records all events
Cons:
- Windows only: No versions for macOS or Linux
An interesting feature is that it can also be run completely on the command-line which makes it very useful for scripted actions. It also includes a TFTP client that runs as a DLL. HaneWIN Software also produces a DHCP server that has an integrated TFTP server.
4. Pinkie
Pinkie is a free Windows-based network monitoring toolset. The different tools in the utility are accessed through tabs at the top of the main dashboard panel of the user interface. This useful little bundle from IPUptime also includes a DNS server, Ping, and Traceroute. The Pinkie TFTP Server just listens. It will pick up any messages sent to its host on port 69.
Key Features
- Multi-function utility: Includes network testing Ping and Traceroute services
- TFTP server: Receives files sent by devices on the network
- No encryption: Only for use within a secure network
Why do we recommend it?
Pinkie is a bundle of useful tools and in many ways, it is very similar to TFTPD64. Both of these systems are free and run on Windows. The main tool at the heart of Pinkie is its Ping implementation, which tests connection conditions. Unlike TFTPD64, there is no TFTP client in this package. However, its TFTP server is respectable and fuss-free.
Who is it recommended for?
This TFTP server is a suitable tool for small networks. A little extra security in the tool would be nice. However, TFTP is an insecure protocol and that isn’t Pinkie’s fault.
Pros:
- Two way: Send and receive files
- Other functions: Subnet calculator, port scanner, and DNS server
- Multi-threaded architecture: Fast transfers
Cons:
- Windows only: Not available for macOS or Linux
The settings for the server can be altered through another tabbed window that can be called up from the top menu. It will overlay the server, so you don’t need to turn it off to access the configuration system. This tool is straightforward and easy to use.
5. SolarWinds TFTP Server
The TFTP Server software offered by SolarWinds is a 100% free version that runs on Windows only. It is not an expiring trial. It offers basic functionality such as IP-range lockdown and can transfer files up to 4GB in size. It runs as a Windows service which makes it easier to manage with native Windows tools.
Key Features:
- Firmware distribution: Use within a network
- Large files: Although TFTP is usually for small file movements
- Configuration backup: Move configuration images to archive and back again
- Concurrent operations: Manage transfers to and from multiple devices simultaneously
- Reliable: Provided by a reputable brand
Why do we recommend it?
SolarWinds TFTP server is a lightweight file transfer utility, which is exactly what a TFTP server should be. This tool is a fuss-free solution and it is free to use. The program runs on Windows and Windows Server and it can be used to manage the movement of files of u to 4 GB in size, which is large for a TFTP system.
Who is it recommended for?
TFTP lacks security measures so its deployment should be used with caution. Traditionally TFTP is used to move network device images into storage and back again and this is a good use for the SolarWinds system. However, file protection needs to be considered even on a private network.
Pros:
- Maximum file size: 4 GB limit is a large allowance per file
- Constant availability: Run continuously to receive scheduled periodic transfers
- Lightweight tool: Like all TFTP systems, this tool has no encryption
- Local use: TFTP is only for use within secure networks
- Network devices: The server receives files from switches and routers
Cons:
- Made for Windows: Doesn’t run on macOS or Linux
If you only need a TFTP server, then this SolarWinds tool is very attractive. However, it is likely that you need many network monitoring and management tools and so you should also look at the Engineer’s Toolset. That package has more than 60 useful tools and it includes the TFTP server.
You can also take a look at the Small Business Network Management Bundle. That package adds on the Kiwi Syslog Server, Kiwi CatTools, and the Network Topology Mapper to the Engineer’s Toolset.
The best Free Linux TFTP servers
There are a variety of TFTP servers available for most Linux distributions. A popular one is the Advanced TFTP server that comes in a package named atftpd
. The ‘d’ at the end of many Linux packages stands for daemon, which is a Unix-like term for an application that runs in the background. A Linux daemon is akin to a Windows service.
The ATFTP server supports multicast and is multithreaded which makes it a little more flexible to deploy in non-standard network installations. Use apt-get
or yum
to install it, depending on your Linux distribution.
1. atftpd
$ sudo apt-get install atftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
atftpd
Key Features:
- Easy to install: This is a package in Linux
- Free to use: Not a free trial
- Server: Receives files from other devices
Why do we recommend it?
The atftpd system is a typical command line system that busy network administrators will enjoy. This is a “set it and forget it” utility for receiving files over TFTP and has very few features – not even a GUI interface.
You’ll find the sparse configuration file for atftpd in `/etc/default/atftpd
. Set up some quick options such as what ports to listen on, and whether to run as a daemon or via inet.d, and you’re ready to go.
$catatftpd
USE_INETD=true
OPTIONS="--tftpd-timeout300--retry-timeout5--mcast-port1758--mcast-addr239.239.239.0-255--mcast-ttl1--maxthread100--verbose=5/srv/tftp"
You’ll need a TFTP client. There are many, but the atftp
client is a quick and easy command line solution. To install it, use apt-get install atftp
. Then connect and upload a file:
$ atftp 192.168.2.146
tftp> put emptyfile
tftp> quit
We can see the emptyfile
has been uploaded to the path specified in the config file /srv/tftp
$ ls -l /srv/tftp
-rw-rw-r--1 jdw jdw 0 Nov 510:44 emptyfile
Who is it recommended for?
Network administrators with little time to fiddle with system utilities will appreciate the no-nonsense format of atftpd. There is also an associated free TFTP client available.
Pros:
- Low impact: small resource footprint
- Not encrypted: Only for use on secure networks
- Run as a daemon: Set it to run continuously
Cons:
- No GUI: Only available as a command line tool for Linux
2. tftpd-hpa
Another popular TFTP server for Linux is tftpd-hpa. Since the TFTP protocol is so simple, there are no really obvious advantages to choosing one TFTP server over another. However, due to dependencies and documentation deficiencies, sometimes one server will work better than another. If you’re unable to get atftpd working, give tftpd-hpa a try.
Key Features:
- TFTP option: An alternative to atftpd
- Small footprint: Doesn’t use many system resources
- Run continuously: A demon for receiving small files
Why do we recommend it?
The free tftpd-hpa is almost identical to atftpd. It would be difficult to recommend one over the other, so both of these command line TFTP servers for Linux are included in this list.
$ sudo apt-get install tftpd-hpa
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
xinetd
Use 'sudo apt autoremove'to remove it.
Suggested packages:
pxelinux
The following NEW packages will be installed:
tftpd-hpa
You’ll find the configuration file in /etc/default/tftpd-hpa
:
$ cat /etc/default/tftpd-hpa
#/etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/var/lib/tftpboot"
TFTP_ADDRESS=":69"
TFTP_OPTIONS="--secure"
Modify the settings as desired, then startup the server using sudo service tftpd-hpa restart
.
Who is it recommended for?
This TFTP server doesn’t have an associated TFTP client. So, that probably puts this tool in second place behind atftpd. However, if you are having trouble with that other recommended free TFTP server for Linux, try this one.
Pros:
- Encryption-free: Follows the TFTP specification and doesn’t manage encryption
- Limited use: Only for use on a secure private network
- Command line tool: No GUI interface
Cons:
- Not user-friendly: The command line system will only appeal to system administrators
The best macOS TFTP server
1. macOS TFTP server
macOS has a built-in TFTP server that won’t be loaded by default. The easiest way to get it running is to simply type:
sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist
Then, provide your password when prompted. You can use something like netstat to confirm it is running:
$ netstat -n | grep *.69 udp4 0 .69 .* udp6 0 .69 .*
The TFTP server is now running on port 69 waiting for connections. You can use any TFTP client to connect to the server and upload or download files. To shut down the TFTP server, simply use the unload
command:
sudo launchctl unload -F /System/Library/LaunchDaemons/tftp.plist
Key Features:
- Made for Macs: Only available for macOS
- Already on your Mac: You just have to activate it
- Free forever: Not a free trial
Why do we recommend it?
The macOS TFTP server is built into the macOS operating system. It doesn’t have a GUI, so you need to open a Terminal window to launch it. This is a no-frill receiver of files through the TFTP system.
Who is it recommended for?
Network administrators that use a Mac for managing the system will turn to this command line tool as a first choice.
Pros:
- A rare tool: There aren’t many TFTP programs available for macOS
- Command line: No GUI interface
- Low impact: Doesn’t use many system resources
Cons:
- Not for end users: This is a technician tool
Final words
Although TFTP does not incorporate any security procedures, this lack of security is not unique among networking administration systems. DHCP and the widely implemented SNMPv2 do not include security measures. Make sure you only implement TFTP on a secured private network.
TFTP Server Software FAQs
How to set up DHCP for TFTP servers list
In Linux, use the following command structure to set up a list of TFTP servers for DHCP:
config system dhcp server
edit <server ID>
set tftp-server <hostname/IP address> <hostname/IP address>
next
end
Just list the IP addresses of your TFTP servers separated by spaces.
How to find my TFTP server IP{ address
On Windows, in a command prompt window, issue the command:
netstat -an|more
On Linux, the command is:
netstat -an|grep 69
TFTP uses UDP port 69, so look for an entry in the results list that uses that port in order to identify the IP address of your TFTP server. The relevant line in the results list will be
udp <IP address>:69
How do I copy my router settings to a TFTP server?
Make sure that your TFTP server is running then connect to the device through SSH.
- Issue the command copy running-config tftp
- Enter the IP address of your TFTP server when prompted.
- Enter a file name where the configuration will be saved when prompted.
The extract will take place.
Why does my Linux system fail to network boot with TFTP errors?
A failure for Linux to load could be due to the kernel in the netboot image being incompatible with the kernel module packages due to a patch. Another reason could be insufficient base memory making the install process hang indefinitely or fall over.
Tftpd64 |
The industry standard
|
Tftpd64 is a free, lightweight, opensource IPv6 ready application which includes DHCP, TFTP, DNS, SNTP and Syslog servers as well as a TFTP client.
The TFTP client and server are fully compatible with TFTP option support (tsize, blocksize and timeout), which allow the maximum performance when transferring the data.
Some extended features such as directory facility, security tuning, interface filtering; progress bars and early acknowledgments enhance usefulness and throughput of the TFTP protocol for both client and server.
The included DHCP server provides unlimited automatic or static IP address assignment.
Tftpd64 is also provided as a Windows service.
Tftpd32 is the same application compiled as a 32 bits application.
TFTP Servers is a piece of software that every network admin and engineer will use one day or another, so we’ve come up with a list of the Best free TFTP server software along with direct links to download them from.
What is TFTP used For?
TFTP, Trivial File Transfer protocol, is a file transfer protocol is used for transferring small files using UDP across networks, preferably LAN’s, as UDP is a connection-less protocol with no confirmation of packets received/sent.
The use of TFTP is very prevalent with Network Engineers who are constantly working and monitoring Cisco switches and routers and other brands that offer the ability to upgrade, backup and save config files and OS firmware via trivial file transfer servers.
Grab one of the downloads below and get it setup to use in your network immediately, most are FREE or very affordable.
These TFTP Servers will work on almost all versions of Windows, including Windows 10, Windows 8/8.1, Windows 7, Windows 2008 Server, Windows 2012 & 2016 Server.
Related Posts:
Best SFTP Servers & Tools
Best File Server Monitoring Software
Here’s a List of Free TFTP Servers:
-
- TFTPD32
- haneWin
- OpenTFTP Server (SourceForge)
- WinAgents TFTP
- WhatsUp Gold TFTP
- Spiceworks
- SolarWinds TFTP Server
There is no particular order of the list below and we’ll update as more software is available. If you have any recommendations, please feel free to send us an email and we’ll add the software to the list.
— As the Internet expands to include more users, it becomes essential to tap into different types of media to garner the attention of people from varying walks of life. While some people are avid readers who wouldn’t mind reading a 5000-word article, others may be visual learners who’d prefer to watch a video, listen to a podcast, or look through images and infographics to learn. These varying requirements have made it necessary to transfer or share large files. Remember, your video and animation files can take up a ton of space when compared to a text or audio file. In turn, you need the right tools to send, transfer, or share large files. The Best Ways to Transfer, Send or Share Large Files Here are 6 different ways to transfer, send, or share large files. Pick the one that works best for you. Upload to the Cloud UDP solutions Ship… See Full Review
— TFTPD32 is free, open-source TFTP server that is also includes a variety of different services, including DHCP, TFTP, DNS, and even syslog and functions as a TFTP Client as well. TFTPD32 also comes as a x64 version that gets installed as a windows service. This server is fully compatible with all the TFTP option support including tsize, blocksize and timeout to give you the best performance when transferring files back and forth. Official Site and Download Links Check out the official site for more information: http://www.tftpd64.com/ See Full Review
— haneWin TFTP Server is a tiny trivial File transfer server that has all the bells and whistles of a expensive paid variation — We dive into the Features & More! See Full Review
— SCP Servers help you transfer files to and from servers, computers and other networking devices using a secure-tunnel via SSH. Secure Copy, or SC in short, is a network protocol that supports file transfers between hosts on the same network. It is based on the BSD RCP protocol and uses a secure shell (SSH) to transfer data. It also uses the same process for authentication, and this makes the data transfer both secure and confidential. SCP is mostly used by IT administrators to copy files between servers and networking devices. It is installed in places where users connect to download or upload files. Since it is a popular component, it is available for Linux, Windows and Mac OS. Methodology for selecting the Best SCP Server Software SCP Server Software provides a secure, reliable, and efficient way to transfer files between computers. This type of software is especially important for organizations… See Full Review
— SFTP Servers is a popular Secure File transfer protocol that is one of the most popular protocols for file transfers. Over the last few years, secure versions of FTP called SFTP and FTPS have come up and replaced FTP due to its added layer of security. FTPS is File Transfer Protocol Secure that negotiates through an encrypted TLS tunnel to transfer data. On the other hand, SFTP is not really a FTP server, rather it is an SSH server that also understands FTP commands. As a result, SFTP prevents the unencrypted transfer of login credentials and at the same time, it also generates a unique identifier that has to be transmitted back from the client to complete the transfer. Due to these measures, you can rest assured that your file transfers will be safe with SFTP. Here is our list of the best SFTP Servers: Files.com — FREE TRIAL A… See Full Review
— OpenTFTP Server from SourceForge is a small command-line utility for transferring files over Trivial FTP and has quite a bit of popularity amongst SourceForge users — But its fairly outdated now and we only recommend it to power users who are 100% comfortable with using command-line to send/receive files and firmware. See Full Review
— WinAgents TFTP server offering is a another great solution that will help you transfer files over trivial file transfer protocol and has the added functionality of permissions assignment by IP Address and also multi-threaded support. See Full Review
— WhatsUp Gold by Progress (formerly IpSwitch) has a small Free Trivial File Transfer Server utility that is great for getting small files back and forth to switches and firewalls as needed. They provided a great little GUI that is easy to use and has all the features that many of the others have above. Grab a free Download from the link below! See Full Review
— Spiceworks provides a TFTP feature in their Tools that performs many of the features you would need when moving files and transferring them. They have a simple command line tool that gives you the flexibility you need to get the job done. See Full Review
Сегодня в Интернете используется большое количество протоколов передачи файлов (File Transfer Protocols (FTP)). Одним из наиболее простых и, следовательно, наиболее широко используемых для передачи отдельных файлов низкого уровня, является Trivial FTP или Trivial File Transfer Protocol (TFTP). В этой статье мы рассмотрим 10 лучших TFTP-серверов для систем Windows и Linux.
TFTP имеет решающее значение для поддержки исправлений и конфигураций встроенных устройств и будет существовать еще долгое время. Данный протокол часто встречается в таких устройствах, как маршрутизаторы, медиа-стримеры и мобильные телефоны. Это основной способ, которым файлы микропрограммного обеспечения отправляются на эти устройства для обновления или исправления. TFTP не подходит для использования через Интернет из-за недостаточной безопасности. FTP более распространен для использования через Интернет, и более безопасный SFTP становится все более популярным для безопасной передачи файлов через Интернет.
Что такое TFTP?
Текущие сеансы FTP поддерживают много разных команд. При входе на FTP-сервер пользователи обычно могут просматривать, удалять, переименовывать, загружать в интернет или скачивать файлы и изменять каталоги. Напротив, TFTP предлагает только возможность загружать или скачивать файл и использует UDP поверх IP вместо более стандартного стека TCP/IP. Протокол не способен предоставлять более продвинутые функциональные возможности, но компенсирует это с помощью метода жесткой конфигурации, который делает его чрезвычайно надежным. Из-за этой ограниченной функциональности серверы TFTP могут занимать очень мало места на диске и в памяти, что делает его идеальным для использования во встроенных устройствах.
Предостережение: TFTP имеет нулевую безопасность. Учетных записей пользователей не существует, поэтому любой сможет подключиться к вашему TFTP-серверу. Убедитесь, что ваш сервер защищен каким-либо другим способом, например, с помощью брандмауэра или путем ограничения сетевых интерфейсов, которые слушает сервер.
Linux, безусловно, является самой распространенной операционной системой на тех устройствах, где вы можете встретить TFTP-сервер. Но есть также богатая экосистема устройств Windows и macOS, которые работают со встроенной программой (например, Apple TV и Microsoft Surface).
Ниже приведен список 10 лучших TFTP серверов:
-
Ссылка скрыта от гостей
- Windows TFTP utility
- TFTPD32
- WhatsUp бесплатный TFTP сервер
- haneWIN TFTP сервер
- WinAGents
- Spiceworks TFTP
- atftpd
- tftpd-hpa
- macOS TFTP сервер
Лучшие бесплатные TFTP сервера для Windows:
Ссылка скрыта от гостей
Сервер TFTP, предлагаемый
Ссылка скрыта от гостей
, является 100% бесплатной версией, которая работает только под Windows. Он не является лишь временной пробной версией. Он предлагает базовую функциональность, такую как блокировка IP-диапазона, и может передавать файлы размером до 4 ГБ. Он работает как служба Windows, что облегчает управление с помощью собственных инструментов Windows.
2. Windows TFTP Utility
Ссылка скрыта от гостей
— это простой TFTP-сервер для Windows. Он очень маленький и практически не имеет опций конфигурации. С одной стороны, это позволяет утилите быть очень маленькой по размеру и быстрой в работе. С другой стороны, это означает, что вы не можете указать некоторую базовую конфигурацию, например, какой сетевой интерфейс привязать. Небольшой размер обусловлен опорой на .NET Framework. Но если у вас еще не установлен .NET framework для какого-либо другого приложения, это может привести к значительным проблемам в установке, поэтому эта утилита может не всегда подходить для каждого варианта использования.
Кроме того, он поставляется с классом .NET, который разработчики могут использовать для включения TFTP в свои собственные приложения.
3. TFTPD32
Ссылка скрыта от гостей
— чрезвычайно популярный TFTP-сервер с открытым исходным кодом для Windows. Это не только довольно удобный TFTP-сервер, но он также имеет и некоторые другие функции. Список дополнительных функций включает в себя DHCP-сервер, DNS-сервер, SNTP сервер и сервер системного журнала, поэтому он также поможет вам управлять вашими IP-адресами. Довольно сложно придумать сценарий, в котором вам понадобится конкретный набор функций в одном приложении, но, тем не менее, использование одного или двух в дополнение к серверу TFTP может удовлетворить некоторые потребности.
И не волнуйтесь, есть и 64-битная версия.
4. WhatsUp бесплатный TFTP сервер
Ссылка скрыта от гостей
является продуктом от IPSwitch. Сервер TFTP предназначен для сетевых инженеров, которым просто нужно доставлять файлы туда, где они должны находиться, с наименьшим беспокойством. WhatsUp – это полностью бесплатный инструмент, а не временная пробная версия. На бесплатном сервере WhatsUp TFTP практически нет документации, поэтому трудно определить, для каких вариантов использования данный сервер лучше всего подойдет.
5. haneWIN TFTP сервер
Ссылка скрыта от гостей
— это полнофункциональный 32- и 64-разрядный TFTP-сервер, работающий под Windows XP / VISTA / 20xx (серверы) / 7/8/10. Он немного отличается от модели TFTP, поддерживая средства управления доступом, которые изначально не являются частью TFTP. Этот TFTP-сервер может ограничивать IP-адреса, чтобы разрешить только загрузку в интернет или скачивание и доступ к каталогам сервера. Интересной особенностью является то, что он также может быть запущен полностью из командной строки, что делает его очень полезным для действий сценария. Он также включает в себя клиент TFTP, который работает как DLL. Программное обеспечение HaneWIN также создает
Ссылка скрыта от гостей
, который имеет встроенный сервер TFTP.
6. WinAGents
Ссылка скрыта от гостей
, работающий на платформе: Windows 2000 (сервер), XP, 2003 (сервер), Vista, Windows 7 и 2008 (сервер). Он также поддерживает 64-битные платформы, хотя и делает это при запуске 32-битной службы. Он имеет некоторые ограниченные средства управления доступом, такие как доступ к файлам на основе IP, и использует только один порт UDP, что упрощает обработку уже за брандмауэром. Очень полезная функция WinAgents — поддержка виртуальных папок с файлами. Это означает, что вы можете создавать папки, которые кажутся существующими для пользователей TFTP, но не обязательно должны существовать на диске сервера. Эта функция может упростить организацию файлов, что является довольно распространенной проблемой в традиционном TFTP.
7. Spiceworks TFTP сервер
Ссылка скрыта от гостей
ориентирован на управление сетью. Поддержание всех ваших устройств в актуальном состоянии, а также обеспечение стандартной конфигурации всей организации для каждого маршрутизатора и коммутатора может быть довольно затруднительным. Сервер Spiceworks TFTP может помочь поддерживать на всех ваших устройствах текущую прошивку и настройки с минимальными усилиями с вашей стороны. Одной из дополнительных функций Spiceworks является возможность параллельного сравнения конфигураций сети с существующими резервными копиями для быстрого обнаружения устройств, на которых установлено устаревшее программное обеспечение. Подобные мелкие исследования помогут быстро выявить подозрительное поведение в сегментах сети.
TFTP сервера для Linux
Существует множество TFTP-серверов, доступных для большинства дистрибутивов Linux. Популярным является сервер Advanced TFTP, входящий в пакет с именем atftpd. ‘D’ в конце многих пакетов Linux обозначает демон (daemon), который является Unix-подобным термином для приложения, которое работает в фоновом режиме. Демон Linux сродни службе Windows. Сервер ATFTP поддерживает многоадресную передачу и является многопоточным, что делает его немного более гибким для развертывания в нестандартных сетевых инсталляциях. Используйте apt-get или yum для его установки, в зависимости от вашего дистрибутива Linux.
8. atftpd
Код:
$ sudo apt-get install atftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
atftpd
Вы найдете разреженные (неполные) файлы конфигурации для atftpd в /etc/default/atftpd
. Установите несколько быстрых опций, например, таких как: какие порты прослушивать и запускать ли их как демон или через inet.d
, и после этого вы готовы к работе.
Код:
$ cat atftpd
USE_INETD=true
OPTIONS="--tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose=5 /srv/tftp"
Вам понадобится клиент TFTP. Их много, но клиент atftp — это быстрое и простое решение для командной строки. Для установки используйте apt-get install atftp
. Затем подключитесь и загрузите файл:
Код:
$ atftp 192.168.2.146
tftp> put emptyfile
tftp> quit
Мы можем видеть, что emptyfile был загружен по пути, указанному в файле конфигурации /srv/tftp
Код:
$ ls -l /srv/tftp
-rw-rw-r-- 1 jdw jdw 0 Nov 5 10:44 emptyfile
9. tftpd-hpa
Другим популярным TFTP-сервером для Linux является tftpd-hpa. Поскольку протокол TFTP очень прост, нет очевидных преимуществ выбора одного TFTP-сервера перед другим. Однако, из-за зависимостей и недостатков документации иногда один сервер будет работать лучше, чем другой. Если вам не удалось настроить atftpd, попробуйте tftpd-hpa.
Код:
$ sudo apt-get install tftpd-hpa
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
xinetd
Use 'sudo apt autoremove' to remove it.
Suggested packages:
pxelinux
The following NEW packages will be installed:
tftpd-hpa
Вы найдете файл конфигурации по следующему адресу /etc/default/tftpd-hpa
:
Код:
$ cat /etc/default/tftpd-hpa
#/etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/var/lib/tftpboot"
TFTP_ADDRESS=":69"
TFTP_OPTIONS="--secure"
Измените настройки по своему усмотрению, затем запустите сервер с помощью sudo service tftpd-hpa restart
10. macOS TFTP сервер
В macOS есть встроенный TFTP-сервер, который по умолчанию загружаться не будет. Самый простой способ запустить его — просто набрать sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist
и указать свой пароль при появлении запроса. Вы можете использовать что-то вроде netstat, чтобы убедиться, что он работает:
Код:
$ netstat -n | grep *.69
udp4 0 .69 .*
udp6 0 .69 .*
Сервер TFTP теперь работает на порту 69, ожидая соединения. Вы можете использовать любой TFTP-клиент для подключения к серверу и загрузки в интернет файлов или их скачивания. Чтобы выключить сервер TFTP, просто используйте команду unload:
Код:
sudo launchctl unload -F /System/Library/LaunchDaemons/tftp.plist
Подведем итог
Хотя TFTP не включает в себя никаких процедур безопасности, это отсутствие безопасности не является уникальным среди систем сетевого администрирования.
DHCP
и широко распространенный
Ссылка скрыта от гостей
не включают в себя необходимые меры безопасности. Убедитесь, что вы используете TFTP только в защищенной частной сети.
Перевод: Анна Давыдова
Источник:
Ссылка скрыта от гостей
В этой статье мы рассмотрим процесс установки и настройки TFTP сервера в операционной системе Windows. Протокол TFTP (Trivial File Transfer Protocol) представляет собой упрощенный протокол передачи файлов, обеспечивающий простую возможность загрузки и скачивания. Обычно он используется для таких задач, как сетевая загрузка (PXE), установка операционных систем по сети, обновление прошивок сетевого оборудования и другие специфичные задачи. TFTP отличается своей простотой и высокой производительностью при передаче файлов, однако в нем отсутствуют средства защиты и аутентификации.
Основные характеристики TFTP
TFTP работает по порту 69 (UDP) и не предоставляет средств для управления и безопасности. Его основное преимущество — это простота реализации клиентской части и высокая производительность при передаче крупных файлов.
Запуск TFTP сервера в Windows
Для быстрого развертывания TFTP сервера в Windows часто используют бесплатную утилиту Tftpd64 (или Tftpd32), которая является open-source решением. Эту утилиту можно скачать в виде portable версии или в виде установочного пакета.
Шаги по настройке Tftpd64:
1. Скачайте и запустите исполняемый файл tftpd64.exe.
2. В интерфейсе Tftpd64 перейдите на вкладку Tftp Server и нажмите кнопку Settings.
3. Выберите каталог, который вы хотите опубликовать, и установите TFTP Security в положение None.
4. После изменения настроек перезапустите программу.
5. Откройте в Windows Firewall порт 69/UDP для входящего трафика TFTP. Для этого можно создать разрешающее правило с помощью PowerShell:
New-NetFirewallRule -DisplayName 'TFTP-UDP-In' -Direction Inbound -Action Allow -Protocol UDP -LocalPort 69
Теперь сервер готов к подключению для загрузки или скачивания файлов по TFTP.
Использование Tftpd64 в качестве TFTP клиента
Tftpd64 также можно использовать как TFTP клиент. Для этого перейдите на вкладку Tftp Client, укажите IP-адрес TFTP сервера и порт подключения (по умолчанию 69). Теперь вы можете:
— Скачать файл с сервера (Get);
— Загрузить файл на сервер (Put).
Для просмотра логов подключений перейдите на вкладку Log Viewer.
Установка TFTP клиента в Windows
По умолчанию клиент TFTP не установлен в Windows. Для установки в Windows 10 или 11 можно использовать следующую команду PowerShell:
Enable-WindowsOptionalFeature –FeatureName TFTP -Online
Для установки клиента TFTP на Windows Server используется другая команда:
Install-WindowsFeature TFTP-Client
После установки вы сможете использовать утилиту tftp.exe для передачи файлов по TFTP.
Примеры команд:
— Передать файл на TFTP сервер:
tftp 192.168.1.100 PUT имя_файла.txt
— Скачать файл с TFTP сервера:
tftp 192.168.1.100 GET имя_файла.txt
Установка встроенного TFTP сервера в Windows Server
В операционной системе Windows Server доступен встроенный TFTP сервер, который является частью роли WDS (Windows Deployment Services). Он используется для сетевой загрузки (PXE) и установки Windows по сети.
Шаги по установке:
1. Откройте Server Manager и выберите Add Roles and Features Wizard.
2. Установите роль Windows Deployment Services (WDS).
3. В настройках WDS выберите компонент Transport Server.
4. После завершения установки создайте каталог для файлов TFTP сервера (например, C:\tftp).
5. Укажите путь к корневому каталогу TFTP сервера в параметре реестра RootFolder:
HKLM\SYSTEM\CurrentControlSet\services\WDSServer\Providers\WDSTFTP
6. В параметре ReadFilter можно задать каталоги, из которых разрешена загрузка файлов. По умолчанию разрешена загрузка только из каталогов \boot\ и \tmp\. Чтобы разрешить загрузку из других каталогов, добавьте их в этот параметр или установите значение \* для всех каталогов.
Запуск TFTP сервера:
1. Запустите службу WDS с помощью команды:
Get-Service WDSServer | Start-Service
2. Настройте автоматический запуск службы:
Set-Service WDSServer -StartupType Automatic
3. Проверьте, что служба запущена и ожидает подключения на порту UDP 69:
Get-Process -Id (Get-NetUDPEndpoint -LocalPort 69).OwningProcess
4. Убедитесь, что правило брандмауэра для доступа к порту UDP 69 включено:
(Get-NetFirewallRule -DisplayName 'Windows Deployment Services (UDP-In)').Enabled
Пример использования встроенного клиента:
Попробуйте скачать файл с TFTP сервера с помощью встроенного клиента tftp.exe:
tftp -i 192.168.158.10 GET test.zip
Основным недостатком встроенного TFTP сервера в Windows Server является невозможность открыть папку для записи. Это означает, что клиенты могут только скачивать файлы с такого TFTP сервера, но не загружать их.
Заключение
В статье мы рассмотрели процесс установки и настройки TFTP сервера в Windows, используя как сторонние решения, так и встроенные возможности Windows Server. TFTP — это простой и производительный протокол, часто используемый для загрузки прошивок, обновления сетевого оборудования и PXE загрузки операционных систем. Несмотря на свою простоту, TFTP имеет ряд ограничений, таких как отсутствие защиты и невозможность записи файлов на встроенном сервере Windows Server.