pptps: mpd.conf:38: Unknown command

Started by M@rch0n, October 19, 2018, 05:33:20 PM

Previous topic - Next topic
Hello everyone,

I have a challenge that is to migrate an iptables to OPNsense.

The challenge is to have students on the internal network have bandwidth control and usage quota.

In short;
Each student is entitled to access speed of bandwidth 10Mbps internet and per month he has a quota of 5G, when he reaches that consumption of 5G within the month he has his access blocked.

The current solution has a firewall with iptalbles and pptp server. All clients/student, which are internal, establish pptp connection with this firewall, this query the DaloRadius that does the AAA. And so it's been working for several years.

I configured OPNsense with Captive Portal, but it only controls bandwidth, which means it limits the speed.
I configured the FreeRadius plugin, but it also only controls speed. Even activating the ChilliSpot option only controls the speed (bandwidth).
I also tested the PPTP server (PPTP server based on MPD5) plugin, the connections are established and authenticated successfully using DaloRadius as a base, but OPNsense is not sending the statistics accounting to DaloRadius.

When I select the "Enable RADIUS accounting" option the following error occurs in the log "Oct 19 10:20:50 OPNsense pptps: mpd.conf: 38: Unknown command: 'set radius acct-update 300'.

In an initial troubleshooting I have already disabled the firewall rules, I have already done tcpdump on the firewall and DaloRadius interfaces and I do not see the accounting packets.

Plug-in os-pptp -> PPTP server based on MPD5
Firmware OPNsense 18.7 2018-07-31
I have already upgraded to the latest release and also to the OPNsense version 19.1.b_54-amd64.

Has anyone had this problem? Or would they have another way to solve this challenge?