Welcome! Log In Create A New Profile

Advanced

Re: Nginx reverse proxy for TFTP UDP port 69 traffic

Eric Feldhusen
March 09, 2017 08:10AM
On Mar 7, 2017, at 4:58 PM, Vladimir Homutov <vl@nginx.com> wrote:

On 08.03.2017 00:21, Eric Feldhusen wrote:

I’m trying to use Nginx to reverse proxy TFTP UDP port 69 traffic and
I”m having a problem with getting files through the nginx reverse proxy.

My configuration is simple, I’m running TFTP on one Centos 6.x server
and the Nginx reserve proxy on another Centos 6.x server with the latest
Nginx mainline 1.11.10 from the nginx.org http://nginx.org repository.

TFTP connections to the TFTP server directly work. Using the same
commands through the Nginx reverse proxy, connects, but will not
download or upload a file through it.

If you have any suggestions, I’d appreciate a nudge in the right
direction. I’m assuming it’s something I’m missing..

Eric Feldhusen


Unfortunately, TFTP will not work, because it requires
that after initial server's reply client will send packets
to the port, chosen by server (i.e. not 69. but some auto-assigned).
also, TFTP server recognizes clients by its source port and
it changes when a packet passes proxy - each packet is originating
from a new source port on proxy.


Ah, I had just started to look up specifically how TFTP connections work,
so I hadn’t seen this yet.

But that makes sense with what I was seeing. Thank you for the quick
reply, I appreciate it.

Eric Feldhusen
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx reverse proxy for TFTP UDP port 69 traffic

Eric Feldhusen March 07, 2017 04:24PM

Re: Nginx reverse proxy for TFTP UDP port 69 traffic

Vladimir Homutov March 07, 2017 05:00PM

Re: Nginx reverse proxy for TFTP UDP port 69 traffic

Eric Feldhusen March 07, 2017 05:56PM

Re: Nginx reverse proxy for TFTP UDP port 69 traffic

Eric Feldhusen March 09, 2017 08:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 173
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready