That's really good to know, thank you!

On 12 July 2010 20:43, Milton Ngan <[email protected]> wrote:
> You can control the client, host and tv port using convars on the command 
> line.
>
> +clientport <portnum>
> +hostport <portnum>
> +tv_port <portnum>
>
> (or alternately placing these into a config file that is refernced via +exec 
> on the command line)
>
> Steam also uses a port that will auto-increment, but this is controlled from 
> the command line option: -steamport
>
> e.g
>
> srcds_run -game cstrike +clientport 27005 +hostport 27015 +tv_port 27020 
> -steamport 26001
>
> or
>
> srcds_run -game cstrike +exec server01.cfg -steamport 26001
>
> server01.cfg:
>        clientport 27005
>        hostport 27015
>        tv_port 27020
>
>
> We do this a lot with left4dead servers in forked mode. The ports numbers are 
> too close to one another to run a lot of instances before they overlap, which 
> causes problems.
>
>
>
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Daniel Vogel
> Sent: Monday, July 12, 2010 8:30 AM
> To: Half-Life dedicated Linux server mailing list
> Subject: Re: [hlds_linux] Bind Client port- Linux
>
> I'm sure he means this:
> Network: IP ???.???.???.???, mode MP, dedicated Yes, ports 28001 SV / 27006 CL
> the "27006 CL" part.
> I'm interested in that too, since I can see the ports counting up
> every time I start a new server on the machine, but I'd rather want
> them to be in the 28xxx range as well.
>
> On 12 July 2010 16:08, David A. Parker <[email protected]> wrote:
>> You mean the port that a client connects to?  You just use -port to specify
>> that.  The default it 27015 (UDP).
>>
>> Michael K. Gosvig wrote:
>>>
>>> Hi all.
>>>
>>>
>>> Can any of you guys tell me if there is a way to bind the Client port on
>>> Linux Source servers. We have been trying "-clintport XXXXX",
>>>
>>> But the server still seems to take a random port each time.
>>>
>>> Michael
>>>
>>> _______________________________________________
>>> To unsubscribe, edit your list preferences, or view the list archives,
>>> please visit:
>>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>>
>>
>> --
>>
>> Dave Parker
>> Systems Administrator
>> Utica College
>> Integrated Information Technology Services
>> (315) 792-3229
>> Registered Linux User #408177
>>
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>
>
>
>
> --
> Mit freundlichen Grüssen,
> Sincerely Yours,
> Daniel Vogel
>
> _______________________________________________
> 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
>



-- 
Mit freundlichen Grüssen,
Sincerely Yours,
Daniel Vogel

_______________________________________________
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