From owner-freebsd-questions Wed Jul 22 23:18:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA18225 for freebsd-questions-outgoing; Wed, 22 Jul 1998 23:18:45 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from notabene.zer0.org (sac-port55.jps.net [209.63.114.210]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA18219 for ; Wed, 22 Jul 1998 23:18:42 -0700 (PDT) (envelope-from gsutter@n1.dyn.ml.org) Received: (from gsutter@localhost) by notabene.zer0.org (8.8.7/8.8.8) id XAA20827; Wed, 22 Jul 1998 23:21:33 -0700 (PDT) (envelope-from gsutter) Message-ID: <19980722232127.A19731@notabene.zer0.org> Date: Wed, 22 Jul 1998 23:21:27 -0700 From: Gregory Sutter To: Ludwig Pummer , purebeef@shaw.wave.ca, questions@FreeBSD.ORG Subject: Re: using 1 machine (a FreeBSD one) to connect 2 pcs to the net via References: <199807221903.MAA00631@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i In-Reply-To: <199807221903.MAA00631@hub.freebsd.org>; from Ludwig Pummer on Wed, Jul 22, 1998 at 12:03:01PM -0700 Organization: Zer0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jul 22, 1998 at 12:03:01PM -0700, Ludwig Pummer wrote: > At 12:27 PM 7/22/98 -0400, purebeef@shaw.wave.ca wrote: > >I have been trying to get one of our pc's (my son's), who uses windows > >to be able to play starcraft. Unfortunately, when he connects to > >battle.net he gets a message about udp packets which are failing. > > > >fail? I have in rc.conf, the firewall set to "open" and am using dhcpc as > >well as natd. > It has to do with how natd learns to redirect packets and the way battle.net > opens connections. If you search the freebsd-questions archive, you'll > probably > find a message or two which specifies the exact port you need to > '-redirect_port' with natd, as per natd's manpage (i remember seeing two posts > about it a few months ago). If an archive search doesn't help, run tcpdump and > see at which port battle.net is trying to connect to your gateway machine. Battle.net connects via port 6112. I had a similar problem on my home network, which is connected via ppp and a modem. Although my ipfw is set to 'open' and the ipfiltering built into ppp allows all packets by default, I had to explicitly state alias port udp 10.0.0.3:6112 6112 alias port tcp 10.0.0.3:6112 6112 in my ppp.cfg file in order for the packets to go through. The ppp aliasing code seems _very_ similar to natd; maybe something like these (-redirect_port commands) in your natd configuration file would help. Greg -- Gregory S. Sutter "How do I read this file?" mailto:gsutter@pobox.com "You uudecode it." http://www.pobox.com/~gsutter/ "I I I decode it?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message