|
This is the manual for GNU Gatekeeper 5.13. Chapters: Contents · Introduction · Installation · Getting started · Basic Config · Routed Mode & Proxy · Routing · RAS Config · Authentication · Accounting · Neighbors · Per Endpoint Config · Advanced Config · Monitoring · Advanced Topics
The GNU Gatekeeper Manual Chapter 22. Compiling and Installing2.1 Pre-requisites for CompilingTo build the gatekeeper you need PTLib and H323Plus. Please see https://www.gnugk.org/compiling-gnugk.html for up-to-date information on required library versions. To successfully compile the GNU Gatekeeper you must first compile the pre-requisites in this order:
On Unix, run NOTE: You must use either 2.2 Installing on UnixThe first step is to get an executable: You can either download an executable for your flavour of Unix from gnugk.org, use the executable your distribution provides or compile the GNU Gatekeeper yourself. For simple installations or to try the features of the gatekeeper, using pre-built executables shouldn't pose any issues, but for professional installations it is always recommended that you self-compile GnuGk. Installing a binary of GnuGkCopy the executable to the directory you like and create a config file.
There are several config examples and auto startup scripts in the For example you may copy GnuGk to
See section
Command Line Options for details on the command line options.
If you expect to run large numbers of calls (more than 100 concurrent calls), make sure the GNU Gatekeeper gets enough sockets and stack space, eg. set "ulimit -n 10240 -s unlimited" before starting it. Compiling the GatekeeperYou are strongly encouraged to execute Type
to see a detailed list of all compile-time
options. You can use them to enable or disable features of the gatekeeper.
For example, if you do not need RADIUS just type:
In order to use the gatekeeper under heavy load, enabling the LARGE_FDSET feature is recommended (configure --enable-large-fdset). Some systems also need to use ulimit in order to allow more than 1024 sockets to be allocated for a single process. The maximum number of sockets needed for video calls should be calculated based upon predicted maximum sockets usage using the following formula:
So for 100 concurrent voice calls you don't need more than 1024 sockets.
Please not that you will need way less sockets when using H.245 and RTP multiplexing with H.460.18. As a final step, you must either use 2.3 Installing on WindowsThe first step is to obtain the executable program; you can either download it from gnugk.org or compile the GNU Gatekeeper yourself. There are two versions of the gatekeeper available: A regular program and a service. Installing as a ProgramThese are the steps for a manual installation: Copy Then start the gatekeeper manually from the command line ('cmd.exe') or create a batch file to start it. For example you may copy GnuGk to
See section
Command Line Options for details on the command line options.
Remember to add GnuGk as an exception for the Windows Firewall so it can communicate freely with the network. Installing as a ServiceThese are the steps for a manual installation; there may be a binary version of the Gatekeeper-as-service which includes a GUI installer program available in the download location. First, ensure that you have the service version of GnuGk before you proceed. Copy To register the service, run the following command from the command line ('cmd.exe'):
Your service is now installed and will be started on the next reboot, or you may start it manually using the Windows Control Panel -> Services function. On Windows Vista and Windows 7, you may have to disable UAC during the service installation. When running GnuGk as a service, it will always look for a config file named Remember to add GnuGk as an exception for the Windows Firewall so it can communicate freely with the network. Compiling the GatekeeperOnce you have compiled the pre-requisites as specified at the beginning of
this section and have the appropriate include/library paths configured, open and
compile one of the provided solution files ( 2.4 The addpasswd utilityStatus port authentication and many other authentication modules, like SimplePasswordAuth, require
encrypted passwords to be stored in the gatekeeper configuration file.
The gatekeeper also supports encryption of all passwords
in the config. The
The usage is:
Example 1: 'gkadmin' user with 'secret' password has to be added to the [GkStatus::Auth] config section to enable authentication on the status port:
Example 2: 'joe' user with 'secret' password has to be added to the [Password] config section to enable endpoint authentication:
Example 3: An encrypted shared secret is added to a RadAuth config section:
IMPORTANT: The Next Previous Contents Chapters: Contents · Introduction · Installation · Getting started · Basic Config · Routed Mode & Proxy · Routing · RAS Config · Authentication · Accounting · Neighbors · Per Endpoint Config · Advanced Config · Monitoring · Advanced Topics
|
Last updated: 21. Jan 2025 |