New Here?
My name is Nir and I'm the founder of Nbd-Tech, this blog is about things that interest me, so you can find posts on productivity, running a software company and obscure technological topics.
If you like what you read you can
subscribe to the blog feed or
follow me on twitter.
I’m writing this here because this information is hard to find, searching for related keywords will get you a lot of incorrect answers, I hope this post will save someone (maybe even me) time in the future.
Windows Firewall and non-secure FTP traffic
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
Source: This forum thread on MSDN (you have to scroll down a lot to get to the correct answer).
posted @ Wednesday, December 16, 2009 5:46 PM