MPD5 VPN and up-down scripts

riselost

New Member

Reaction score: 1
Messages: 6

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.
 
OP
R

riselost

New Member

Reaction score: 1
Messages: 6

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.
 

Lamia

Well-Known Member

Reaction score: 84
Messages: 467

It is less secure when compared to OpenVPN, wireguard and a few others.
 
OP
R

riselost

New Member

Reaction score: 1
Messages: 6

I use it only for a few people, the port is open only with certain IPs, that's why mpd5 works quite well.
 
Top