I do the exact same thing connecting to public server on the Internet. The 
server sees my 3, 4, or 5 connections as all from the same ip but with 
different ports, and because the server looks at ip/port combinations, not 
just ip, it works just fine.

Unless, as I mentioned in a previous port, there is a bug in srcds that 
causes it to periodically get confused if the ip or ports are the same, even 
if the ip/port combination is different. Or the router is doing something 
stupid like giving two outgoing connections the same port. This shouldn't 
happen - the router should not do that, but there are a lot of cheap 
consumer grade crap routers that have gosh only knows what bugs in their 
firmware.

----- Original Message ----- 
From: "Andrew Stuart" <[email protected]>
To: "'Half-Life dedicated Linux server mailing list'" 
<[email protected]>
Sent: Saturday, December 19, 2009 5:55 PM
Subject: Re: [hlds_linux] TF2 Multiple clients from the same IP


> if they are both coming off of one lan with one net connection they will
> present the same public IP to the game server
> hence the issue, im sure client ports will sort it
> (you could have some jazzy setup with x amount of public ip's and nat'd to
> each pc on yer network)
>
> you said connecting to your server, I guess this is a  server running
> locally on your own private lan? if so then it will see the private ips
> a remote server shouldnt see your private IP only the public facing IP
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Ook
> Sent: 20 December 2009 01:41
> To: Half-Life dedicated Linux server mailing list
> Subject: Re: [hlds_linux] TF2 Multiple clients from the same IP
>
> The only time I've had to use clientport was when I was running something 
> on
>
> the same box that was causing a conflict. Two seperate computers using the
> same outgoing port won't cause a problem because they have different ip
> addresses. I've done this for years - the server doesn't care - I've
> connected to my server with five computers at the same time, all using the
> same outgoing port. Never had a problem with it. The server recognizes 
> that
> they have different IPs, and doesn't care if the port is the same. Neither
> does the router. IPs or ports don't have to be unique, but ip/port
> combinations absolutely must be unique, and they will be unless two
> computers have the same IP, or your router is doing something stupid.
>
> I wonder if TF2 has some issues with clients using the same port, even 
> with
> the ip is different? Or vice versa, problems with clients using the same 
> IP
> but different ports? I would not say this is not a TF2 or L4D/L4D2 bug 
> with
> srcds.
>
> Toss a coin - heads, it's a router problem, tails it's a srcds problem :-)
>
> ----- Original Message ----- 
> From: "Richard Eid" <[email protected]>
> To: "Half-Life dedicated Linux server mailing list"
> <[email protected]>
> Sent: Saturday, December 19, 2009 1:40 PM
> Subject: Re: [hlds_linux] TF2 Multiple clients from the same IP
>
>
>> It sounds like they just need to set an alternate clientport.  On one
>> machine, no changes will need to be made.  The second one will need to
>> have
>> a launch option added:
>>
>> +clientport xxxxx
>>
>> I think the default clientport is 27005, which the client that is not
>> setting a clientport using launch options will be using.  The one that
>> needs
>> to add this to their launch options can use whatever, but 27006 is a safe
>> alternative.
>>
>> Both clients behind one router connecting to two different servers at the
>> same time shouldn't experience this issue, but if you have two clients
>> behind the same router and you're both trying to connect to the same
>> server,
>> one of them needs to use an alternate clientport.
>>
>> Then again, maybe I'm misunderstanding the problem and this won't solve a
>> thing.  Good Luck!
>>
>>                                                    -Richard Eid
>>
>>
>> On Sat, Dec 19, 2009 at 4:28 PM, John <[email protected]> wrote:
>>
>>> I can vouch for the same problem on my own Left 4 Dead and Left 4 Dead 2
>>> servers. My roommate and I can both connect to some dedicated servers,
>>> however my own and a few others, one of us gets in and the other
>>> eventually times out and is never able to connect.
>>>
>>> Richard Eid wrote:
>>> > Is your server denying them the connection or is it just a local
>>> > timeout
>>> on
>>> > their end?  Have they set +clientport on one of the clients so they
>>> > both
>>> > aren't trying to connect through the same port?
>>> >
>>> >                                                     -Richard Eid
>>> >
>>> >
>>> > On Sat, Dec 19, 2009 at 2:44 PM, Tony Paloma <[email protected]
>>> >wrote:
>>> >
>>> > _______________________________________________
>>> > To unsubscribe, edit your list preferences, or view the list archives,
>>> please visit:
>>> > http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>> >
>>>
>>>
>>> _______________________________________________
>>> To unsubscribe, edit your list preferences, or view the list archives,
>>> please visit:
>>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>>
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, 
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux 


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to