Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

Scheduled VPN restart

$
0
0

Hi, fairly new to ubnt equipment here but do have some skills.  Hope this isn't answered elsewhere if so just point me to where.  Thanks in advance!

 

We have a network that includes 5 sites.  The main site is an edgerouter pro 8.  The other sites are using Cisco ISA routers.  There is an ipsec tunnel from the main site to the other 4.  These VPNs have proven bery fragile.  Each site is on Comcast business calss and network reliability has been good, but about 3-8 times a month some of the tunnels will drop and not reconnect.

 

The main site used to have a Cisco ISA as well, and the problem was worse.  After much troubleshooting, we believe it to be a problem in the Cisco routers and not a config issue.

 

What we want to do is script a simple 'restart vpn' cli command to restart the ipsec tunnels once per day during non-business hours.

 

It looks like this can be done with the vyatta cron package.  My questions are thus:

1.  Is there something I am missing, or does this look like a fair (if kludgy solution)

2.. Also, do I have to put a script in /config/scripts or can I just call 'restart vpn' directly from the scheduled job

 

something like:

 

system
    task-scheduler
       task restartvpn
           cron-spec " 0 0 * * * * "
           executable
                arguments "vpn"
                 path /path/to/restart (not sure of path)

or  path /config/scripts/restartvpnscript

 


Viewing all articles
Browse latest Browse all 20028

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>