Hello, I have had this idea in my head for a long while now and wanted to share it with a more competent group who could tell me if this idea is feasible or not.
The problem I have currently, which is more of a convenience problem, is that for obvious reasons I do not leave my OpenVPN running 24/7 on my router. This mean every time I do want to switch the VPN on, I have to log into the Router UI, enter credentials, navigate to VPN and so on... hopefully you get where I am going with this now.
I would like to implement an on/off toggle that would be able to do this which technically (in my head) doesn't seem too difficult to put together. The idea would most likely rely on a script being executed to trigger this toggle?
What would be really nice, is if I could use a physical switch (controlled by a RPi?) to trigger the VPN on/off script remotely?
Is this concept too far-fetched? Have I overlooked anything?
The problem I have currently, which is more of a convenience problem, is that for obvious reasons I do not leave my OpenVPN running 24/7 on my router. This mean every time I do want to switch the VPN on, I have to log into the Router UI, enter credentials, navigate to VPN and so on... hopefully you get where I am going with this now.
I would like to implement an on/off toggle that would be able to do this which technically (in my head) doesn't seem too difficult to put together. The idea would most likely rely on a script being executed to trigger this toggle?
What would be really nice, is if I could use a physical switch (controlled by a RPi?) to trigger the VPN on/off script remotely?
Is this concept too far-fetched? Have I overlooked anything?