Block a domain in shorewall or host.deny?

Place to discuss Fedora and/or Red Hat

Postby Void Main » Mon Aug 17, 2009 7:22 pm

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:61.160.216.63 all


That is assuming you are running your Apache server on your firewall box.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Previous

Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 0 guests

cron