This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

IPSec doesn´t reconnect after reconnect pppoe. FiX?

Hello,

i have the Problem, that the IPSec connection after a reconnect from the pppoe connection self not reconnet.
I think i´m not alone.

My Linux knowledge are very bad. I try to "fix" this problem by a automatic reconnnect. Well, i write the following script with the name ipsec_reconnet.sh
and put this to the /root directory from my asg.


#!/bin/bash

# IPSec connection restart
/var/mdw/scripts/ipsec-starter restart &> /dev/null &


after this i write the following in the /etc/crontab-static


05 04 * * * root /bin/sh /root/ipsec_restart.sh


Now i set the daily reconnect from my pppoe connection to 04:00 .

Well my Question to the experts in this forum: Does this work?
Is this the correct way? 

Regards
Michael


This thread was automatically locked due to age.