Page 1 of 1

--auth-user-pass-verify output logging

Posted: Mon Feb 27, 2023 4:54 pm
by aaronc-rae
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?