MPD5 VPN and up-down scripts

Hi ppl.

I have mpd5-5.8_10 Multi-link PPP daemon based on netgraph(4)
FreeBSD 12.1-RELEASE-p3 GENERIC amd64

Previously, it had such scripts:
Code:
set iface up-script
set iface down-script
It was possible to run any script when a user connected. Now this option is not in the config.
Is there any way to add such an opportunity?
My goal is to inform the administrator about the connection by mail.
 
The problem was the placement of the rows. After posting them after...
Code:
       create bundle template B
        set iface up-script /usr/local/etc/mpd5/up
        set iface down-script /usr/local/etc/mpd5/down
everything worked.
 
I use it only for a few people, the port is open only with certain IPs, that's why mpd5 works quite well.
 
Back
Top