[pfSense Support] little offtopic - using cron to monitor ipsec tunnels
Hi, I was wondering, if there would be a way (by not installing third party software) to monitor the uptime of your ipsec VPN tunnels. Sure, I can ping every LAN printer that is in the other subnet - or install third party software... but some kind of cronjob checking this would also be a cool way to accomplish this. And as soon a VPN is out for xxx minutes, a mail should be sent to the admin. That way - I could anticipate on power outages, or any other reason why a VPN does not come up. Kind regards, Michel - To unsubscribe, e-mail: support-unsubscr...@pfsense.com For additional commands, e-mail: support-h...@pfsense.com Commercial support available - https://portal.pfsense.org
Re: [pfSense Support] little offtopic - using cron to monitor ipsec tunnels
Michel Servaes wrote: I was wondering, if there would be a way (by not installing third party software) to monitor the uptime of your ipsec VPN tunnels. Sure, I can ping every LAN printer that is in the other subnet - or install third party software... but some kind of cronjob checking this would also be a cool way to accomplish this. And as soon a VPN is out for xxx minutes, a mail should be sent to the admin. That way - I could anticipate on power outages, or any other reason why a VPN does not come up. There is a cron package you can install to manage the firewall's cron jobs and add your own. A little scripting and such could get the rest. Parsing setkey -D and setkey -DP output can be a little tricky, especially trying to match those up with tunnels in the config though. You can refer to the code in the IPsec status page (and dashboard widget) for some pointers or code to reuse. Jim - To unsubscribe, e-mail: support-unsubscr...@pfsense.com For additional commands, e-mail: support-h...@pfsense.com Commercial support available - https://portal.pfsense.org
[pfSense Support] Playing a mp3
Hi, I am currently running pfsense at two of my locations and the need has come up to play a mp3 file in a loop through a local machine. As the only common system in both locations I was wondering if this would be possible via pfSense? I know it is a strange thing to be doing with a firewall distro but it would be really awesome if it could. Is there any chance of been able to do this? Thank you, Dominic.
Re: [pfSense Support] Playing a mp3
Might be overkill, but the freeswitch package can be made to do such things. db Sent on the TELUS Mobility network with BlackBerry -Original Message- From: Dominic vamp...@vortex.co.za Date: Thu, 29 Oct 2009 19:39:20 To: support@pfsense.com Subject: [pfSense Support] Playing a mp3 Hi, I am currently running pfsense at two of my locations and the need has come up to play a mp3 file in a loop through a local machine. As the only common system in both locations I was wondering if this would be possible via pfSense? I know it is a strange thing to be doing with a firewall distro but it would be really awesome if it could. Is there any chance of been able to do this? Thank you, Dominic.
Re: [pfSense Support] Playing a mp3
On Thu, Oct 29, 2009 at 1:39 PM, Dominic vamp...@vortex.co.za wrote: Hi, I am currently running pfsense at two of my locations and the need has come up to play a mp3 file in a loop through a local machine. As the only common system in both locations I was wondering if this would be possible via pfSense? I know it is a strange thing to be doing with a firewall distro but it would be really awesome if it could. Is there any chance of been able to do this? Thank you, Dominic. Above and beyond it's FreeBSD. pkg_add -r mp3blaster . IIRC that util is pretty pro at playing MP3s from the command line. Toss on repeat and you're done.