
I have a Windows Server 2012 R2 that has a FileZilla Server in the IP (212.166.78.203) that I get from https://www.whatismyip.com/ I can access to this FTPServer from my computer, but not from another Windows Server 2012 R2. I guess I have to define a Firewall outbond Rule, but I don't know if it is better to do it on a Program Level or on a Port Level.
I've defined an outbond port rule but does not work,
But when I connect to the FileZilla Server using a FileZilla Client I got this error "ECONNREFUSED - Connection refused by server"
Anyway, in the protocol type I don't see the FTP protocol
I also created a Program rule for the FTP Client
anyway I don't see either the option to overwrite the other rules
Respuesta1
Since you say the machine you cannot connect via FTP with is on a completely different subnet than the FTP Server then a couple things come in mind that could need adjusted to resolve this issue as you describe so check and set either or these or both based on your needs.
From the Scope tab of the Windows Firewall rule be sure to add the additional subnet into the Remote IP address section to the These IP addresses list to tell it to also allow from these remote subnets (or IP addresses).
Please note if you expect any machine to be able to connect to this machine from the outside world or other subnets then having the Any IP address option checked here may be appropriate here as well.
From the Advanced tab of the Windows Firewall rule be sure to select the appropriate network Profile which is assigned to the applicable network adapter for the network card(s) which you want the FTP service to listen on for connections.
Further Resources
All still applicable to Windows Server 2012 R2