I've tried from different machines from LAN to DMZ. (FTP-client of Win XP, Vista and 7)
On the server I've tried ProFTPD and vsFTPd.
LAN-LAN and DMZ-DMZ FTP-connections all goes well.
I did a packet-capture on the DMZ (OPTx) interface of the pfSense-box.
Just tested on the LAN-interface of the pfSense-box…
The communication on the LAN-interface looks also comming thru
09:09:56.737775 IP 192.168.2.12.52820 > 192.168.3.13.21: tcp 27
09:09:56.738208 IP 192.168.3.13.21 > 192.168.2.12.52820: tcp 0
09:09:56.738441 IP 192.168.3.13.21 > 192.168.2.12.52820: tcp 51
09:09:56.746785 IP 192.168.2.12.52820 > 192.168.3.13.21: tcp 6
09:09:56.747982 IP 192.168.3.13.20 > 192.168.2.12.52938: tcp 0
09:09:56.786254 IP 192.168.3.13.21 > 192.168.2.12.52820: tcp 0
On the client…
331 Please specify the password.
Wachtwoord:
230 Login successful.
ftp> dir
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
You can wait, wait… wait... nothing seems to happen. (even waiting for more then 30 min.)
any-2-any rules are made on LAN as well on the DMZ interface. (just to eliminate blocking issues)
Hmmm... Just tried also to do an FTP from pfSense to the server...
[2.0.1-RELEASE][admin@fw1.[i]<mydomain>.local]/root(1): ftp server
Connected to server.<mydomain></mydomain>.local.
220 (vsFTPd 2.2.2)
Name (server:admin):<my_username></my_username>
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> dir
229 Entering Extended Passive Mode (|||26882|).
150 Here comes the directory listing.
drwx–---- 5 504 504 4096 Jan 21 17:40 Maildir
drwxr-xr-x 2 504 504 4096 Jan 21 16:47 awstats
drwxr-x--- 2 504 504 4096 Jan 21 16:47 cgi-bin
drwxr-xr-x 3 504 504 4096 Jan 21 16:47 etc
drwxr-xr-x 2 504 504 4096 Jan 21 16:47 fcgi-bin
drwxr-xr-x 2 504 504 4096 Jan 21 16:47 homes
drwxr-x--- 2 504 504 4096 Jan 21 16:47 logs
drwxr-x--- 6 504 504 4096 Jan 22 10:16 public_html
drwxr-x--- 2 504 504 4096 Jan 25 16:57 tmp
-rw-r--r-- 1 504 504 0 Jan 25 16:37 training.docx
226 Directory send OK.
ftp></mydomain>
Just found another article on google… "The DOS box FTP in Windows does NOT do passive" >:(
(and I was trying, trying and trying with the DOS box FTP)
I've downloaded the latest version of FileZilla and put it on my own PC… AND IT WORKS!!!