Accessing an FTP Server SOLVED
-
Hello all,
I don't get It :(Here is my Network:
www –-- router 192.168.33.2 -----
|
192.168.33.254
pfsense -----------------------192.168.44.1
| |
Lan1 192.168.33.0/24 |
LAN 2 192.168.44.0/25
|
FTP Server 192.168.44.200I am able to access the ftp server from my LAN1 but I think I have too many ports open.
Firewall rule at the LAN1 interface:
Proto: IPv4
Source: *
Port: *
Destination: 192.168.44.200
Gateway: *
Queue: noneIf I restrict the ports to 21 the system doesn't list the folder entries at the ftp servers,
because higher prots get blockt trough the firewall (the log shows it)
I want to access the FTP Server from the www.
The router 192.168.33.2 forwards the Port 21 to the pfsense system 192.168.33.254
but I dont't get it, how to tell pfsense to forward that port to the ftp server.I tried Firewall -> Nat -> Port Forward
IF: Interface in LAN 1 (192.168.33.254)
Port: TCP
Src. addr: *
Src. ports: 21 (FTP)
Dest. addr.: 192.168.33.2
Dest. port: 21 (FTP)
NAT IP: 192.168.44.200
NAT Ports: 21 (FTP)Could you please have a look at it and give me a hint?
Thank you



 -
I am still testing.
Now I cann connect to my ftp Server with the attached rules.The FTP Client is able to connect but doesn't show the contens of the directory.
Something is missing. :-[
 -
2.2 no longer has a ftp helper/proxy. Depending on what type of connection your doing either active or passive and what IP your ftp server gives your going to have to make adjustments to the rules.
https://doc.pfsense.org/index.php/FTP_without_a_Proxy
-
Thank you johnpoz,
that was it.
With a sftp server it works fine.Markus