From owner-freebsd-questions Thu Oct 23 08:20:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA03683 for questions-outgoing; Thu, 23 Oct 1997 08:20:11 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from cdale3.midwest.net (root@cdale3.midwest.net [204.248.40.16]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA03676 for ; Thu, 23 Oct 1997 08:20:09 -0700 (PDT) (envelope-from parrothd@midwest.net) Received: from techie (ws2.c-ag.siu.edu [131.230.82.2]) by cdale3.midwest.net (8.8.7/8.8.5) with SMTP id JAA15166; Thu, 23 Oct 1997 09:45:15 -0500 (CDT) Message-Id: <1.5.4.32.19971023152020.008d9a60@midwest.net> X-Sender: parrothd@midwest.net X-Mailer: Windows Eudora Light Version 1.5.4 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 23 Oct 1997 10:20:20 -0500 To: "Steve W. Heistand" , freebsd-questions@FreeBSD.ORG From: "Jonathan E. Lyons" Subject: re: proxy service help Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I wonder if you also need to add "alias same_port yes" to the config file. I checked the man pages and this option makes the outgoing udp packets stay on the same udp port??!?!Unfortunately it looks like Quake assigns an idividual port from 1025-1500 for each user. I found this in some old tech information docs, but I wanted to make sure before I entered 400 alias line? Has anyone else tired this? Or is there an eaiser way? >alias port udp 206.254.73.254:6112 6112 >alias port tcp 206.254.73.254:116 116 >alias port tcp 206.254.73.254:118 118 > Shouldn't these all be udp? and an IP address of the cleint machine behind the firewall??? So if you wanted to connect to a server at 131.230.82.2 and you're local mahine is 10.0.0.4 and the machines talk on port 116 and 188 you'd have alias port udp 10.0.0.4:6112 6112 alias port udp 10.0.0.4:6112 6112 alias port udp 10.0.0.4:6112 6112 Right??! WOw now I'm really confused!!!!! At 07:19 AM 10/23/97 -0700, Steve W. Heistand wrote: >ok a followup email to make sure I got this correct. >(ie what I tried didnt work) > >First off the game server is not a local host which may or may not matter, >but when I tried adding an alias line into my ppp.conf file nothing changed. >Does it matter where in the ppp.conf file (I placed it in the default section) >There is actually 3 connections my game makes, a udp on 6112 and 2 tcp >connections on 116 and 118. I added in lines of: >alias port udp 206.254.73.254:6112 6112 >alias port tcp 206.254.73.254:116 116 >alias port tcp 206.254.73.254:118 118 > >oddly enough I also started running tcpdump while I started the game and >its the tcp packets that seem to be getting lost. > >thanks >steve > > >> This is probably already possible, you'll need to be able to identify >> the packets by port address. So if >> you've got a Quake server on 10.0.0.2:5000 (internal) and a gateway on >> 10.0.0.1 (internal) and 1.2.3.4 (external) with natd/ppp -alias >> running, you'd have an entry in your ppp.conf saying >> >> alias port udp 10.0.0.2:5000 5000 >> >> Having said that, I've never gotten around to looking at the traffic >> that quake sends around the place, so I'm not sure that it has an >> identifyable port number. >> >> -- >> Brian , , >> >> Don't _EVER_ lose your sense of humour.... >> > >-- >|-------------------------------------------------------------------------| >| Steve Heistand Email: heistand@nas.nasa.gov | >| Parallel/Vector System Consultant Phone: (650) 604-1272 | >| MS 258-6, Moffett Field, CA, 94035-1000 Fax: (650) 604-4377 | >| Numerical Aerospace Simulation Facility | >| "A polar bear is a rectangular bear after a coordinate transformation." | >|-------------------------------------------------------------------------| > >