Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » General Jazz Jackrabbit Talk

Help, revived.

Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,978

Violet CLM has disabled reputation

Mar 24, 2001, 02:29 PM
Violet CLM is offline
Reply With Quote
As my topic is not here I wish to revive it. Whenever I join a internet server after about 30 seconds it says: Network Error. Connection timed out. Visit www.jazzjackrabbit.com for more information. End of error message.



The "network administrator" is my Dad, who's not ashamed to admit he's

making it up as he goes along and could use some help. The "firewall" is

his Linux machine, which runs NAT for the ADSL modem that hangs off the

network hub (ie, NOT attached to eth1 on the Linux machine - eth1

doesn't seem to want to run SMP, only UP). The ipchains calls are

cobbled together from HOWTO's &c.



Kernel is 2.2.16-22smp (Redhat 7), MASQ/firewall script is as follows:



# 1) Flush the rule tables.



/sbin/ipchains -F input

/sbin/ipchains -F forward

/sbin/ipchains -F output



# 2) Set the MASQ timings and allow packets in for DHCP configuration.



/sbin/ipchains -M -S 7200 10 60



# 3) Deny all forwarding packets except those from local network.

# Masquerade those.



/sbin/ipchains -P forward DENY

/sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ



# 4) Load forwarding modules for special services.

/sbin/modprobe ip_masq_ftp

/sbin/modprobe ip_masq_raudio



# 5) (Experimental) Jazz JackRabbit 2 networking setup

/sbin/ipchains -A forward -p tcp -s 0/0 10052:10054 -j MASQ

/sbin/ipchains -A forward -p udp -s 0/0 10052 -j MASQ
Wimster

JCF Member

Joined: Mar 2001

Posts: 20

Wimster is doing well so far

Mar 27, 2001, 03:02 AM
Wimster is offline
Reply With Quote
I have the same thing. Been trying to get internet jazz to work for month on my kids PC. I'm using Nat32 as internetsharing and Zonealarm as firwall.

I can send bytes, but cannot receive. Disabling the firewall doesn't help so it must be the internetsharing (NAT32).

Is there anyone that has jazz working on a pc that is not directly connected to the internet ?
Wild Angel

JCF Member

Joined: Jan 2001

Posts: 3,532

Wild Angel has disabled reputation

Mar 29, 2001, 10:53 PM
Wild Angel is offline
Reply With Quote
Yeah. If you are on a network with computers (I have my 3 and 10 others on this network ), and you have a firewall, and most of the computers in the network has them, you will time out. This is because the firewall is constantly assigning IPs (ect, ect), I think something like that. So, your server will ping, and you will time out. To fix this, disconnect your network wire from the outlit, or hub, and close down your firewall if you have one, then connect with a connection on your computer. Make sure the computer that has the modem is the one that you use to play JJ2!



.wild.
__________________
<center><a href="http://www.livejournal.com/users/wildi/"><img src="http://img.free.idleserv.net/951kf3.jpg" border="0"></a>
<font size=1>
[blue penguins - livejournal]</center>
Wimster

JCF Member

Joined: Mar 2001

Posts: 20

Wimster is doing well so far

Mar 30, 2001, 02:22 AM
Wimster is offline
Reply With Quote
Closing down the firewall is the first thing I tried (afcourse). And playing Jazz on the computer that has the modem, is like kicking in an open door.

I will never give up to solve this.
Carrots

JCF Member

Joined: Mar 2001

Posts: 12

Carrots is doing well so far

Mar 30, 2001, 03:11 PM
Carrots is offline
Reply With Quote
I have the same thing, 4 computers sharing ISDN line and a firewall, JJ2 only works online if we loose the network and firewall, which is hopeless, if you solve this say how, but I'm not too hopefull.
__________________


~CaRRoTs~
Wild Angel

JCF Member

Joined: Jan 2001

Posts: 3,532

Wild Angel has disabled reputation

Apr 1, 2001, 01:49 AM
Wild Angel is offline
Reply With Quote
Hey, Mr. Carrot...

If you have your network cable plugged into a hub, unplug it and shut the firewall down! That is, if you have dial up...if you share cable or DSL do this...



Shut down every single firewall. Every single one, ya hear me? Good...



Firewalls assign new IP addresses I think....er. Yeah



Try that and tell me if it works. I have Dial Up so I dunno if it will or won't!
__________________
<center><a href="http://www.livejournal.com/users/wildi/"><img src="http://img.free.idleserv.net/951kf3.jpg" border="0"></a>
<font size=1>
[blue penguins - livejournal]</center>
Wimster

JCF Member

Joined: Mar 2001

Posts: 20

Wimster is doing well so far

Apr 2, 2001, 02:16 AM
Wimster is offline
Reply With Quote
I'm sure the firewall is not the isue here.

It's the internetsharing program that assigns the IP adresses.

I'm using NAT32. Is there anyone using something else that does work?



Shutting down a firewall is easy, getting an internetsharing to work with jazzjackrabbit seems impossible
Wimster

JCF Member

Joined: Mar 2001

Posts: 20

Wimster is doing well so far

Apr 3, 2001, 01:43 PM
Wimster is offline
Reply With Quote
I did a succesfull experiment in this matter.

I directed both all TCP and all UDP ports to the PC on the LAN. (so all 65536 portnumbers) And I could connect and play with a server over the internet.

I have put the following 2 lines in my NAT32 startup file



ppmap add tcp 0:65535 192.168.0.2 0

ppmap add udp 0:65535 192.168.0.2 0



where 192.168.0.2 is the adres of the PC on the Local network (LAN).

So all incoming TCP and UDP packets are directed to this PC.

I will try to narrow this down a little and report on that later.
Wimster

JCF Member

Joined: Mar 2001

Posts: 20

Wimster is doing well so far

Apr 4, 2001, 01:00 PM
Wimster is offline
Reply With Quote
It seems to be enough to open the ports that the LAN-pc uses as local ports for the connection to the server. I'm not sure in what range those ports can be exactly but it seems safe to take ports 1000 up to 2000

So in Nat32 startup file:



ppmap add tcp 1000:2000 192.168.0.2 1000

ppmap add udp 1000:2000 192.168.0.2 1000



Does this help you ?

Let your dad (the administrator dude) open these ports and direct them to your pc's IP adress on the LAN and let me know if that helps.
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,978

Violet CLM has disabled reputation

Apr 4, 2001, 06:46 PM
Violet CLM is offline
Reply With Quote
Would this work if dad's machine is Linux?
Wimster

JCF Member

Joined: Mar 2001

Posts: 20

Wimster is doing well so far

Apr 5, 2001, 12:10 AM
Wimster is offline
Reply With Quote
Linux or windows, the protocol and portnumbers are the same, so I guess it should work. The syntax for the NAT program will be different, but the result is the same. I wish someone that has been working on the game could explain what is going on here. One theory is that jazz puts portnumbers in the datafield of the packeges it sends to the server (or something).
Wimster

JCF Member

Joined: Mar 2001

Posts: 20

Wimster is doing well so far

Apr 19, 2001, 12:29 AM
Wimster is offline
Reply With Quote
Well?
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,978

Violet CLM has disabled reputation

Apr 19, 2001, 09:25 PM
Violet CLM is offline
Reply With Quote
Well, DSL went down on April 1st when the Linux machine was hacked, since then we've been using normal dial-up, now DSL is back up and being redirected through a NETGEAR RT3 11. Dad says he wants to know if anyone else is using one of these. I am not trying to be evasive Wimster but neither my dad or I knows much about this.
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 03:47 PM.