[Gllug] fake ICMP replies?

Andy McGarty andy at mac1systems.com
Fri Feb 10 15:56:28 UTC 2006


>
> Is there a way I can make this linux router 'fake' ICMP responses, so  
> that this application always gets past the ICMP test?
>
> I have an idea that I can do it with an IPtables rule, but at this time  
> on a friday, it's just not coming together...
>
This is what I did to stop one of my customers custoemrs from continually  
trying to ping the putside world to check the satellite link was up.
     iptables -t nat -F
     iptables -t nat -X

     iptables -t nat -A PREROUTING  -i eth0 -p icmp -j DNAT --to  
THESERVERSIPADDRESS

Andy
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list