Hello. I configure access from the WAN to the FTP server, which is located in a local network. Its IP 192.168.0.65
-Freebsd 9.3 gateway. Firewall -pf
In pf.conf add
When connecting Filezilla: Error: Data connection can not be established: ECONNREFUSED - Connection refused by server
From local network all works. What could be the Problem?
-Freebsd 9.3 gateway. Firewall -pf
In pf.conf add
Code:
rdr pass on $ext_if proto tcp from any to port 20 -> 192.168.0.65 port 20
rdr pass on $ext_if proto {tcp,udp} from any to port 21 -> 192.168.0.65 port 21
rdr pass on $ext_if proto {tcp,udp} from any to port 5500:5520 -> 192.168.0.65 port 5500:5520
pass quick on $int_if proto {tcp,udp} from any to 192.168.0.65 port 21 keep state
pass quick on $int_if proto {tcp,udp} from any to 192.168.0.65 port 20 keep state
pass quick on $int_if proto {tcp,udp} from any to 192.168.0.65 port 5500:5520 keep state
When connecting Filezilla: Error: Data connection can not be established: ECONNREFUSED - Connection refused by server
From local network all works. What could be the Problem?