-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TFTP transfer fails #1810
Comments
|
tftp-proxy itself is part of the base system (/usr/libexec/tftp-proxy), but we don't offer gui support for it or provide the necessary parts in our pf ruleset. I anyone wants to add support, the approach to make a plugin for it would be very similar to the ftp-proxy plugin already in our repository. |
|
Thanks for your reply. |
|
Are there any plans to add support for tftp-proxy to the OPNsense down the road? I was looking at starting to use this software, but tftp proxy is something I need since I use SIP phone and they get their firmware updates from a remote network over tftp. |
|
is there any way how to add custoom rules? I'm not able to gemerate the required ruleset |
|
yes, can be done via plugins.inc.d e.g.: https://github.com/opnsense/plugins/blob/master/net/relayd/src/etc/inc/plugins.inc.d/relayd.inc#L40-L46 |
|
@fichtner thanks, all I need is to place a file there or should be somehow registered ? |
|
place a file tftp.inc there, add tftp_firewall() function with the anchors. it will be picked up automatically, requiring a single firewall reload. |
|
great works |
|
if there will be time I will write regular plugin ;) |
|
@hudecof would you mind posting the contents of the tftp.inc file you created? I'm not quite following what all was needed by fichtner's "add tftp_firewall() function with the anchors". Even if its not a plugin or gui option, a manually way to enable tftp would be great. Thanks! |
the rest is done by generic Portforward rules nad manual editing of the inetd.conf |
|
I took the ftp-proxy filename and removed all stuff except the firewall rules. |
Hello,
TFTP transfer fails when going through OPNsense. It seems like tftp-helper is missing as initial communication with port 69 succeeds but transfer which uses high ports fails.
On freebsd there is tftp-proxy which helps overcome this problem.
On opnsense repo haven't seen it there is only ftp-proxy.
Any help on this please?
Thanks.
Regards,
Kaviraj
The text was updated successfully, but these errors were encountered: