10-20-2010, 02:28 AM
Hello all,
I have searched the forums, and except for this gentleman noone tried anything similar to what I am trying, thus the new thread.
I want my single srcds server to be available via multiple IP addresses. I have two upstream links and my users could benefit from accessing the server from different geographical areas via relevant (faster) links.
My server is on linux, it is currently run with command
so server listens on default IP address on port 27015:
I have multiple interfaces installed, with multiple IP addresses -
eth1 has a private IPv4 address from my LAN,
eth2 has a private IPv4 address from the same LAN (and it has IPv6 address, but that's irrelevant)
I also have firewall capable of doing NAT; at the moment I have one public IP address NATed to eth1, and other public IP address NATed to eth2; however my server registers with first public IP and is not available via other IP. I was trying to add two addresses with +ip or -ip, two with just one switch, but whatever I do it always registers with first address given and ignores next IP.
I really want the SAME game to be available from different IP addresses, than I can publish one C class via other ISP and offer lower latencies to some clients that have high ping atm via first provider. See, problem is that same clan members needs to practice, and one third of players has better ping via secondary link, while majority works better via first link...so I really want everyone to be able to join same server, but via different physical routes. Is there any hope? I have full root access to the server, I can change OS if that would matter, I am capable of configuring server and firewall, and the way I configured it would work perfectly fine with Apache, so I reckon problem is with the server-client relationship where my server insists to use single IP (thus single route) to register with Master B®owser. I do not even need server to be available via browser with both addresses, I just need it to be available for game via two IPs.
If you ppl have any idea I would appreciate help since I've been trying to figure this out all afternoon :] Thanks for the reading if you came this far, even if you can't help :]]]
I have searched the forums, and except for this gentleman noone tried anything similar to what I am trying, thus the new thread.
I want my single srcds server to be available via multiple IP addresses. I have two upstream links and my users could benefit from accessing the server from different geographical areas via relevant (faster) links.
My server is on linux, it is currently run with command
Code:
/bin/sh ./srcds_run -game tf -autoupdate -tickrate 66 -maxplayers 24 +map cp_granary -debug -dir . &
Code:
netstat -lpn | grep src
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 127.0.1.1:27015 0.0.0.0:* LISTEN 1482/srcds_linux
udp 0 0 0.0.0.0:27005 0.0.0.0:* 1482/srcds_linux
udp 0 0 0.0.0.0:27015 0.0.0.0:* 1482/srcds_linux
udp 312 0 0.0.0.0:27020 0.0.0.0:* 1482/srcds_linux
udp 0 0 0.0.0.0:26901 0.0.0.0:* 1482/srcds_linux
I have multiple interfaces installed, with multiple IP addresses -
eth1 has a private IPv4 address from my LAN,
eth2 has a private IPv4 address from the same LAN (and it has IPv6 address, but that's irrelevant)
I also have firewall capable of doing NAT; at the moment I have one public IP address NATed to eth1, and other public IP address NATed to eth2; however my server registers with first public IP and is not available via other IP. I was trying to add two addresses with +ip or -ip, two with just one switch, but whatever I do it always registers with first address given and ignores next IP.
I really want the SAME game to be available from different IP addresses, than I can publish one C class via other ISP and offer lower latencies to some clients that have high ping atm via first provider. See, problem is that same clan members needs to practice, and one third of players has better ping via secondary link, while majority works better via first link...so I really want everyone to be able to join same server, but via different physical routes. Is there any hope? I have full root access to the server, I can change OS if that would matter, I am capable of configuring server and firewall, and the way I configured it would work perfectly fine with Apache, so I reckon problem is with the server-client relationship where my server insists to use single IP (thus single route) to register with Master B®owser. I do not even need server to be available via browser with both addresses, I just need it to be available for game via two IPs.
If you ppl have any idea I would appreciate help since I've been trying to figure this out all afternoon :] Thanks for the reading if you came this far, even if you can't help :]]]