kylemanna / docker-openvpn

🔒 OpenVPN server in a Docker container complete with an EasyRSA PKI CA
https://hub.docker.com/r/kylemanna/openvpn/
MIT License
8.62k stars 2.37k forks source link

email notification for every new connection #645

Open ghost opened 3 years ago

ghost commented 3 years ago

Hello, Thanks for wonderful project.

Please also include email notification on every new connection to openvpn server. So it can be monitor easily for security.

BrodyStone21 commented 2 years ago

Why don't you just monitor the logs and do this yourself with a Python script?

travelg commented 2 years ago

Why don't you just monitor the logs and do this yourself with a Python script?

Thanks for reply. Do you have a script I am not sure how to do it ? Thanks

stefa168 commented 1 year ago

Still, it would be useful to be able to receive notifications for certain events (i.e. successful access) via email/telegram/slack/etc.

BrodyStone21 commented 1 year ago

Still, it would be useful to be able to receive notifications for certain events (i.e. successful access) via email/telegram/slack/etc.

Setting up a custom email server that is both secure and works is quite hard. Doing some kind of Telegram/Discord bot, as you mentioned, would probably be the best approach.

biju-ps commented 1 year ago

+1