amaramrahul
Hi,
Would it be possible to log all connections going via OpenVPN? For ex. if I am connected to OpenVPN as some user, and establish SSH connection from my local machine (IP A.B.C.D) to remote machine (IP W.X.Y.Z) via OpenVPN tunnel, can I have something as below logged in my log file?
user from A.B.C.D established connection to W.X.Y.Z port 22
And upon closing the SSH connection to the remote machine.
user from A.B.C.D closed connection to W.X.Y.Z port 22
If this is not available not out-of-the box, can this be achieved through some script?
Regards,
Rahul.