Hi,
I have problems with my VPN provider from time to time. Their servers just die or the load goes to 100%.
So I have been thinking of writing a script, which would monitor the connection and if it goes down, it would tear down the current connection and try the next server.
I would be grateful for suggestions how this should be implemented because I am not familiar with the firmware.
For example, I could fill out all the VPN client tabs in the GUI. Then the script would monitor the connection (let's say, ping some well-known stable site) and if it detects that the connection is not working anymore, it could loop over those pre-filled VPN client confgs and try to connect to each at the time until a connection succeeds.
Thank you.
PS. I made a donation to Eric because I love the firmware. If you still haven't, you should.
I have problems with my VPN provider from time to time. Their servers just die or the load goes to 100%.
So I have been thinking of writing a script, which would monitor the connection and if it goes down, it would tear down the current connection and try the next server.
I would be grateful for suggestions how this should be implemented because I am not familiar with the firmware.
For example, I could fill out all the VPN client tabs in the GUI. Then the script would monitor the connection (let's say, ping some well-known stable site) and if it detects that the connection is not working anymore, it could loop over those pre-filled VPN client confgs and try to connect to each at the time until a connection succeeds.
Thank you.
PS. I made a donation to Eric because I love the firmware. If you still haven't, you should.