The following entries are added to /etc/crontab in the NetMAX VPN Suite:
0 1 * * * root /usr/netmax/etc/rc.d/isakmpd.sh stop && /etc/rc.d/init.d/ipsec restart && /usr/netmax/etc/rc.d/isakmpd.sh start
# Check for connections that have expired.
*/6 * * * * root /usr/netmax/bin/vpncleanup.pl
The first line restarts the VPN subsystems once a day at 1:00 a.m.
The other line checks for VPN connections that have expired and
cleans up the necessary firewall rules and network routes associated
with the expired connections. address-suppressed |