From owner-freebsd-questions@FreeBSD.ORG Thu Aug 7 11:43:35 2003 Return-Path: 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 B557A37B401 for ; Thu, 7 Aug 2003 11:43:35 -0700 (PDT) Received: from mail2.ruraltel.net (mail2.ruraltel.net [24.225.0.35]) by mx1.FreeBSD.org (Postfix) with SMTP id 9F60E43F3F for ; Thu, 7 Aug 2003 11:43:34 -0700 (PDT) (envelope-from darryl@osborne-ind.com) Received: (qmail 28319 invoked by uid 204); 7 Aug 2003 18:43:32 -0000 Received: from darryl@osborne-ind.com by mail2.ruraltel.net by uid 201 with qmail-scanner-1.14 (. spamassassin: 2.55. Clear:SA:0(-3.1/5.0):. Processed in 1.032669 secs); 07 Aug 2003 18:43:32 -0000 X-Qmail-Scanner-Mail-From: darryl@osborne-ind.com via mail2.ruraltel.net X-Qmail-Scanner: 1.14 (Clear:SA:0(-3.1/5.0):. Processed in 1.032669 secs) Received: from unknown (HELO darryl) (24.225.31.189) by 0 with SMTP; 7 Aug 2003 18:43:31 -0000 From: "Darryl Hoar" To: Date: Thu, 7 Aug 2003 13:45:32 -0500 Message-ID: <000c01c35d14$1569cc10$0701a8c0@darryl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Importance: Normal X-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Spam-Report: -3.10 points, 5 required; ---- DoubleCheck Scoring by Rule * -3.1 -- AWL: Auto-whitelist adjustment ---- End of Matching Rules X-DCC-Doublecheck-Metrics: spamd1.ruraltel.net 1184; Body=1 Fuz1=1 Fuz2=1 X-Pyzor: Reported 0 times. Subject: ipfilter - port forward question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: darryl@osborne-ind.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 18:43:36 -0000 Greetings, I have a FreeBSD 4.7S that is my firewall it also does nat for my internal home LAN. Firewall is running ipfilter. I have a full and nice set of rules that work well. Occasionally I like to play an online racing game. Since I have DSL I'd like to host. I created an open set of rules for the firewall named /etc/ipf.game. It contains pass out from any to any pass in from any to any. I use ipf -Fa -f /etc/ipf.game to flush and load the rules. /etc/ipnat.rules contains map ep0 192.168.1.0/24 -> 0/32 rdr epo 24.225.33.0/32 port 31240 -> 192.168.1.35 port 31240 tcp the online game uses port 31240. My internal machine that I'm playing on is 192.168.1.35. It is running Windows XP Pro. The above doesn't work for the game. Users can't connect. What am I screwing up ? thanks, Darryl