The Fastpcrf server application can be installed on the same server as the fastDPI or on another one.
The configuration is set in the file /etc/dpi/fastpcrf.conf. Minimal configuration:
# For SSG 8.3+: two fastDPI servers work with one fastpcrf fdpi_server=127.0.0.1%lo:29000;attr_nas_ip=10.20.30.40 fdpi_server=192.168.20.10%eth2:29000 # For SSG up to version 8.3 #fdpi_server_list=127.0.0.1%lo:29000;192.168.20.10%eth2:29000 radius_server=secret@192.168.10.20%eth1:1812 radius_server=secret2@192.168.10.21%eth1:1812
Here:
• fdpi_server
- [SSG 8.3+] specifies one fastdpi server. Each fastdpi server is described by a separate parameter. Format: fdpi_server=ip%dev:port[;name=value]*
, where
ip
- fastDPI server IP address;dev
- on which local interface to create a connection with fastDPI;port
- management port fastDPI (usually 29000)name=value
- additional attributes of this fastdpi server:attr_nas_ip
- IPv4 address for Radius attribute NAS-IP-Address
; if not set, the fastdpi IP address is used (ip
);attr_nas_ipv6
- the value of the NAS-IPv6-Address
Radius attribute for this fastdpi;attr_nas_id
- the value of the NAS-Identifier
attribute for this fastdpi
• fdpi_server_list
- [SSG prior to version 8.3] list of fastDPI servers served by this fastpcrf. You can specify up to 16 different servers.
Server job format: ip%dev:port
, where:
ip
- fastDPI server IP address,dev
- on which local interface to create a fastDPI connection,port
- control port fastDPI (usually 29000).ctrl_port
) and in fastpcrf.conf.
ctrl_dev
parameter in the fastdpi.conf configuration file. If fastPCRF is being installed on a standalone server, the ctrl_dev
parameter must be properly configured with an interface name other than lo
for fastDPI and fastPCRF communication
• radius_server
- specifies one radius server. Each radius server (usually two of them - main and backup) is specified in a separate radius_server parameter.
Format: secret@ip%dev:port
where:
secret
- Radius secret,ip
- Radius server IP address,dev
- name of the local interface on which to establish a connection,port
- Radius auth port. It is possible to specify up to 16 Radius servers, while the first one in the order of declaration in fastpcrf.conf is considered the main one, the rest are reserve ones.
fastpcrf.conf
has many other configuration parameters related to fine-tuning the interaction with Radius servers.
systemctl enable fastpcrf