Information Security Stack Exchange is a question and answer site for information security professionals. 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 a Dual PC setup. Two PC's are networked together via crossover cable. The Windows PC is running Windows 7 SP1 64-bit and the Linux PC is running Slackware 14 64-bit with iptables.

My firewall and routing is essentially:

{DROP All protocols and ports}
{ACCEPT specific protocols and ports}

# Rules to route from Windows PC to Linux PC
$IPTABLES -A INPUT -i eth1   -s   -m state --state NEW  -j ACCEPT
$IPTABLES -A FORWARD -i eth1   -s   -m state --state NEW  -j ACCEPT
$IPTABLES -A FORWARD -o eth1   -s   -m state --state NEW  -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward

{DROP everything not contained in any of the above rules}

Assuming that the Windows PC is virus-free and/or hypothethically invulnerable to viruses/trojans/backdoors etc., how secure would the Windows PC be with a properly set up Linux firewall?

Would the Windows PC still need a firewall?

share|improve this question
up vote 3 down vote accepted

In the scenario you describe, your Linux box is essentially acting as a network firewall for your Windows machine. So your question basically boils down to "Do I need a host-based firewall if I am already using a network firewall?"

The answer to that question is no, you don't need one. However, it would be helpful to use one. See the concept of Defense in depth.

A good explanation on what host-based firewalls can do compared to network firewalls can be found in this question.

share|improve this answer

Security isn't a state, it's a progress. A firewall is important, but I think: virus detection on windows is a good idea, and the firewall before the windows pc too. But I would install the Windows firewall too, because you can blog programs. iptables doesn't know which program wants connect to the internet. So my oppinion: Use both firewalls.

share|improve this answer

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.