[masq] Masquerading problems Starcraft *SOLVED*... for me at least

1998-12-15 Thread mumford

The recent flurry of NAT and peer-to-peer gaming information rekindled my
interest in trying to get starcraft working through a masquerading host.
For those of you curious here are the problems I was having:

1) incredibly slow game when playing against more than 1 human opponent
   when you're not hosting the game.  When I say slow, I mean _SLOW_.  This
   goes beyond normal lag.
2) fine game when against any # of human opponents when you are hosting the
   game.
3) fine game against 1 human opponent no matter who hosts.
4) # of computer opponents doesn't matter.

If you've been having symptoms like that, then I may just have the solution
for you.  If your masquerading host is running a 2.1.* series kernel, check
out http://www.alumni.caltech.edu/~dank/peer-nat.html for a 2.1.130 kernel
patch.  If you're running 2.0.36, get
ftp://ftp.netcom.com/pub/mu/mumford/loose-udp-2.0.36.patch.gz
Another option for those 2.1.*'ers of you out there.  One of the most recent
Alan Cox 2.1 patches includes this stuff by default.  I think it is version
2.1.131ac11, but I'm not sure.

For starcraft to work, you will also need port forwarding in your kernel.
It comes standard in recent 2.1 series, but you have to get a patch for
2.0.36 from http://www.monmouth.demon.co.uk/ipsubs/portforwarding.html
This patch will apply almost cleanly to a 2.0.36 kernel that has been
patched with loose-udp.  The one patch that doesn't make it is a comment
in one of the source files, so it won't impact functionality.  Note that
auto-forwarding is not good enough, at least for me anyway.  I had to
compile in port-forwarding to get this to work.

Patch your kernel, run 'make oldconfig' or whatever, turn on the option
CONFIG_IP_MASQ_LOOSE_UDP in the network settings subsection (be sure to
have CONFIG_EXPERIMENTAL on as well).

When you have rebooted into your new kernel, turn on port forwarding with
commands such as the following:

(for 2.0.*)
ipportfw -A -t x.x.x.x/6112 -R y.y.y.y/6112
ipportfw -A -u x.x.x.x/6112 -R y.y.y.y/6112
(I can't remember where I got ipportfw originally, so you can grab it from
 my ftp directory if you need it)
(for 2.1.*)
ipmasqadm portfw -a -P tcp -L x.x.x.x 6112 -R y.y.y.y 6112
ipmasqadm portfw -a -P udp -L x.x.x.x 6112 -R y.y.y.y 6112

where x.x.x.x is the INTERNET address of the gateway host, and y.y.y.y is
the INTERNAL address of the host you play starcraft from.  Note that you
*cannot* play starcraft from two machines inside your network at the same
time... at least not with this setup.  A starcraft specific masquerading
module like the one for quake would be the only way to do that, AFAIK.

Some disclaimers:  I offer no guarrantees that it will work for you.  The
patch that I'm providing is not originally mine, and I only partially under-
stand it.  All I have done is take an existing 2.1 patch and backport it to
2.0.  It works for me.  If it doesn't work for you, there's not much I can
do in the way of fixing out your problem, but I'll certainly try.

Glenn Lamb - [EMAIL PROTECTED]  Finger for my PGP Key.
Email to me must have my address in either the To: or Cc: field.  All other
mail will be bounced automatically as spam.
PGPprint = E3 0F DE CC 94 72 D1 1A  2D 2E A9 08 6B A0 CD 82

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



[masq] Masq and the realy usefull Help Desk.

1998-12-15 Thread Carrott

Hello all.
This may sound like a strange request as I already think I know how to
solve the problem
Connection to my ISP through Windoze NT is fine but when I connect with my
Linux box, I cannot ping anything outside of my IP address!!

I get a dynamic IP address from my ISP, my eth0 is 192.168.1.1 and am using
an internal Zoom 56K modem. All other settings and scripts seem fine from
the millions of e-mails sent to the list since joining.

The dialup works fine and the logs tell me that PPP has given me the
internal/external addresses of 192.168.1.1/10.0.0.1 (changed to protect the
guilty!) and the CCP protocol and proxyarp have failed. Does anyone know
what CCP is as I cannot find in any TCP/IP books??? I can ping 10.0.0.1
from the Windoze NT machine but neither machine can get out to the web.

I have checked the dialup prompts using a popup window (Win NT) and kermit
(Linux). Both connect correctly but give me a completely different IP
address to the PPP dialup

I have tested the connection by borrowing a Demon account (static IP rather
that dynamic) and with only the addition of the "otocol: ppp" line
everything works as it should, on both machines. Logs show that I have an
internal/external IP addresses of 10.0.0.1/10.0.0.1 (again, changed to
protect Demon)

The help desk from hell's only suggestion was to reduce my modem speed to
9600 (thanks a bunch!) and they are Unix based!

The easiest route seems to be to change ISP. If so, can any one recomend a
UK based ISP (Demon are top of the list at present, because it works and
they have a Leeds POP)?

Thanks in advance.

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



Re: [masq] Masqing, DSL, and Internet Gaming Zone

1998-12-15 Thread David A. Ranch


Can anyone tell me
if it is possible to play games on the Internet Gaming Zone and use ICQ with
IP Masqing?  

Some games work without any changes to the MASQ setup while other games 
require the use of IPPORTFW or one of the other re-direction tools.

ICQ works for messaging with a standard IP MASQ setup but ICQ chatting 
requires IPPORTFW.  

If you are interested in finding out what games do/don't work with
MASQ, check out:

http://dijon.nais.com/~nevo/masq/


In addition to this site, definately check out:

The IP Masq WWW site:

http://www.ipmasq.ddns.org/

My WWW page:

http://www.ecst.csuchico.edu/~dranch/LINUX/index-linux.html

--David
..
|  David A. Ranch - Linux/Networking/PC hardware [EMAIL PROTECTED]  |
!!
`- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -'
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]