Page 1 of 1

servers.cfg

Posted: Sun Jun 03, 2012 7:10 am
by westrupp
How I can release connections to inside network?

Example...

Players out from network connect with westrupp.no-ip.org port 5003
Players inside network 192.168.2.1 connect with local IP of pol...
Players inside network 192.168.1.1 connect with local IP of pol...

I want release all network, like 192.168.2.0/24

Thx.

Re: servers.cfg

Posted: Mon Jun 04, 2012 12:03 am
by xeon
There's a nice directive to be used in servers.cfg, "--lan--".

Like this:

Code: Select all

GameServer
{
    Name    Server
    IP        --lan--
    Port    2596
}
From 096 documentation (http://docs.polserver.com/pol096/configfiles.php):
--lan-- attempts to find you non-routable LAN IP address, if any (i.e. '192.168.*.*' or '10.*.*.*').
Port is the listening port of the Game Server, not the login server (though they may be the same). See ListenPort in pol.cfg

Re: servers.cfg

Posted: Mon Jun 04, 2012 2:26 am
by RusseL