Skip to contentSkip to conversation

Shorewall vs. Iptables

DISCUSSION Ray Anderson 3 participants 4 messages Feb 12, 2004

lore
Share & tools
lore
#0 lore raw

Is any one better than the other?

I'm currently running a RedHat box that's soon to be replaced with a Mandrake machine. Of course I threw out the Shorewall stuff in favor of manually implementing the same Iptables ruleset(s) that I have for the RH machine.

Does Shorewall give any more protection or is it a simply complicated front-end to iptables?

Cheers,

-=Ray
---------------------------------------
When reaching a stalemate, win with a technique the enemy does not expect. Miyamoto Musashi

#1 lore raw
Quoted 6 lines · Ray Anderson

Is any one better than the other?

I'm currently running a RedHat box that's soon to be replaced with a Mandrake machine. Of course I threw out the Shorewall stuff in favor of manually implementing the same Iptables ruleset(s) that I have for the RH machine.

Who wouldn't? :-)

Actually, I recommend against using the Mandrake Shorewall two-interface configuration.

a) it matches my documentation enough that cutting and pasting from the documentation doesn't produce errors; but
b) it is different enough that the such cutting and pasting doesn't produce the desired results.

Quoted 3 lines

Does Shorewall give any more protection or is it a simply complicated front-end to iptables?

My opinion is far from unbiased but here goes. Shorewall is a high-level tool for configuring netfilter. It uses the iptables utility to do so. As a result, it cannot offer any more protection than the iptables utility used alone can provide.

As for being complicated, if you already understand iptables then Shorewall would be something else to learn. If you don't, then most people find Shorewall easier to learn. I definitely believe it to be easier to set up complex router/firewall configurations using Shorewall than it is using iptables directly unless you have spent a long time developing your own very flexible firewall/router framework (in other words, your own Shorewall-like facility).

-Tom

Signature · 3 lines
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [email protected]
#2 lore raw
Quoted 5 lines · Tom Eastep

My opinion is far from unbiased but here goes. Shorewall is a high-level tool for configuring netfilter. It uses the iptables utility to do so. As a result, it cannot offer any more protection than the iptables utility used alone can provide.

Correct me if I am wrong but Shorewall only works properly on a dedicated box. In other words, if you are running netfilter on the same machine as a server then Shorewall doesn't work properly.

#3 lore raw
Quoted 9 lines · David Cary Hart
Quoted 4 lines · Tom Eastep

My opinion is far from unbiased but here goes. Shorewall is a high-level tool for configuring netfilter. It uses the iptables utility to do so. As a result, it cannot offer any more protection than the iptables utility used alone can provide.

Correct me if I am wrong but Shorewall only works properly on a dedicated box. In other words, if you are running netfilter on the same machine as a server then Shorewall doesn't work properly.

You are incorrect.

-Tom

Signature · 3 lines
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [email protected]