From owner-freebsd-pf@FreeBSD.ORG Fri May 25 15:41:00 2007 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CAB8D16A46C for ; Fri, 25 May 2007 15:41:00 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 055E613C457 for ; Fri, 25 May 2007 15:40:59 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so269787anc for ; Fri, 25 May 2007 08:40:55 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y8XoC4IYOkilFHkYAhFLI1w4GI1Sw+395EBwZ5gBX0hoN6K7jYjZKpmdV7WNiSDC3zoDuVqdwYPqrPc5+GgyhnVEwr3a+U5n8qVoDsJh8/DN7+aI9yTiv3yat60/m+pwy9GjeMiEm6dAHWa8UDB2GkSVNVVsUCimmjhiQ/jAbNA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ShqwE8n8X3uqCIgH/ShIJLXtomaFxuwsAfb6KiFG63QXpv+QOD+Cn+VRIMEPB6D/T4bAIoDgvEUdQHu3EpEyi6wZgQcKrykcAUNPGpE46UAP6nT/dwLPDbadhN7dioCHihyRW6v0HDaG+AKBSUrtlzgwperroepHOTIZkAurnmo= Received: by 10.100.177.16 with SMTP id z16mr2836576ane.1180107654494; Fri, 25 May 2007 08:40:54 -0700 (PDT) Received: by 10.100.9.14 with HTTP; Fri, 25 May 2007 08:40:54 -0700 (PDT) Message-ID: <499c70c0705250840o487ec16cg28af04f83ea1774d@mail.gmail.com> Date: Fri, 25 May 2007 18:40:54 +0300 From: "Abdullah Ibn Hamad Al-Marri" To: cangak In-Reply-To: <699842.48622.qm@web50711.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <699842.48622.qm@web50711.mail.re2.yahoo.com> Cc: freebsd Subject: Re: pf rule X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 15:41:00 -0000 On 5/24/07, cangak wrote: > hi all im newbie here i just install freebsd 6.0 whit pf support an d i want to allow just port list below. > #YM > allow 5000-5100 > #telnet > 23 > #chatting > 6000-7000 > #ftp > 21 > #http > 80 > #smtp,pop,imap > 25 > 110 > #gmail > 995 > 465 > 587 > #HTTPS > 443 > #SSH > 22 > #datacell > 9191 > allow udp from any to any 161 > allow udp from any to any 53 > allow udp from any 53 to any > allow icmp from any to any > if there any body tell me how to lsit this all port ? whit pf ? > thanks > > > imajenasi tanpa batas Hello, Check these useful sites. http://www.openbsd.org/faq/pf/tables.html http://www.bgnett.no/~peter/pf/en/bruteforce.html http://layer0.layeredtech.com/showthread.php?t=2164 -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/