Hello!
I have this in my config file:
auth-user-pass-verify "/usr/local/php-servers/7.3/bin/php /home/scripts/openvpn-login.php" via-file
When openvpn is run in DAEMON mode, i get this:
WARNING: Failed running command (--auth-user-pass-verify): external program exited with error status: 255
If openvpn is running in foregroud, everythink is working good.
I suppose this has to do with redirecting STDOUT, STDERR ??
auth-user-pass-verify and PHP script
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: 1
- Joined: Sat Apr 13, 2019 8:35 pm