#1  
Old 28th February 2011, 09:47
vaio1 vaio1 is offline
Senior Member
 
Join Date: Jul 2007
Location: Italy
Posts: 664
Thanks: 77
Thanked 12 Times in 7 Posts
Question IP Filters

Hi guys,

how have I to set an IP filter as banned for a particular website?

thanks
Reply With Quote
Sponsored Links
  #2  
Old 28th February 2011, 10:20
8omas 8omas is offline
Senior Member
 
Join Date: Jan 2011
Posts: 148
Thanks: 16
Thanked 35 Times in 26 Posts
 
Default

If you want to block an IP for a particular site, then you could use apache directives in .htaccess file
e.g.
http://corz.org/serv/tricks/htaccess.php
http://httpd.apache.org/docs/2.2/howto/access.html
http://www.proxyutza.com/apache-deny...ss-directives/

If you want to block access for all sites and ports on your server then you have to use the command line and iptables
e.g
iptables -I INPUT -s x.y.z.w -j DROP

where x.y.z.w is the IP

this command must run every time your system boots
Reply With Quote
The Following User Says Thank You to 8omas For This Useful Post:
mturillo (28th February 2011)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email filters - Show filter and data... BorderAmigos Feature Requests 0 20th December 2010 18:24
fail2ban apache filters cjhmdm Installation/Configuration 1 9th June 2010 14:35
black/white list of spamfilter & global filters acumen Installation/Configuration 1 14th December 2009 16:12
Virtual Users And Domains With Postfix, Courier And MySQL (CentOS 5.1) Domain filters stephaneschmit HOWTO-Related Questions 2 18th June 2008 20:20
adding Server side mail filters to Virtual Users And Domains With Postfix 7.10 c0mputernick HOWTO-Related Questions 7 6th February 2008 22:40


All times are GMT +2. The time now is 15:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.