Windows Firewall and non-secure FTP traffic Rule for firewall

Posted by Bhushan G Ahire | Posted in Amazon EC2 | Posted on 13-05-2010

0

Windows firewall can be configured from command line using netsh command. 2 simple steps are required to setup Windows Firewall to allow non-secure FTP traffic

1) Open port 21 on the firewall

netsh advfirewall firewall add rule name=”FTP (no SSL)” action=allow protocol=TCP dir=in localport=21

2) Activate firewall application filter for FTP (aka Stateful FTP) that will dynamically open ports for data connections

netsh advfirewall set global StatefulFtp enable

Hope this information is helpful for you….

Write a comment

You must be logged in to post a comment.