Manually or incident based restart of vpn-policy-based script

Hello,

I managed to set up an small device (WLR 755) to connect to different vpn servers (wireguard and openvpn) and used several SSIDs to separate wifi networks for connection. To separete the vpn connections I installed vpn-based-routing.

My problem: If I reboot the device, vpn-based scripting is starting with an error (set waiting time to 60s):

grafik

If i manually restart the vpn-based-routing everything works fine (2 wireguard server are intentionally not started with booting):

grafik

How can manually restart the "script" after booting or if a device connects to a wifi network?

Any help appreciated ..

Regards,

Mario

manual restart after reboot can be achieved using the local start up script.

for triggering events, look into hotplug, not sure it's capable of handling client events though.

1 Like

I tried the local start script:

but no change / success. Still have to press the restart button in Luci UI.

Regards

probably have to put a restart after the actual command

restart was the trick - now it works:

Thanx!!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.