LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-12-2012, 05:12 PM   #1
WFR65
LQ Newbie
 
Registered: Nov 2012
Location: My sweet country
Distribution: RHEL6
Posts: 17

Rep: Reputation: Disabled
Disable he ping on RHEL6


How can I disable the ping on my RHEL6

Thanks in advance
 
Old 12-12-2012, 06:04 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Incoming or outgoing?
 
Old 12-12-2012, 07:12 PM   #3
WFR65
LQ Newbie
 
Registered: Nov 2012
Location: My sweet country
Distribution: RHEL6
Posts: 17

Original Poster
Rep: Reputation: Disabled
Both
 
Old 12-12-2012, 07:59 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
1. outgoing: rm (or rename for later use) the prog
2. incoming: iptables
A better answer to 2; edit /etc/sysctl.conf and put the following line at the bottom:
Code:
net.ipv4.icmp_echo_ignore_all=1
To activate immediately 'sysctl -p'.

QN: why do you want to do this?

Last edited by chrism01; 12-13-2012 at 01:39 AM. Reason: add 2nd answer to 2
 
  


Reply


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
[SOLVED] Disable ping on 1 interface but allow on another? tara Linux - Networking 2 08-14-2010 05:21 AM
disable ping romel Linux - Newbie 7 01-01-2005 12:22 PM
How to disable ping? sdat1333 Fedora 4 12-11-2004 11:23 AM
how to disable ping Longinus Linux - Networking 1 08-24-2004 01:00 AM
how to disable ping ? juanb Linux - Security 7 07-23-2003 01:07 PM


All times are GMT -5. The time now is 01:04 PM.

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