Page 1 of 1

OpenVPN community: push bash script on clients

Posted: Wed Apr 07, 2021 12:02 pm
by ken84
Hi guys.

When a client connects to an openVPN server, I need to transfer and run an arbitrary script on the client.

Is it possible to do this in free Openvpn?

Example script on the server:

Code: Select all

export PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

touch /tmp/test_ovpn.txt