just installed TFTP plugin on OPNsense 22.7.9_3-amd64
listen addr: 127.0.0.1
enable
and save
service is not starting
logmsg:
Notice root /usr/local/etc/rc.d/tftpd: WARNING: failed to start tftpd
You need to create the working directory. Why do you set localhost?
thanks, I've created this directory and placed a file 'test' into it
IPaddr is the internal IP of my fw. service has started.
I logged into a rpi, which has an ip of the internal net.
follwing test:
tftp <ip_of_int_fw>
tftp> status
Connected to <ip_of_int_fw>
Mode: netascii Verbose: off Tracing: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp> get test
Transfer timed out.
tftp> quit
in opnsense logfile:
tftpd: read(ack): Connection refused
fw rule: pls. see attachment
If the tftp service listens to 127.0.0.1 only - instead of e.g 0.0.0.0 - you won't reach it from outside.
i put 0.0.0.0 into listen address instead of the internal ip fw address.
same result:
tftp> status
Connected to <myintfwip>
Mode: netascii Verbose: off Tracing: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp> get test
Transfer timed out.