Unroutable packer to specific IP forces process to run

Don Wilde dwilde1 at gmail.com
Thu Aug 6 21:33:03 UTC 2020


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 10.31.10.0/24 192.168.11.60"
>
> Is there any way to force the gateway machine to run a preset command if
> 10.31.10.0/24 is unreachable?  (i.e. reset the connection)
What about a simple scripted cron-job ping, Aryeh? Sometimes the 
simplest solutions are the best.

-- 
Don Wilde
****************************************************
* What is the Internet of Things but a system      *
* of systems including humans?                     *
****************************************************



More information about the freebsd-questions mailing list