On Mon, 26 Feb 2024 10:07:14 +0000, Peter Davis via Openvpn-users
<openvpn-users@lists.sourceforge.net> wrote:
>Hi,
>Thanks again.
>I changed "LOG_FILE" to LOG_FILE="/tmp/Connections.log" and executed the 
>script:
>
># ./script-events.sh
>#
># cat /tmp/Connections.log 
>2024-02-26 13:32:19 - CommonName connected with IP 192.168.129.253
>
>The script worked, but where is the problem!

Your description seems a bit odd, you should have started the test script
testlogging, which in turn calls the script-events.sh script...

> Test script testlogging:
> -----------------------
> #!/bin/bash
> export script_type="client-connect"
> export common_name="CommonName"
> export trusted_ip="192.168.129.253"
> ./server-events.sh  <== HERE a call is made to the main script!
> exit 0
> ------------------------

And you are way too unspecific since "where is the problem" gives nothing to
help you by...


-- 
Bo Berglund
Developer in Sweden



_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to