Block a domain in shorewall or host.deny?

Place to discuss Fedora and/or Red Hat
User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Post by Void Main »

Although I run a Shorewall firewall I normally do not block addresses in Shorewall. I do it in my iptables configuration on my web server (I do not run Shorewall and the web server on the same box). If I were to do it on Shorewall I would probably do it like this:

Code: Select all

DROP net: all
That is assuming you are running your Apache server on your firewall box.

Post Reply