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

Unroute

Hello all,

I want to setup a VPN type NET-HOST with ASL and a linux box with FreesWan and static ip:
Internal lan---ASL--------internet------------Host

All is working as is expected,  from internal lan I can reach host and viceversa, but  when a tunnel is dead, ipsec route stiil remain and I want to unroute it. 
In order to do that, I need to known, from ASL box, if another tunnel point (host) is alive, I am thinking on use cron to run a script which search ipsec routes (from route -n), and tries to pinging this routes to see if  still is alive, if not, route will be delete.

The problem is that I cannot ping from ASL box because of ipsec route drop all packets from ASL itself to host. Is there anyway to avoid it? or  how could I known if another point is dead?

Regards,
Manuel Deza


This thread was automatically locked due to age.