Can't connect to FTP server behind pfsense
-
You also have to forward the passive port range.
-
will that be on a separate port forwarding rule?
the passive ports are the destination ports? -
Yes and yes.
-
look at the pictures of the settings, what is wrong?
![ftp server.PNG](/public/imported_attachments/1/ftp server.PNG)
![ftp server.PNG_thumb](/public/imported_attachments/1/ftp server.PNG_thumb) -
Your destination ports are wrong. You specifically asked me if the passive port assignments are for destination ports and I said Yes, then you use something totally different.
Change Destination Port Range to Custom 65000 to 65050
-
yes I tried it first but it didn't work!
any other suggestions -
The above is absolutely wrong. You need port forwards for BOTH the FTP data port AND the passive ports. What you have will never work.
-
dok is correct both your control channel (21), and your passive ports (65000 to 65050 in your screenshot) need to be forwarded.
Your also going to want to make sure your server is actually handing out the wan IP of pfsense.. Going to be pointless for the client if you hand it back your 192.168.88.44 address in the passive connection.
-
dok is correct both your control channel (21), and your passive ports (65000 to 65050 in your screenshot) need to be forwarded.
Funny, I thought I had already told him all that.
-
you did, as well as dok clearly state you need both.. And doesn't look like he has his filezilla even handing out its public IP, etc.
-
OK. For a minute there, I thought I was speaking Chinese or something.
-
the rules are already made!
it connects I see it on the log but it reaches a place where it loose the connection.
-
Dude, wrong again. WTF is 21-71?! ::) ::) ::)
(And, while here, FTP is not using UDP for anything.)
-
Fixed thanks guys.
The 21-71 is generated by the system when I chose ftp but i changed it to the ports i want.
my first time!
Come on!
;) -
same problem here
-
@sahan said in Can't connect to FTP server behind pfsense:
same problem here
Can't be.
No one fires up an FTP server any more these days. It's ancient technology.
The Internet has been obliterated by the sheer number of how-to's (setting up an FTP server behind a firewall).Btw : this thread is more then 2 years old. It should be locked.
edit : would be nice if some one woke up @doktornotor
-
Your 3 posts have been your having issues with ftp - but you have yet to get 1 detail that could actually let us help you.
Your ftp server is where? Where is your client? Are you active or passive?