Q

Adding new applications in Windows Firewall

Learn how to add new applications in Windows Firewall using port 21.

In Windows Firewall, how would I add new applications named "FTP" using "TCP" port 21?
You can accomplish this by opening the Windows Firewall from the control panels and then selecting the Exceptions tab. Click the Add Port button, give the service a friendly name such as FTP, type 21 in the port field and select TCP from the radio buttons. Click OK until you are out of the Windows Firewall dialog. This change should take effect immediately; you will not need to restart your computer.

Alternatively, you can use RegEdit to make this change on your computer or on a remote computer. (You will need administrative rights to do this.)

  1. Open RegEdit on the PC to which you're logged on.
  2. Connect to the remote PC if desired.
  3. Navigate to the following key:
  4. HKEY_LOCAL_MACHINESYSTEM/CurrentControlSet/Services
    /SharedAccess/Parameters/FirewallPolicy/DomainProfile
    /GloballyOpenPorts/List

  5. Create a new string (REG_SZ) value. Name it 21:TCP
  6. Give it the following value: 21:TCP:*:Enabled:FTP
  7. Close RegEdit.

Note that the Registry entry as defined above will permit FTP access to that workstation from all IP addresses (as indicated by the asterisk).

This was first published in October 2007

Dig deeper on Network intrusion detection and prevention and malware removal

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchVirtualDesktop

SearchWindowsServer

SearchExchange

Close