Results 1 to 2 of 2

Thread: How to read OpenVPN VPN status and log files

  1. #1
    Join Date
    Jan 2014
    Beans
    16

    How to read OpenVPN VPN status and log files

    Hi all,
    I'm a newbi to Linux and Ubuntu. When I have OpenVPN VPN running, where are the OpenVPN VPN status and log files located and how can I read them?

  2. #2
    Join Date
    Aug 2009
    Location
    Makati City, Philippines
    Beans
    2,270
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: How to read OpenVPN VPN status and log files

    The OpenVPN log file is defined on the server.conf file. And the verbosity of the log is also defined in the server.conf file.
    The file is not defined by by default so you should explicitly define it.

    Here's the logging part on our vpn server:
    Code:
    ....
    status openvpn-status.log
    log-append  openvpn.log
    verb 4
    ...
    Since the config file is in /etc/openvpn/server.conf, then the log file openvpn-status.log will be saved in /etc/openvpn/openvpn-status.log
    The verbosity is 4, you can changed it to 5 or 6 if you need more info when you troubleshoot connections.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •