Here are some recommendations for setting up a server on which Accel-ppp will work.Continue reading “Preparing a Linux server before installing Accel-ppp”
In this article I will give an example of IPTables rules for Accel-ppp.Continue reading “IPTables rules for Accel-ppp”
I will give an example of accel-ppp build with debugging information support, for example, in order to find out the cause of the crash.Continue reading “Accel-ppp debug”
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:Continue reading “Configuring L4-Redirect-ipset for Accel-ipoe and ABillS”
I will give an example of updating the accel-ppp, the commands need to be executed as root user.Continue reading “How to update accel-ppp”
On the test, I’ll run accel-ppp in Ubuntu Server 16.04 LTS for ABillS.Continue reading “Install and configure accel-ppp (IPoE) 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.Continue reading “Ip-up and ip-down scripts with ipset for Accel-ppp”
Once after installation ABillS + FreeRADIUS2 + Accel-PPP (ipoe) noticed that for DHCP clients receive only one DNS server.
Access-Accept from FreeRADIUS was this:
Sending Access-Accept of id 1 to 127.0.0.1 port 57481 Session-Timeout = 604800 PPPD-Downstream-Speed-Limit = 51200 Framed-IP-Netmask += 255.255.255.0 Framed-IP-Netmask += 255.255.255.0 Acct-Interim-Interval = 600 DHCP-Domain-Name-Server += 22.214.171.124 DHCP-Domain-Name-Server += 126.96.36.199 PPPD-Upstream-Speed-Limit = 51200 Framed-IP-Address = 172.20.20.20 Finished request 40.Continue reading “ABillS + FreeRADIUS + Accel-PPP only issue one DNS”
Once on the access server, Ubuntu Server 16.04 and Accel-ppp noticed the following messages in the /var/log/kern.log file:
kernel: [365970.550498] HTB: quantum of class 10001 is big. Consider r2q change. kernel: [365970.550547] HTB: quantum of class 10A49 is big. Consider r2q change. kernel: [365979.545580] HTB: quantum of class 10001 is big. Consider r2q change. kernel: [365979.545621] HTB: quantum of class 10BD6 is big. Consider r2q change. kernel: [365995.601973] HTB: quantum of class 10001 is big. Consider r2q change. kernel: [365995.602031] HTB: quantum of class 11705 is big. Consider r2q change.
First I tried to track which interfaces are being raised at this moment:
tail -f /var/log/kern.log | grep "quantum of class 10001 is big" tail -f /var/log/accel-ppp/accel-ppp.log | grep "create interface"
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:
ipset create test iphash