"Fossies" - the Fresh Open Source Software Archive

Member "portfwd-0.29/cfg/load-balance.cfg" (13 Apr 2002, 588 Bytes) of package /linux/privat/old/portfwd-0.29.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) INI source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 /*
    2   load-balance.cfg
    3 
    4   $Id: load-balance.cfg,v 1.2 2002/04/13 05:05:38 evertonm Exp $
    5  */
    6 
    7 tcp {
    8     /*
    9      * Connections to port 10000 are distributed
   10      * between localhost:11000 and localhost:12000.
   11      */
   12     10000 { => localhost:11000, localhost:12000 };
   13 
   14     /*
   15      * Regression test for backward compatibility.
   16      */
   17     13000 { => localhost:11000 }
   18 }
   19 
   20 udp {
   21     /*
   22      * Datagrams to port 20000 are distributed
   23      * between localhost:21000 and localhost:22000.
   24      */
   25     20000 { => localhost:21000, localhost:22000 };
   26 
   27     /*
   28      * Regression test for backward compatibility.
   29      */
   30     23000 { => localhost:21000 }
   31 }