rkk2025
Occasional Visitor
Hi,
Is there any way to create a custom service in a asuswrt-merlin router?
What I'm basically trying to achieve is to create a reverse tunnel to expose my openvpn server to the internet by using the "serveo.net" which allows to do that trough ssh.
But for that I need a way how to start the ssh tunnel automatically and reopen it whenever the connection drops. The way to achieve this is by using "autossh" or in a more spartan way have the "ssh" command in a loop, to reconnect whenever the connection is dropped. So far so good, but in order for this to run on its own, I need to implement it as a service or somehow start it in a persistent way.
Anybody can help me out with making this work or point me to the right direction? Greetings and thanks.
Is there any way to create a custom service in a asuswrt-merlin router?
What I'm basically trying to achieve is to create a reverse tunnel to expose my openvpn server to the internet by using the "serveo.net" which allows to do that trough ssh.
But for that I need a way how to start the ssh tunnel automatically and reopen it whenever the connection drops. The way to achieve this is by using "autossh" or in a more spartan way have the "ssh" command in a loop, to reconnect whenever the connection is dropped. So far so good, but in order for this to run on its own, I need to implement it as a service or somehow start it in a persistent way.
Anybody can help me out with making this work or point me to the right direction? Greetings and thanks.