View Full Version : Linux Server Multihome
General.Jung
08-15-2007, 02:12 PM
Hello Forum,
I never set up any Doom, QUAKE or Wolfenstein Server. So I have no idea how I bind the server on one IP and the modwiki can not help! How I set up the IP?
Kamikazee
08-15-2007, 02:15 PM
Most servers don't need to be bound to an IP - just connect to any IP your box has and it should work.
Or do you want to restrict access when someone tries to connect to one of the IP's?
General.Jung
08-15-2007, 02:19 PM
Hello Kamikazee,
thanks I know that. But I want to bind it. The paramter +ip does not work.
Kamikazee
08-15-2007, 03:22 PM
That's because Doom 3 hasn't got an "ip" command or Cvar. You could try net_ip (http://www.modwiki.net/wiki/Net_ip_%28cvar%29) though, it looks like the thing you are looking for.
Either way, it could still be possible to connect to the server using a different IP. If that's not what you want, you could change the particular game server's port using net_port (http://www.modwiki.net/wiki/Net_port_%28cvar%29) and block access to that port from all other IPs using a firewall rule.
spirit
08-15-2007, 03:30 PM
use this on the commandline:
+set net_ip <yourIP>
It works:
etqw@airrocket:~$ netstat -na | grep 27733
udp 0 0 85.25.52.242:27733 0.0.0.0:*
(The second IP block is the foreign IP, just ignore it or see "man netstat").
General.Jung
08-15-2007, 05:34 PM
Hello Guys,
thanks for your fast replies.