Steven Huang wrote:
> I run (for Diablo battle.net) the following commands on the Linux box
> 
> ipautofw -A -r udp 6112 6112 -c tcp 116
> ipautofw -A -r udp 6112 6112 -c tcp 118
> 
> these commands were taken from the masq apps page.
> 
> and the commands execute without error.  However, I get a message when
> connecting to battle.net that my internet connection is not processing udp
> packets.

I believe the protocol changed with the latest patch for Diablo.  This
rule seemed to work fine the last time I tried connecting to battle.net (a
couple of months ago):

ipautofw -A -r udp 6112 6112 -c tcp 6112
 
> 192.168.1.2 is the ip address of the win98 machine.  I tried compiling
> ipautofw but it gives me A LOT of warnings and finally craps out (I just did
> a make in the ipautofw directory)

This is probably due to incompatibilities with glibc.  Try finding a
version that has been ported to glibc or use a precompiled binary.

> I am running tcp wrappers with ALL:ALL in the hosts.deny file and then in
> hosts.allow the local network and the linux boxes outside ip address, but
> I'm sure tcp wrappers only affects inetd services, right?

Usually, yes, although some daemons may have been compiled with support
for /etc/hosts.{allow,deny}.  That depends on the distribution you are
using (I don't know what RedHat does, since I run Debian).
 
> Can someone out there please help me out with the following questions?
> 
> (2) how do I test whether or not the port forwarding is actually occuring or
> not, to see if it might be a problem with the Win98 machine (although I
> kinda doubt this since all the games work when I connect the cable modem to
> the win98 box)

tcpdump is your friend.  You can use it to monitor incoming and outgoing
traffic on your interfaces to determine where the packages are getting
lost.
 
> (4) does the /etc/protocols file have anything to do with this?  There was a
> mention of it in comp.os.linux.networking but it didn't go further (ipautofw
> in /proc/net showed protocol 11, /etc/protocols shows udp = 17)

I don't think this is the problem.  11 is just the hex code for 17.
 
> (5) does anyone have a simple explanation for my problem or anything at all
> to check?  I've gone through my setup head to toe several times.

Hmm, can't think of anything elso, offhand.

> I'm almost at the point of switching to Win98 and Sygate to masquerade for
> the Linux machine, but who has ever heard of such a setup!

Ouch!

> Thanks in advance (sorry for the length),

No prob.
-- 
       /'"`\  zzzZ  | My PGP Public Key is available at:
      ( - - )       | <http://home1.inet.tele.dk/renehl/>
--oooO--(_)--Oooo------------------------------------------ 
 Don't ya just hate it when there's not enough room to fin 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to