Issues with ftp-proxy plugin on Multi-WAN

Started by opns_neuling, December 04, 2020, 01:32:54 PM

Previous topic - Next topic
December 04, 2020, 01:32:54 PM Last Edit: December 04, 2020, 01:34:31 PM by opns_neuling
Hello @community,

Issues with os-ftp-proxy plugin

At Opnsense HA with 2 WAN Interfaces.
Haproxy Working, no problems.

Connect to FTP
on WAN1: connect, login and file transfer posible
on WAN2: connect and login works, but   file transfer not posible
Any Hints ?
Thanks a lot

PS: configured as in the guide https://forum.opnsense.org/index.php?topic=3868.0




December 05, 2020, 03:34:16 PM #1 Last Edit: December 05, 2020, 06:33:57 PM by Fright
Hi
PORT or PASV?
If its PASV, how your backend server knows which external IP to use in pasv response?
(i think that ftp-proxy should rewrite addresses in commands. but who knows..)
even more likely - its a routes issue (may be some reply-to / route-to directives are not set by ftp-proxy in anchor rules)
connection logs + fw logs may clarify the picture