ipfw question - ICMP

Jonathan Chen jonc at chen.org.nz
Tue Mar 2 16:48:37 PST 2004


On Tue, Mar 02, 2004 at 10:39:42PM +0100, C. Kukulies wrote:
> I have setup my FreeBSD box with ASDL (pppoe) and ipfw (rc.firewall with 
> type 'simple').
> 
> I have finetuned to allow ssh from certain addresses outside, sendmail works,
> but I cannot ping either from inside or from outside.
> 
> What does the rule for ICMP look like?

Something like:

    ipfw add allow icmp from any to any
or
    ipfw add allow icmp from any to any icmptype 0,3,8,11,12

Cheers.
-- 
Jonathan Chen <jonc at chen.org.nz>
----------------------------------------------------------------------
                                         "Nyuck, nyuck, nyuck" - Curly


More information about the freebsd-questions mailing list