From owner-freebsd-questions@FreeBSD.ORG Wed Mar 8 07:45:11 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4846816A420 for ; Wed, 8 Mar 2006 07:45:11 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4438543D58 for ; Wed, 8 Mar 2006 07:45:02 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so348589wri for ; Tue, 07 Mar 2006 23:45:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=c/i8q53d1yjhaW7kpGejZOLZxMlhw6T6PwqChXOFIJ81HmQN0Cy5440fX1Lh8+dehXB0HEHeEvHnGe3VLmF5si8Zsb4rwXjtND/CEIWADiSk963bng+YkT+XHlDMMqbOUjSjjRvP7RQ7mOjaVnDLSVtfQpVBVHBuUHNrG8QO0yY= Received: by 10.54.125.1 with SMTP id x1mr1373354wrc; Tue, 07 Mar 2006 23:45:01 -0800 (PST) Received: by 10.54.105.5 with HTTP; Tue, 7 Mar 2006 23:45:00 -0800 (PST) Message-ID: Date: Wed, 8 Mar 2006 10:45:01 +0300 From: "Andrew Pantyukhin" To: "Rem P Roberti" In-Reply-To: <440E2B14.9030603@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <440E2B14.9030603@comcast.net> Cc: FreeBSD Subject: Re: Configuring for IP ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2006 07:45:11 -0000 On 3/8/06, Rem P Roberti wrote: > Hi Everyone, > > A BSD friend of mine set up my firewall, and he is out of town for a > while. I am attempting to use a program that uses UDP packets on ports > 5198 and 5199. So my firewall must be configured to allow my machine to > accept UDP packets on either of those ports, and to send packets out to > those ports on remote machines. I have no idea how to accomplish that, > and would appreciate it if someone can steer me a course toward the > solution. > > Thanks in advance. > > Rem > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > Hmm, don't you also need outgoing to tcp 5200? http://www.echolink.org/firewall_solutions.htm Anyway, try this as root for fast and insecure setup: ipfw add 1 pass dst-port 5198-5200 If you need a more secure setup and port forwarding, you'll have to give us a comprehensive description of your network or wait for your friend to come back.