Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 05-28-2004, 02:33 PM   #1
LQ Newbie
Registered: Apr 2004
Distribution: Mandrake 10 Official
Posts: 11

Rep: Reputation: 0
Blocking IPs

How do I block an ip using the redhat 7.3 command line?
Old 05-28-2004, 03:05 PM   #2
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Do you mean while using a command-line interface or just with one command?

Search the boards for help with iptables and/or using your hosts.deny file.
Old 05-28-2004, 03:08 PM   #3
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
You could probably do something like:
echo ALL: >> /etc/hosts.deny


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blocking certain IPs with iptables - what am I doing wrong? thinksincode Linux - Security 2 12-21-2004 11:27 AM
how to define a specific range of IPs and/or multiple IPs in an iptables rule?... TheHellsMaster Linux - Security 9 09-20-2004 11:06 AM
Blocking A Class of Ips w/ Iptables kemplej Linux - Security 4 09-03-2004 12:02 PM
Troubles blocking single IPs using IPtables dave_blob Linux - Networking 5 04-04-2004 07:07 AM
Blocking IPS clanehleader Linux - Security 2 09-01-2003 11:13 PM

All times are GMT -5. The time now is 06:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration