I set up an OpenVPN server on my Raspberry Pi running Raspbian and am wondering if there is a log file of security events that I can look at. I'm curious because I want to know if there are login attempts via the now forwarded port that I should be looking at.
Asked
Active
Viewed 860 times
1 Answers
4
The Raspberry Pi OS uses systemd, so you will find logs in its journal. It also contains the logging from the OpenVPN server. Look at it to the current boot with:
rpi ~$ journalctl --boot=0 --pager-end
You can filter it to the service:
rpi ~$ journalctl --boot=0 --unit=openvpn.service
Ingo
- 42,961
- 20
- 87
- 207