Hi,
I am trying to implement a login and logoff script that emails me when someone connects to my OpenVPN server but when I add the lines below to my server.conf users are unable to authenticate anymore.
I am using certificate, user account & PAM for two factor authentication,
client-connect /etc/openvpn/statuschange.sh
client-disconnect /etc/openvpn/statuschange.sh
script-security 2
Any thoughts?
Thanks
Julian
OpenVPN Logon and Logoff scripts
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Mon Feb 19, 2018 8:23 am