beautypg.com

Chapter 7. setting up push proxy gateway, Setting up push proxy gateway, 1. ppg core group configuration variables – Nokia WAP and SMS gateway User Manual

Page 91

background image

Chapter 7. Setting up Push Proxy Gateway

This chapter explains how to set up a push proxy gateway (PPG). An example configuration file are
given. A working push proxy gateway is described.

Configuring ppg core group, for push initiator (PI)
interface

PPG configuration group defines gateway’s service interface. Configuring a PPG working with a trusted
PI is easiest. Actually, you need no configuration at all: in this case a PPG with default values will be set
up. Do not rely on this, default values may change. For PPG core configuration variables, see table 7.1.

An example of a core configuration for PPG working only with specific addresses follows. Note that
ppg-deny-ip-list is not actually necessary, but does make configuring simpler: IPs here are always denied,
even when they are mentioned in the allowed IPs list.

Ppg-url is a simple stamp, used for routing requests to the right service. You can change this stamp by
setting

push-url

configuration variable.

group = ppg

ppg-url = /wappush

ppg-port = 8080

concurrent-pushes = 100

users = 1024

ppg-allow-ip = 194.100.32.125;127.0.0.1

ppg-deny-ip = 194.100.32.89;194.100.32.103

trusted-pi = false

Table 7-1. PPG core group configuration variables

Variable

Value

Description

group

ppg

Mandatory value. Tells that we

are configuring the PPG group.

ppg-port

number

The port PPG is listening at.

Default 8080.

ppg-ssl-port (o)

number

Mandatory value for PPG

HTTPS support. The port at
which PPG listens for HTTPS
requests. There are no defaults;
you must set the value separately.

ssl-server-cert-file

string

Mandatory value for PPG

HTTPS support. The file
containing server’s ssl certificate.

84