From owner-freebsd-questions@FreeBSD.ORG Fri Feb 24 21:06:24 2006 Return-Path: X-Original-To: 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 D3A1216A420 for ; Fri, 24 Feb 2006 21:06:24 +0000 (GMT) (envelope-from noeldude@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E37043D53 for ; Fri, 24 Feb 2006 21:06:24 +0000 (GMT) (envelope-from noeldude@gmail.com) Received: by nproxy.gmail.com with SMTP id p77so279902nfc for ; Fri, 24 Feb 2006 13:06:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XVfaH2sUIVbJ5yTBBvXo97IziYLviSWEfMlFCAG/KeUYLtSFNY57BpUmf7ls0OQO1v/lqZcipEZbCp/gvMCMpT1i6SkHWpY5GmgtfjpS7Cp9MIaSBF70EDfywO+LeCWYj/rmurwLiWJc4bzPxmmgSDe+s/jARP+k4pmTlnQagAw= Received: by 10.49.35.10 with SMTP id n10mr2894982nfj; Fri, 24 Feb 2006 13:06:22 -0800 (PST) Received: by 10.49.31.20 with HTTP; Fri, 24 Feb 2006 13:06:22 -0800 (PST) Message-ID: Date: Fri, 24 Feb 2006 15:06:22 -0600 From: "Noel Jones" To: questions@freebsd.org In-Reply-To: <43FF68DF.4050709@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43FF68DF.4050709@gmx.net> Cc: Subject: Re: Redirecting Traffic with PF 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: Fri, 24 Feb 2006 21:06:24 -0000 On 2/24/06, Frank Staals wrote: > Hey, > > I have an FreeBSD server/firewall running 5-Stable with PF. I want to > redirect all udp traffic on port 27902 from the internet to a computer > in my network. I used this rule but I have some problem with it: > sometimes connections on that port are refused and I can't connect with > other players ( it's for a online game ) : > > rdr on $extif inet proto udp from any port 27902 -> 192.168.2.11 port 279= 02 > > I think the problem might have something to do with the different > network interfaces since the traffic is comming in on $extif and has to > go to an computer connected to $intif ? And how can I do that ? Can I > change it to: > > rdr on $extif inet proto udp from any port 27902 -> $intif 192.168.2.11 > port 27902 > > ? Or what do I have to do to fix it. > > Thanks in advance, > > -- > -Frank Staals > > I think you want something like rdr on $extif inet proto udp from any to self port 27902 -> 192.168.2.11 port 27902 -- Noel Jones