Logging OpenVPN-AS logs to remote syslog server?

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
newfoundland.republic
OpenVpn Newbie
Posts: 1
Joined: Fri Jul 22, 2011 12:24 am

Logging OpenVPN-AS logs to remote syslog server?

Post by newfoundland.republic » Fri Jul 22, 2011 12:36 am

Hi Folks,
This is likely a simple question but Google isn't giving me the answer I want ;) I have the VMware Ubuntu 8.04-based OpenVPN appliance up-and-running but I'd like to have the OpenVPN logs being sent to a remote syslog server. I have the appliance syslog sending entries to the remote syslog server but I don't seem to be getting anything from the OpenVPN-AS service being logged on the remote syslog server.

This seems like it would be pretty simple - I would have thought that the web interface (or the command line setup at least) would have the ability to enter the IP address of a syslog server! (Maybe that is a future feature request? :D )

Thanks!

undejj
OpenVpn Newbie
Posts: 5
Joined: Mon Sep 12, 2011 12:49 pm

Re: Logging OpenVPN-AS logs to remote syslog server?

Post by undejj » Mon Sep 12, 2011 8:37 pm

This is what worked for me to log OVPNAS to my syslog server.

In as.conf place the following line:

Code: Select all

SYSLOG=true
Then in rsyslog.conf, place the following line:

Code: Select all

*.=info                             @<ip address of your syslog server>

Post Reply