NethServer Version: 7.7.1908
I have a Nethserver installation, behind a pfSense firewall. The nethserver has only a green network.
I have enabled vsftp from the Web Server application and left everything as default.
I’m able to use ftp from the same subnet, but when I try from the external network, passing through the pfSense the connection fails. I have redirected port 21 and the range from 30000 to 30999 to the Nethserver, using pfSense, but it seems not to be enough.
From the log I have:
Mon Dec 2 22:42:23 2019 [pid 13429] CONNECT: Client “192.168.0.99”
Mon Dec 2 22:42:23 2019 [pid 13428] [xxxxxxxxx] OK LOGIN: Client “192.168.0.99”
and nothing else, the ftp client tries to retrieve the list of files but the request times out.
I have also tried to create a template-custom/etc/vsftp/vsftp.conf/90active file, to configure vsftp in active mode, but it does not seem to work. The vsftp.conf file does not have the additional lines contained in 90active file, and in any way I would prefer the passive mode.
Is there something I need to configure on the firewall ? Or any other information I need to add to the vsftp.conf ?