SRCDS Steam group


Ports
#1
Question 
Hi,

Really, really new to this as it has been landed on my lap, so over the next week or so there might be some really sad posts going up in the forumsSad

In a situation where we have 4 cpus for 4 srcd servers (games) all on the same IP, I already read the post on changing the IP address so thats not too bad, tricky part will be for me is how do i assign the port of my choice to that IP??

thanks for looking
Reply
#2
if the servers are on the same machine. and like you said, the same IP (internap IP) then forwardin the ports to for example

192.168.0.3 is all you would need.

when you cahnge the IP i think you mean changin the port. so you have 4 servers an example would be

192.168.0.3:27015
192.168.0.3:27016
192.168.0.3:27017
192.168.0.3:27018

so since when you "change IP"

all you're doing is changing port. you wont have a problem since you forwarded the ports to 192.168.0.3 not the port itself.
[Image: 461031727.png]

Reply
#3
Hi,


Here is an example of what I have atm:
Example: 123.123.123.123:27015
123.123.123.123:27025
123.123.123.123:27035
123.123.123.123:27045
Then I recieved additional IPs for the box that is being rented.

So now I can have:
123.123.123.123:27015
246.246.246.246:27015
432.432.432.432:27015
678.678.678.678:27015

I orginal kept a 10 space in the ports as steam likes this, but now will have 3 additional IPs, letting us have 4 servers ending in the port :27015
But I don't know how to assign the ports to the new IPs, well I don't really know how to assign the IPs but I have that tutuorail for reference.
Reply
#4
Server1: -ip 192.168.1.1 -port 2715
Server2: -ip 192.168.1.2 -port 2715
Server3: -ip 192.168.1.3 -port 2715
Server4: -ip 192.168.1.4 -port 2715

Just put the correct IPs in and port.
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#5
Thx,
Going to have a go at breaking it tomomo.....*cough going to have a go at adding these IP's Smile
Reply
#6
"Just put the correct IPs in and port. "

Tried this after a long prcoess..........

Now the can of worms I have now is that I cannot log into the server that I changed the IP, and no idea how to

I thought as the old server was bound to 1 cpu it would be easier to change the game from css to dods, change the ip to a new one and Bob's your uncle.
Sadly not......eck
Reply
#7
Go open up a cmd prompt and type in ipconfig /all and use the IPs listed there (not the dns or gateway)
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#8
^^Sorry dude, this is linux.
Reply
#9
try ifconfig for linux



*600
Reply
#10
ifconfig -a
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)