This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
сервис_тftp [2021/07/21 12:33] admin |
сервис_тftp [2024/06/19 10:19] (current) val [atftpd] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Сервис ТFTP ====== | ====== Сервис ТFTP ====== | ||
- | * [[https://unix.stackexchange.com/questions/579508/iptables-rules-to-forward-tftp-via-nat|iptables rules to forward tftp via NAT]] | ||
===== Client ===== | ===== Client ===== | ||
Line 10: | Line 9: | ||
</code> | </code> | ||
- | ===== Debian10 ===== | + | ===== Debian/Ubuntu ===== |
==== atftpd ==== | ==== atftpd ==== | ||
Line 17: | Line 16: | ||
# apt install atftpd tcpd | # apt install atftpd tcpd | ||
- | # mkdir /srv/tftp | + | # mkdir /srv/tftp/rw |
+ | |||
+ | # chown nobody:nogroup /srv/tftp/rw | ||
+ | |||
+ | ubuntu24# systemctl stop atftpd.socket; atftpd --daemon /srv/tftp | ||
</code> | </code> | ||
==== tftpd ==== | ==== tftpd ==== | ||
- | Работает только на чтение | + | Работает только на чтение, не сообщает о неправильном имени файла (не годится для PXE) |
<code> | <code> |