Tremulous Forum

General => Troubleshooting => Topic started by: Death On Ice on November 18, 2006, 05:23:10 pm

Title: My Server
Post by: Death On Ice on November 18, 2006, 05:23:10 pm
Hello. I know most of you may think "USE THE ******* SEARCH BUTTON" but I have already done so. Also, some of you may think "GET A ******* LINUX", but i have a Mac, and love it. If those are your immediate responses, I dont need them. My problem is over my tremulous server, Tremulous For All. I have a number of admins, and many people play. (not many, usually 1-10) My problem is this. I have two firewalls, one built into my Linksys Router, the other built into my operating system. I connect to the internet via either Built-In ethernet, or Airport, which is wireless. I think some of my problem is that when other people nearby, (ie friends) connect, it changes my LAN IP address. Therefore, it makes it so that my port forwarding goes to the wrong computer, or no computer. I have 3 computers, and friends frequently bring theres. This is a major problem.

I think there may be another problem also, maybe involving the ''!listplayers'' command. 5 times this week, directly after usage of the "!Listplayers" command, my server shut down. It was working fine last week! Whats wrong?? Plz help me.
Title: My Server
Post by: David on November 18, 2006, 06:25:53 pm
The mac build is unofficial.
I doubt anybody will bother fixing the server to run on it.
Title: My Server
Post by: benmachine on November 18, 2006, 06:51:22 pm
Excuse the rather long-winded explanation, but I like to be thorough.

I run a server on a mac, it works fine for me. I'm not sure I can address all the issues, but I'll offer what help I can.
Quote
I think some of my problem is that when other people nearby, (ie friends) connect, it changes my LAN IP address.

It shouldn't (and if I know anything about networking, probably doesn't) change your local IP address, but from my own personal experince with other online games I can tell you that you'll have a very hard time getting any kind of port forwarding-based system to work with clients both local and across the net. I spent a lot of time trying to get other games to work with a LAN connection and a WAN connection, and while I could get one or the other, even without changing settings, I could never get both at the same time. Basically, I don't think it's possible with that technology. That said, the other day my friend (Rapidy Pap) brought his laptop and connected to my server along with a bunch of internet players. So how is it done?

The magic solution appears to be uPnP, universal Plug and Play, an assumption I'm making because I don't forward any ports for tremulous and never have. Though I'll be the first to admit I don't have a clue how it works, it seems to remove the need for port forwarding AND allow simultaneous local and global connections, which seems nothing short of miraculous, especially given that the only configuration needed is switching it from "off" to "on". The downside is it's a relatively new technology and not all routers have it. Although I haven't checked, I seem to remember my dad's Linksys being among them, so you might be out of luck. Check with your router manufacturer's website for any firmware upgrades, they might help.

As for the !listplayers command, sorry, but I've never seen anything like it and don't have the first clue how to correct it. Not my field, really.
Title: Re: My Server
Post by: kevlarman on November 18, 2006, 08:12:51 pm
Quote from: "Death On Ice"
I think there may be another problem also, maybe involving the ''!listplayers'' command. 5 times this week, directly after usage of the "!Listplayers" command, my server shut down. It was working fine last week! Whats wrong?? Plz help me.
get tjw's latest binary and qvm, if it still happens, report the bug to tjw
Title: My Server
Post by: Death On Ice on November 19, 2006, 01:08:19 am
Well BenMachine we meet again  :D  if you dont remember im an admin on your server. I have a linksys with UPnP. Ill enable it. Also, I have the lastest build i think...not sure though.
Title: My Server
Post by: Undeference on November 20, 2006, 01:51:28 pm
Why use port forwarding with a dynamic IP address? If you want to run a server behind a router, always always set a static IP address for your server.
Title: My Server
Post by: Death On Ice on November 22, 2006, 04:24:19 am
Quote from: "Undeference"
Why use port forwarding with a dynamic IP address? If you want to run a server behind a router, always always set a static IP address for your server.
oooook how?  :oops:  im new at this  :wink:
Title: My Server
Post by: benmachine on November 22, 2006, 10:06:45 pm
Quote from: "Death On Ice"
Quote from: "Undeference"
Why use port forwarding with a dynamic IP address? If you want to run a server behind a router, always always set a static IP address for your server.
oooook how?  :oops:  im new at this  :wink:

I never worked it out either, though the process appears to be incredibly simple. It just seems to stop working when I'm finished.
Anyway, with universal plug and play that shouldn't be an issue, in fact it's probably best to turn off port forwarding now to avoid confusion and heighten security.
Maybe.