Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:dpi:dpi_components:pcrf [2022/03/29 13:02] – edrudichgmailcom | en:dpi:dpi_components:pcrf [2024/09/26 15:29] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 2 PCRF Policy Server | + | ====== |
+ | {{indexmenu_n> | ||
+ | |||
+ | 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 8.5, [[en: | ||
+ | - NIC ranging from 10 Mb/s | ||
+ | |||
+ | ===== Installation ===== | ||
+ | - Install the Network Time Protocol daemon < | ||
+ | systemctl restart chronyd | ||
+ | timedatectl</ | ||
+ | - Add vasexperts repository < | ||
+ | rpm -Uvh http:// | ||
+ | - Install the fastPCRF < | ||
+ | - Make sure the service is running < | ||
+ | - Сonfigure fastpcrf service to run at startup< | ||
+ | - Open firewall ports in order to access the fastPCRF and Radius servers< | ||
+ | firewall-cmd --permanent --zone=public --add-port=3799/ | ||
+ | firewall-cmd --permanent --zone=public --add-port=29002/ | ||
+ | </ | ||
+ | and restart firewall for the rules to take effect < | ||
+ | - Disable selinux ((temporary solution))< | ||
+ | vi / | ||
+ | SELINUX=disabled</ | ||
+ | |||
+ | |||
+ | ===== Installation of the fdpi_cli and fdpi_ctrl utilities on the PCRF server ===== | ||
+ | |||
+ | You can get these utilities from the server where '' | ||
+ | The utility files are located in ''/ | ||
+ | - Copy the utilities to the home directory < | ||
+ | cp / | ||
+ | cp / | ||
+ | </ | ||
+ | - Move these files to the server where '' | ||
+ | |||
+ | How to use the utility: | ||
+ | < | ||
+ | fdpi_cli -r 1.1.1.1 dpi config get trace_ip | ||
+ | fdpi_cli -r 2.2.2.2 pcrf config get verbose | ||
+ | fdpi_ctrl -r 1.1.1.1: | ||
+ | </ | ||
+ | Server address – '' | ||
+ | Server address – '' | ||