From owner-freebsd-questions@FreeBSD.ORG Fri Feb 24 20:18:32 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 1600616A420 for ; Fri, 24 Feb 2006 20:18:32 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: from smtp2.versatel.nl (smtp2.versatel.nl [62.58.50.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 417D643D46 for ; Fri, 24 Feb 2006 20:18:31 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: (qmail 3459 invoked by uid 0); 24 Feb 2006 20:12:59 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (HELO [192.168.2.5]) ([62.59.173.176]) (envelope-sender ) by smtp2.versatel.nl (qmail-ldap-1.03) with SMTP for < >; 24 Feb 2006 20:12:59 -0000 Message-ID: <43FF68DF.4050709@gmx.net> Date: Fri, 24 Feb 2006 21:13:19 +0100 From: Frank Staals User-Agent: Mozilla Thunderbird 1.0.7 (X11/20060105) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: 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 20:18:32 -0000 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 27902 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