How to auto-restart remote clients (an Asus RT-AC68U) OpenVPN client.
The setup is:
- On one end (THE CLIENT), I have Asus RT-AC68U running AsusWrt-Melrin code 386.11_0, and on the other side (THE host of the OpenVPN server) Asus RT-AX86U running AsusWrt-Merlin code 3004.388.4. Works like a charm. There are no issues with the performance, however....
The problem:
- On Asus RT-AX86U I go about nightly reboots at 3 am. The reboot is successful, and things run on it as configured...however
- Every time the reboot is completed the client DOES NOT auto connect after the reboot. Every single time I have to remote my self into the RT-AC68U (not directly; I have other devices on that side where I connect and use them to manage the RT-AC68U side) and have to enable that client side to connect. It connects without any problem and the session is live and in use till the next days 3am reboot on the OpenVPN server-side / RT-AX86U
Question(s):
- How do I ensure the client side will reconnect without manual intervention?
- Is there a script out there for this, i.e. did anyone potentially experience the same issue and coded a scripted solution? (asking 'cause I am not a scripter)
- Any info is welcomed since so far I have failed to find any info regarding the same problem and how to address it.
THank you in advance.
The setup is:
- On one end (THE CLIENT), I have Asus RT-AC68U running AsusWrt-Melrin code 386.11_0, and on the other side (THE host of the OpenVPN server) Asus RT-AX86U running AsusWrt-Merlin code 3004.388.4. Works like a charm. There are no issues with the performance, however....
The problem:
- On Asus RT-AX86U I go about nightly reboots at 3 am. The reboot is successful, and things run on it as configured...however
- Every time the reboot is completed the client DOES NOT auto connect after the reboot. Every single time I have to remote my self into the RT-AC68U (not directly; I have other devices on that side where I connect and use them to manage the RT-AC68U side) and have to enable that client side to connect. It connects without any problem and the session is live and in use till the next days 3am reboot on the OpenVPN server-side / RT-AX86U
Question(s):
- How do I ensure the client side will reconnect without manual intervention?
- Is there a script out there for this, i.e. did anyone potentially experience the same issue and coded a scripted solution? (asking 'cause I am not a scripter)
- Any info is welcomed since so far I have failed to find any info regarding the same problem and how to address it.
THank you in advance.