Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-06-2003, 07:29 AM   #1
Registered: Aug 2002
Distribution: Debian
Posts: 57

Rep: Reputation: 15
icmp_echo_ignore_all override for 1 IP

I have using icmp_echo_ignore_all set to 1 and i would like to override it for a single IP address that should be allowed to get back ICMP echos. Is it possible to do it with iptables ?
Old 03-06-2003, 08:27 AM   #2
Registered: Aug 2002
Distribution: Debian
Posts: 57

Original Poster
Rep: Reputation: 15
Re: icmp_echo_ignore_all override for 1 IP

ok, i have done it first i have to set icmp_echo_ignore_all to 0. then i have added this to my firewall script:
$IPTABLES -A ICMP_STUFF -p icmp --icmp-type echo-request -s XXX.XXX.XXX.XXX -j ACCEPT
$IPTABLES -A ICMP_STUFF -p icmp --icmp-type echo-request -j DROP
where XXX.XXX.XXX.XXX is the IP address that can send icmp echo requests


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
override defines alaios Programming 1 09-14-2005 10:40 AM
irq(num) used by override kpachopoulos Linux - Hardware 0 05-27-2005 02:51 PM
do profiles override each other? nightfox02 Linux - Newbie 3 08-21-2003 03:20 PM
how to override Yenta? twolf Linux - Newbie 0 05-20-2003 11:54 PM
How to override /etc/fstab? concoran Linux - General 3 10-04-2001 01:55 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:25 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
Open Source Consulting | Domain Registration