cpriest / udm-patches

Contains onboot.d setup scripts and wrappers for custom OpenVPN client
MIT License
47 stars 3 forks source link

vpn not working on reboot #6

Open franke2 opened 3 years ago

franke2 commented 3 years ago

hi, cpriest, sorry if i open a new post. I know what mean "Inactivity timeout (--ping-restart), restarting", the strange thing is that when the script is working fine i never recive ping restart.. the ping restart is recevied when UDM restart and openvpn script is not working correclty. I need to turn off vpn server on UDM gui (as you suggested), restart the UDM with VPN down and then turn on VPN on UDM gui,.. Whit this procedure i will not recive any ping restart, all is working fine. The error is connected with UDM reboot. Tnx for your help and sorry

cpriest commented 3 years ago

So this only happens upon reboot.  If you go disable the VPN and re-enable it comes back up fine and stays up?

franke2 commented 3 years ago

tnx for your answer, openvpn was running from some days without any problem or disconnection; I tried as suggested to stop and re-enable the vpn. same error like on reboot :( the vpn start but it not work also if sequence is completed and seams connected (I can't ping any remote address and after 2 min i recive ping restart). To get it work back i need to turn off vpn, restart the router and then re-enable the vpn on udm web-gui. Whit this procedure it work without any problem until a reboot or a vpn restart. tnx for support cpriest, hope you have a solution :)

cpriest commented 3 years ago

yeah, I'm sorry I have no idea where the problem is at.