Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
tftp not working
« previous
next »
Print
Pages: [
1
]
Author
Topic: tftp not working (Read 1296 times)
rudiratlos63
Newbie
Posts: 24
Karma: 0
tftp not working
«
on:
December 09, 2022, 12:42:44 pm »
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
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: tftp not working
«
Reply #1 on:
December 09, 2022, 05:31:27 pm »
You need to create the working directory. Why do you set localhost?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
rudiratlos63
Newbie
Posts: 24
Karma: 0
Re: tftp not working
«
Reply #2 on:
December 10, 2022, 09:13:25 am »
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
«
Last Edit: December 10, 2022, 09:17:27 am by rudiratlos63
»
Logged
Patrick M. Hausen
Hero Member
Posts: 6812
Karma: 572
Re: tftp not working
«
Reply #3 on:
December 10, 2022, 11:15:56 am »
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.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
rudiratlos63
Newbie
Posts: 24
Karma: 0
Re: tftp not working
«
Reply #4 on:
December 10, 2022, 12:48:16 pm »
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.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
tftp not working