Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have set up a home firewall inside a virtual machine and I have configured it. How can I test if it is actually working and blocking dangerous connections coming from the internet? Are there some specific tests than I can run?

share|improve this question
up vote 2 down vote accepted

You can try the following site Shields up this should give you a good indication of you firewall setup

share|improve this answer
you might want to include some information about what services Shields Up provides. See… for more information. – Brad Patton Mar 6 '13 at 21:58

You have not advised the software you are using, but if you are using Linux, you can run the command

iptables -vnL

Which will show you which rules (including number of bytes and number of packets) have matched.

Also, you have not advised what resources you have access to, or what you are trying to connect, but if you have access to another PC, you may well be able to run tests from the remote PC and see if the firewall is working as expected, for example, telnetting to the IP and port of a service which you know is active but blocked.

share|improve this answer

You must log in to answer this question.

protected by Ƭᴇcʜιᴇ007 Mar 7 '15 at 18:07

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .