How do I enable OpenVPN logging in DD-WRT?

Debug logs can be very useful in figuring out why problems are happening and how to fix them.

By default, logging on DD-WRT is turned off.  To enable it:  

  1. Enable Syslog under the Services tab.

    If you wish to send logs to a remote system, enter the IP address of that machine which is also running a syslog utility (it needs an open network socket in order to accept logs being sent by the router).

  1. To log firewall events, go to the Security tab and enable the appropriate options under Log Management. (Note: this doesn't function in micro)

That's all there is to it. DD-WRT should now be logging, either locally to /tmp/var/log/messages, or remotely to the IP address you specified earlier.

Have more questions? Submit a request