[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: traceroute & ping fail





On Sun, 1 Oct 2000, William Jensen wrote:

> Another update to myself and others that may want this information:
> 
> This update concerns traceroute.  If I added the following rules I can now
> traceroute to anywhere, but traceroutes to me fail:
> 
> $IPT -A INPUT -p icmp --icmp-type time-exceeded -j ACCEPT
> $IPT -A INPUT -p icmp --icmp-type port-unreachable -j ACCEPT

There are a few more you should have for the network to operate
properly. There are other things such as MTU Path Discovery that need to
work.

You should, suggested by the ipchains HOWTO, be allowing these:

 -p icmp --icmp-type destination-unreachable -j ACCEPT
 -p icmp --icmp-type source-quench -j ACCEPT
 -p icmp --icmp-type time-exceeded -j ACCEPT
 -p icmp --icmp-type parameter-problem -j ACCEPT

Note destination-unreachable rather than port-unreachable. There are
several subtypes of destination-unreachable and port-unreachable is only
one of them. 



Reply to: