Port Forwarding

Post here if you need help setting up your server, etc.
Post Reply
Vader
On Lightcycle Grid
Posts: 11
Joined: Mon Mar 15, 2010 8:18 pm

Port Forwarding

Post by Vader »

I'm resetting my forwarding. Should I forward Port x to 4534, 4534 to x, or 4534 to 4534?
User avatar
Z-Man
God & Project Admin
Posts: 11624
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Port Forwarding

Post by Z-Man »

Vader wrote:4534 to 4534?
That one. Bending ports around is hardly ever a good idea.
Vader
On Lightcycle Grid
Posts: 11
Joined: Mon Mar 15, 2010 8:18 pm

Re: Port Forwarding

Post by Vader »

It still won't work. It's just not connecting to the Master server. It is now forwarded from 4534 to 4534, talk to master is on...etc. Any ideas.
User avatar
Jip
Round Winner
Posts: 397
Joined: Sat Sep 26, 2009 5:32 pm

Re: Port Forwarding

Post by Jip »

You might also set:

Code: Select all

SERVER_IP: IP the server listens on

or

SERVER_DNS: If your server is on dynamic IP and you set up a dynamic DNS that always points to it, you can set this variable to the DNS name to help clients remember your server across IP changes.

and

SERVER_PORT 4534
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Re: Port Forwarding

Post by Tank Program »

You should also note you won't be able to see your server on the list yourself. You'll have to ask a friend if they can see it.
Image
User avatar
Z-Man
God & Project Admin
Posts: 11624
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Port Forwarding

Post by Z-Man »

Tank Program wrote:You should also note you won't be able to see your server on the list yourself. You'll have to ask a friend if they can see it.
Actually, that should now be fixed reliably. If your server is on the master list, you can see it yourself if you use a 0.2.8.3 client.

And Vader: You didn't forget to set TALK_TO_MASTER to 1? Tell us your global IP, then, so we can check the logs.
Vader
On Lightcycle Grid
Posts: 11
Joined: Mon Mar 15, 2010 8:18 pm

Re: Port Forwarding

Post by Vader »

72.93.214.77

That's what I set SERVER_IP to. It says :

"Unable to accept open socket on desired port 4534"

and

"Giving up setting up listening sockets for IP list 72.93.214.77"
User avatar
Z-Man
God & Project Admin
Posts: 11624
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Port Forwarding

Post by Z-Man »

Vader wrote:That's what I set SERVER_IP to.
Don't do that. SERVER_IP is for the rare scenario that your server physically has multiple IPs and you want to only listen on one of them. And even then, it needs to be a real local IP, not the IP of a router down a network wire.
Vader
On Lightcycle Grid
Posts: 11
Joined: Mon Mar 15, 2010 8:18 pm

Re: Port Forwarding

Post by Vader »

The server still isn't showing. Is it even getting through?
I opened port 4534, forwarded 4534 to 4534, and set TALK_TO_MASTER to 1.
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: Port Forwarding

Post by AI-team »

the port forwarding seems to fail , I cant connect to it
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
Z-Man
God & Project Admin
Posts: 11624
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Port Forwarding

Post by Z-Man »

And no contact from the master servers, either. Can you post a screenshot of your port forwarding setup?
Vader
On Lightcycle Grid
Posts: 11
Joined: Mon Mar 15, 2010 8:18 pm

Re: Port Forwarding

Post by Vader »

User avatar
Z-Man
God & Project Admin
Posts: 11624
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Port Forwarding

Post by Z-Man »

One where the headers are included would be better, but this looks OK, provided 192.168.36.89 is the LAN IP address of your server. It could be.
Post Reply