Unroutable packer to specific IP forces process to run

Aryeh Friedman aryeh.friedman at gmail.com
Thu Aug 6 21:38:48 UTC 2020

On Thu, Aug 6, 2020 at 5:35 PM Aryeh Friedman <aryeh.friedman at gmail.com>

> On Thu, Aug 6, 2020 at 5:33 PM Don Wilde <dwilde1 at gmail.com> wrote:
>> On 8/6/20 2:30 PM, Aryeh Friedman wrote:
>> > I have VPN that has stability problems (the fault of the ISP and they
>> admit
>> > it) I have set up one my FreeBSD machine as a router for that specific
>> VPN:
>> > # on non-gateway machines in /etc/rc.conf
>> > static_routes="internalnet2"
>> > route_internalnet2="-net"
>> >
>> > Is there any way to force the gateway machine to run a preset command if
>> > is unreachable?  (i.e. reset the connection)
>> What about a simple scripted cron-job ping, Aryeh? Sometimes the
>> simplest solutions are the best.
> The amount time the connection stays up is unpredictable and due to the
> use case it needs to be repaired immediately if down (not even a 5 min
> delay for cron to do its normal wake up and look for a job is acceptable)
Should add the use case is near real time DB replication during a alpha
test of a life critical DB and thus any down time of the production DB is
unacceptable (and before you say use a non-production instance me and you
have already discussed this use case so you know it is not an option)

Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org

More information about the freebsd-questions mailing list