Documented public_ip configuration option
[silc.git] / doc / example_silcd.conf.in
index 648da6c01ca4efbf0847dfd9d946ded1c001db86..32bb7be4545af70c56f69e119ab74389509f38cf 100644 (file)
@@ -74,6 +74,17 @@ General {
        # with ConnectionParams.
        keepalive_secs = 300;
 
+       # Dynamic router connections.  If this is set for normal SILC server
+       # the connection to primary router is not created untill it is actually
+       # needed.  Giving for example /WHOIS foobar@silcnet.org would then
+       # create connection to the primary router to resolve user foobar.
+       # On the other hand giving /WHOIS foobar would try to search the
+       # user foobar locally, without creating the connection.  Note that
+       # giving /JOIN foobar will also created the connection as current
+       # SILC Server version supports only global channels (all JOINs require
+       # connection to router, if one is configured).
+       #dynamic_server = true;
+
        # Default reconnection parameters defines how the server reconnect
        # to the remote if the connection was lost.  The reconnection phase
        # use so called exponential backoff algorithm;  The reconnect
@@ -179,10 +190,12 @@ ServerInfo {
 
        #
        # Primary listener.  Specify the IP address and the port to bind
-       # the server.
+       # the server.  The public_ip can be used to specify the public IP
+       # if the server is behind NAT.
        #
        Primary {
                ip = "10.2.1.6";
+               # public_ip = "11.1.1.1";
                port = 706;
        };