This is an old revision of the document!
9 PCRF Policy Server
PCRF provides proxying requests from fastDPI to the Radius server. It is a part of the standard Stingray Service Gateway installation package, but if necessary, it can be used as a dedicated server.
Hardware Recommendations
In order to run PCRF you can use the following hardware or virtual machines matching the following characteristics:
- CPU 2.5 GHz, 1 pcs
- RAM 512 MB - 1 GB
- HDD 50 GB - 250 GB
- Operating system Cent OS 6.4+, 8+
- NIC ranging from 10 Mb/s
Installation
- Install the Network Time Protocol daemon
yum install ntp -y ntpdate pool.ntp.org service ntpd start chkconfig ntpd on
- Add vasexperts repository
rpm --import http://vasexperts.ru/centos/RPM-GPG-KEY-vasexperts.ru rpm -Uvh http://vasexperts.ru/centos/6/x86_64/vasexperts-repo-2-1.noarch.rpm
- Install the fastPCRF
yum install fastpcrf
- Make sure the service is running
service fastpcrf start
- Сonfigure fastpcrf service to run at startup
chkconfig fastpcrf on
- Open firewall ports in order to access the fastDPI and Radius servers
vi /etc/sysconfig/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT #Radius -A INPUT -m state --state NEW -m udp -p udp --dport 1812 -j ACCEPT -A INPUT -m state --state NEW -m udp -p udp --dport 1813 -j ACCEPT -A INPUT -m state --state NEW -m udp -p udp --dport 3799 -j ACCEPT #fastDPI -A INPUT -m state --state NEW -m tcp -p tcp --dport 29002 -j ACCEPT
and restart firewall for the rules to take effect
service iptables restart
- Disable selinux 1)
setenforce 0 vi /etc/selinux/config SELINUX=disabled
1)
temporary solution