In order to authorize clients with a negative balance Accel-ppp to add IP addresses to the ipset list, add the following to its configuration, in the ipoe section:
I will give an example of updating the accel-ppp, the commands need to be executed as root user.
On the test, I’ll run accel-ppp in Ubuntu Server 16.04 LTS for ABillS.
I’ll give an example of the scripts I used before, in the allowip list IP addresses were added to which the Internet is allowed, and in denyip those were redirected to the http page with information about the negative deposit.
Once after installation ABillS + FreeRADIUS2 + Accel-PPP (ipoe) noticed that for DHCP clients receive only one DNS server. Access-Accept from FreeRADIUS was this:
Once on the access server, Ubuntu Server 16.04 and Accel-ppp noticed the following messages in the /var/log/kern.log file: First I tried to track which interfaces are being raised at this moment:
It took one day to write a script to add to ipset all the IP for which the session was started on the access server, Abills billing was used, so I decided to take IP addresses from the MySQL billing table. The first step is to create a test ipset:
In this article, I’ll give an example of how to build and install accel-ppp in Ubuntu Server.