--auth-user-pass-verify output logging

Scripts which allow the use of special authentication methods (LDAP, AD, MySQL/PostgreSQL, etc).

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
aaronc-rae
OpenVpn Newbie
Posts: 1
Joined: Mon Feb 27, 2023 4:39 pm

--auth-user-pass-verify output logging

Post by aaronc-rae » Mon Feb 27, 2023 4:54 pm

Hello Everyone,

I am nearing completion of a script that authenticates VPN users against Okta for MFA.

info:
I am running a Netgate firewall with OpenVPN

Code: Select all

OpenVPN 2.6_beta1 amd64-portbld-freebsd14.0 [SSL (OpenSSL)] [LZO] [LZ4] [MH/RECVDA] [AEAD] [DCO]
library versions: OpenSSL 1.1.1t-freebsd  7 Feb 2023, LZO 2.10
Originally developed by James Yonan
Functionally everything is working fine.

I only have one real question,
I am using a python script to handle the connection to Okta for authentication, and it seems that print statements from the python script are not captured in the logs when invoked by the --auth-user-pass-verify procedure.

Is it possible to have output from this script included in the OpenVPN logs?

Post Reply