From owner-freebsd-questions Fri May 18 15: 9:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id DBBFD37B424 for ; Fri, 18 May 2001 15:09:09 -0700 (PDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f4INNML65095; Fri, 18 May 2001 18:23:22 -0500 (CDT) (envelope-from nick@rogness.net) Date: Fri, 18 May 2001 18:23:22 -0500 (CDT) From: Nick Rogness X-Sender: nick@cody.jharris.com To: "Hays, Sam" Cc: "'freebsd-questions@freebsd.org'" Subject: Re: Natd and Battle.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 18 May 2001, Hays, Sam wrote: > Anybody have any experience getting battle.net, specifically starcraft > working with nat on freebsd 4.3? > > the set up is this: > > [BSD Firewall/router/dhcpd/natd] > xl0:24.xxx.xxx.xxx / xl1:192.168.0.1 > > and > > [Win2k] > 192.168.0.10 > > > According to blizzards website, battle.net is 'nat friendly' but I > keep getting the famous UDP error message. My Nat configuration is > this: > > interface xl0 > dynamic yes > use_sockets yes > same_ports yes > punch_fw 500:100 > > Thats it for right now, although I had had: > redirect_port udp 192.168.0.10:6112-6119 6112-6119 You will need this line along with the same line for tcp traffic. ALso make sure you are allowing firewall traffic (in this order): divert natd ip from any to any allow tcp from any to 192.168.0.10:6112-6119 allow tcp from me 6112-6119 to any allow udp from any to 192.168.0.10:6112-6119 allow udp from me 6112-6119 to any I don't know if the punch_fw option in natd will help you much (not sure on that point). Nick Rogness - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message