hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Blocking IP
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Blocking IP

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-07-2004, 12:46 PM
kapot kapot is offline
Web Hosting Guru
 
Join Date: Mar 2003
Posts: 345

Blocking IP


I am using RedHat 9.0.

How to block IP or networks from reaching my server using iptables ?

Blocking means any access.

Please help,

Thanks.

Reply With Quote


Sponsored Links
  #2  
Old 04-07-2004, 12:52 PM
Dynanet Dynanet is offline
WHT Addict
 
Join Date: Mar 2004
Location: Vancouver Island, BC
Posts: 173
/sbin/iptables -A INPUT -s [ipaddress] -j DROP

That will drop everything from the -s (source) address.

__________________
Dynanet Network Services - 206-607-9075
We Do Hosting - Established May 2001
http://www.dynanet.ca/

Reply With Quote
  #3  
Old 04-07-2004, 02:54 PM
phpdeveloper phpdeveloper is offline
Web Hosting Master
 
Join Date: Jan 2002
Location: Home, chair
Posts: 723
/sbin/iptables -I INPUT 1 -s [ipaddress] -j DROP

will put the rule first.

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Outbound Spam Causing Sleepless Nights? Blog 2013-05-13 09:52:21
Mozilla Firefox 23 Will Block Mix SSL Content by Default Web Hosting News 2013-04-12 11:39:07
ICM Registry Launches .XXX Domain Discount Tied to Search Marketing Credit Web Hosting News 2012-11-01 16:49:31
More Than 55K .XXX Domains Registered in First 24 Hours Web Hosting News 2011-12-08 16:23:27
Web Host Superb Partners with Commtouch to Prevent Outbound Spam Web Hosting News 2011-08-12 17:40:30


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?