OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: namezero111111 on April 19, 2018, 05:12:00 PM

Title: MultiWAN and FTP
Post by: namezero111111 on April 19, 2018, 05:12:00 PM
Dear folks,

given a MultiWAN setup with Gateway group load balancing, there appears to be an issue with outgoing FTP where:

1. The control connection (21) is opened over GW1
2. The data connection is opened over GW2

In that case, listing the directory in passive mode fails.

Is the os-ft-proxy plugin able to handle this issue or is there a more elegant way short of configuring static data ports for FTP and forcing them into a failover group?

Thanks in advance!

Title: Re: MultiWAN and FTP
Post by: maxxer on July 19, 2018, 03:13:49 PM
Did you fix FTP with multiwan?
Title: Re: MultiWAN and FTP
Post by: mimugmail on July 19, 2018, 04:17:47 PM
FTP Proxy wont fix this since this would be a local initianted connection
Title: Re: MultiWAN and FTP
Post by: namezero111111 on July 19, 2018, 07:29:12 PM
maxxer, we setup two failover pools for subranges so that they get bound to one gateway.

Alternatively, you could try sticky connections, but that causes other issues for us relating to stalled connections (2376).
Title: Re: MultiWAN and FTP
Post by: mimugmail on July 19, 2018, 07:36:07 PM
You could try sticky connections combined with state killing after failover?
Title: Re: MultiWAN and FTP
Post by: namezero111111 on July 19, 2018, 07:38:18 PM
State killing shouldn't be necessary; states will be flushed anyway when the gateway goes down.
Title: Re: MultiWAN and FTP
Post by: maxxer on July 19, 2018, 10:30:36 PM
Quote from: namezero111111 on July 19, 2018, 07:29:12 PM
maxxer, we setup two failover pools for subranges so that they get bound to one gateway.
what do you mean exactly? two gateway groups?
Title: Re: MultiWAN and FTP
Post by: namezero111111 on July 20, 2018, 11:57:30 AM
Yes, see the attachments