[bf1942] bind BF2 to non-primary IP-address?

ScratchMonkey ScratchMonkey at MatureAsskickers.net
Thu Jun 16 07:17:06 EDT 2005

--On Thursday, June 16, 2005 12:54 PM +0200 Per Kristiansen 
<per at gathering.org> wrote:

> so what I did was set the IP in the server config file (sv.serverIP)
> to my "second" IP.

There's another address in the file, sv.interfaceIP. I set it in both and 
it seems to be doing the right thing.

> bf2_f      7781    games    3u  IPv4 136453318       UDP *:29900
> bf2_f      7781    games    6u  IPv4 136453323       UDP *:41195
> bf2_f      7781    games    7u  IPv4 136453327       UDP <Primary
> IP>:16567 bf2_f      7781    games    8u  IPv4 136453326       TCP *:4711
> (LISTEN) bf2_f      7781    games   11u  IPv4 136453401       UDP *:55124
> bf2_f      7781    games   12u  IPv4 136453402       UDP *:55125

> but it SEEMS to bind to all the ip's on the server, atleast when I use
> nmap to scan for port 4711  on my host i see it on both ip's

Looks like it binds to sv.interfaceIP for the game port only. For all other 
ports, it binds to all interfaces. (The "*" means all interfaces.)

I don't have the TCP port in my list, presumably because I haven't set up 
rcon yet.

The 5512x ports are for VOIP. You can specify the interface for VOIP to 
listen on with sv.voipServerRemoteIP.

I've also got *:33969 listed, and I'm wondering what that is.

More information about the Bf1942 mailing list