Gproxy configuration

Running Gproxy

If you start up Gproxy without any parameters, it will run in background mode where it will perform primary tasks like load monitoring Ggate gateways and redirect client connections (i.e. 'load balancing'). If you want to enable HTML reports, run Gproxy in foreground or maybe communicate with SNMP managers, parameters can be set in the gproxy.cfg file or on the command line.

If you want Gproxy to generate HTML reports, a WWW server must be installed on the same system (or Gproxy must generate its report in a file system reachable for a WWW server) and you must install the Gproxy components for the WWW server.

Gproxy parameters:

Parameter Parameter value Description
-pt vdu/html Presentation type - default none
-rt det/sum/mib/gw/rte/hex/load/user/all Report types to be generated - default 'sum'
-hp pathname Pathname where report HTML files should be created
-bg   Background mode (default)
-log   Act as G&R server, generate logfile
-nlb   Disable load balancing
-snf x.x.x.x Redirect to same subnet first (IP mask of subnet)
-sno   Redirect to same subnet only (IP mask of subnet)
-ipn   Use numeric IP address format on all reports
-erX   Exclude reporting of record type X (1-5)
-nlb   Disable load balancing
-uc N Enable user statistics, max N users
-uid ip/guid Use IPaddress or GUID as user ID (default IP)
-gw x.x.x.x Enable gateway monitor mode for gateway x.x.x.x (IP address)
-mipX x.x.x.x Enable SNMP, manager X (1-4) address =
-efX   SNMP, exclude reord type X (i.e. as SNMP trap)
-co name SNMP community name
-dbg   Enable debug mode

Important notice about loadbalancing

In order to perform loadbalancing, it is neccessary for Gproxy to take over the TCP/IP port number (30841) which is otherwise used by Ggate to receive client connections. This implies that Ggate must be set up to use another port. In the Windows case, you can simply set the portnumber on the Ggate (gg_tcp) command line in the gservice.cfg file - e.g. 'gg_tcp -lp 30843 -log ...'. On UNIX systems, this is normally done in the '/etc/services' file e.g. if you want to change Ggate portnumber to 30843, the 'services' could contain a line like this:

     ggate     30843/tcp