Docker の Ubuntu に TFTP サーバを建てる (失敗)

2023/04/20

Ubuntu に TFTP

Docker で TFTPサーバ

tftpは最初に69/udpで接続しますが、その後ポート番号をネゴってデータ転送するので、bridgeだとポート転送しにくい。 ので、hostネットワークに接続してしまいます。

Dockerでtftpサーバ - Qiita

ホストネットワークに接続してみる

ポートが開いているか調べる

Ubuntu のポート

iptables

services:
  hoge:
    cap_add:
      - NET_ADMIN

Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

firewalld

Docker Compose でのUDPポートの解放の仕方

UDPにしてもつながらない

telnetではUDPのポートは調べられない→PortQry

:not found/tftpd-hpa: 2: /etc/default/tftpd-hpa

windows tftp "接続要求に失敗しました"

Windows で TFTPサーバ→TFTPD64


Written by Circle
A mound built by the accumulation of hyperlinks are like Kowloon.