I have another issue where apparently my learn address script is called 
for the host itself and a forwarded subnet.

Today I could not reach a host on the forwarded subnet. It was clear my 
VPN server (openvpn) did not have the route for it.

It is just an iroute directive:

iroute 10.9.0.0 255.255.255.0

This causes this route to also be "learned" by the script.

It is these unreliablities that make it rather hard to use openvpn. I 
don't yet know why today the route was not added. A VPN server restart 
fixed it (the client automatically reconnects). But now I have to 
monitor the routes and if they are not there I have to restart the VPN 
server. Turns out I had a small bug in my script that caused some route 
to not be deleted, but it shouldn't have prevented a route from being 
added. So VPN was up but the route was not there.

I will have to monitor I guess whether it happens again. Otherwise... it 
is hard for the server to monitor this without more code... but it's not 
really the client's function to restart itself.

If my script had worked, there would be no route to the client at all, 
because apparently the route that remained was only there because it had 
not been deleted, not because it would subsequently have been added, so 
the adding code had not executed properly after reconnect.

As in my other mail, there is again a php sendmail call that is 
stalling.... :(. Cannot see how long it's been there. Annoying.

I guess I will have to wait until it happens again, otherwise it is time 
for another cron job.... :(.

Regards.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to