Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm looking for personal firewall that has commandline interface for Windows XP. It may have a GUI, but it must have commandline interface as i have to automate the configurations.

advfirewall of win7 for example is great, but it doesn't exist on Windows XP.

share|improve this question

2 Answers 2

The Windows XP built-in firewall does not come with a command-line interface, but one can easily be written – all configuration is in the Registry, and changes to it are applied immediately. Automating the configuration might be as simple as importing a .reg file. (Active Directory has its own methods too.)


share|improve this answer
the windows xp actually has commandline interface - netsh firewall. but this firewall is not advanced enough. it's only for outgoing data. –  Alex58 Aug 15 '11 at 11:59
...For incoming data. –  grawity Aug 15 '11 at 12:24

There is this one - winipfw

http://wipfw.sourceforge.net/ "WIPFW is a MS Windows operable version of IPFW for FreeBSD OS. You can use the same functionality and configure it as only you work with IPFW"

There's also pktfilter– apparently at least somewhat like linux's iptables or ipchains but for windows "PktFilter is a software that can configure the IP filtering device driver found in Windows 2000/XP/Server 2003, with filtering rules following a syntax similar to Linux’s IP Filter."
http://sourceforge.net/projects/pktfilter/ (see green download button on sourceforge page)

share|improve this answer
Also, possibly chx-i by idrci but their site has been down for a while, it's also mentioned here and looks like some people may have it by getting it when the site was somewhat up. wilderssecurity.com/showthread.php?t=144345 –  barlop Aug 15 '11 at 12:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.