Re: [EXT] FTP Server in passive mode with HAProxy Frontend and Backend nodes

2022-04-17 Thread Roberto Carna
Dear all, thank you so much for your help. So I'll define my backends without the port 21, in order to hit the port that was defined in the frontend connection as Erwan said. But viewing my graph: Internet IP -- HAProxy Frontend IP -- HAProxy Backend IP -- FTP server IP What IP do I have to

Re: [EXT] FTP Server in passive mode with HAProxy Frontend and Backend nodes

2022-04-15 Thread Erwan Le Pape
 Hi Marno & Roberto, You can simply redirect to the matching frontend port by not specifying a port in the backend, it will automatically hit the same port that was used in the front-end connection. That should make for a much cleaner configuration  It's documented in section 2.5

Re: [EXT] FTP Server in passive mode with HAProxy Frontend and Backend nodes

2022-04-15 Thread Marno Krahmer
Hey Roberto, Yes, there is a misconfiguration in both config snippets that you sent: frontend Frontend_FTP bind *:21 bind *:2-20010 mode tcp option tcplog timeout client 1h default_backend HAProxy_BE backend HAProxy_BE mode tcp server HAProxy-Node-2