Pfsense telegram notification on openvpn access: Revision history

From Fvettore-WIKI

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

31 July 2025

21 July 2025

  • curprev 09:3509:35, 21 July 2025 Administrator talk contribs 1,837 bytes +41 No edit summary
  • curprev 09:3409:34, 21 July 2025 Administrator talk contribs 1,796 bytes +4 No edit summary
  • curprev 09:3409:34, 21 July 2025 Administrator talk contribs 1,792 bytes +1,792 Created page with "== To receive Telegram notifications for OpenVPN connections/disconnections == In the following example: *we have two bot user chatIds (Fabrizio and Banion), respectively 173072004 and 5704842034.</br> *the BOT API key is: 1757914630:AAFw1EE42wCTJ4Vy5HTUtRUb34BQna6nU3I (not a real value, example only)</br> </br> You need to create a bash script named ''openvpn-telegram.sh'' in the pfsense root and give it execution permissions <pre> #!/bin/sh MYDATE=$(/bin/date +'%Y/%m..."