[bf1942] bind BF2 to non-primary IP-address?
Per Kristiansen
per at gathering.org
Thu Jun 16 07:21:19 EDT 2005
On Thu, Jun 16, 2005 at 04:17:06AM -0700, ScratchMonkey wrote:
> --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.
no..let me clarify..the IP that port 16567 binds to is the primary..no matter
what I put in the serversettings it ALLWAYS binds to it.
but when I look at the server monitor it shows the IP I set in the server vonfig file :)
and also..the second port (41195) is ALLWAYS diffrent.
I just started up the server again and now it's 43548
--
Per Kristiansen
per at gathering.org
More information about the Bf1942
mailing list