Hi if posible to allow pppoe customer with negative deposit attribute, to send to a website saying about not pay exist any attribute for allow the conection with a address list like in mikrotik or a filter of negative deposit like juniper
Hello @AlvinTLC , technically it is possible, PPPoE daemon allows to use of a custom script when session UP/DOWN/CHANGE but it is not implemented in VyOS CLI.
[module]
pppd_compat
sigchld
[pppd-compat]
verbose=1
radattr=/var/run/pppoeattr
ip-up=/config/script/ip-up
ip-down=/config/script/ip-down
ip-change=/config/script/ip-change
So the main idea to check attribute by script ip-up
and add client IP to some ipset
@AlvinTLC latest 1.4 rolling already has the extended-scripts feature.
https://phabricator.vyos.net/T3546