VPN data allows you to track user activity while they are connected to the virtual private network, and additionally populates the location map with ingress activity.
Before You Begin
By default, some OpenVPN deployments will log to syslog automatically. Others, like OpenVPN AS, require a change to the configuration.
To enable automatic syslog logging for OpenVPN AS:
- Stop the OpenVPN AS service on your machine.
- Find the
SYSLOG=trueto the file, and save it.
- Restart the service.
If you are using rsyslog, you also need to enable automatically logging over TCP or UDP.
To enable automatic logging for rsyslog:
- Stop the service.
- Open the configuration file.
- If you are using TCP, add in
@@IP:port, such as
- If you are using UDP, add in
- Save the file, and restart the service.
You can read more information about this rsyslog configuration http://www.rsyslog.com/doc/rsyslog_conf_examples.html.
How to Configure This Event Source
- From your dashboard, select Data Collection on the left hand menu.
- When the Data Collection page appears, click the Setup Event Source dropdown and choose Add Event Source.
- From the “Security Data” section, click the VPN icon. The “Add Event Source” panel appears.
- Choose your collector and event source. You can also name your event source if you want.
- Choose the timezone that matches the location of your event source logs.
- Optionally choose to send unfiltered logs.
- Configure your default domain and any Advanced Event Source Settings.
- Select Listen for Syslog. Enter the port you used for your syslog or rsyslog configuration.
- Optionally choose to Encrypt the event source if choosing TCP by downloading the Rapid7 Certificate.
- Click Save.