Re: Client history

Bo Berglund <[email protected]>
Newsgroups gmane.network.openvpn.user
Message-ID <[email protected]>
On Mon, 19 Feb 2024 11:57:43 +0000, Peter Davis via Openvpn-users
<[email protected]> wrote:

>Hi,
>Thanks again.
>Can you put the script somewhere like pastebin? I can't fix it.

I modified the script so it can be used without call argument like I have done,
then the logfile defined in the script is used, otherwise if the call in the
openvpn server's conf file is supplying a logfile path then this will be used.

Example of a conf line (again note: on a single line):

client-connect /etc/openvpn/scripts/server-events.sh
/etc/openvpn/log/server_events.log

https://pastebin.com/s76exBRc

Will expire in 7 days.


-- 
Bo Berglund
Developer in Sweden
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.