Is there a way to view OpenVPN logs?

Hello everyone, I was wondering If It’s possible to view OpenVPN logs like requests of the users who used it(Firewall logging maybe), users, IP addresses who used it & etc.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

You can view the OpenVPN Log in Viscosity like so:

  • Go to the Viscosity menu and open the Details window.
  • Make sure the correct connection is selected in the connection menu to the top-left-hand corner of the screen.
  • Click on the Log button. This is the third button from the left.
  • You can resize the window to get a better view of the log. Standard copy/paste/select-all shortcuts can be used to copy parts of the log to support staff if required.