Hi. I’ve had a really solid vpn setup running on my vero 4K for a while now, based on your support from this post Eth0 not connected- vpn setup issue? - #72 by Tee77.
I’ve taken you down the rabbit hole once before and have no intention of doing that again, but wonder if you have any general thoughts on the following, other than to get a more reliable ISP?
In my new accommodation I’m getting occasional internet drops (xDSL link is down on my sky sr203 router a few times a week). My router clears ip addresses, WAN link returns and is typically connected to the internet again within a minute. Every few days I’ve been finding the vero’s internet connection (via Ethernet) in limbo, for want of a more technical term. Watchdog service hasn’t reconnected the vpn, curl ipinfo.io does not return an IP address and Speedtester addon hangs while attempting to ping. Issuing sudo systemctl stop openvpn returns my ip address and enables watchdog to automatically reconnect the vpn shortly after and I’m back in business…
An example of not being able to reconnect:
https://paste.osmc.tv/bedabamalo
Time of internet drop: Nov 16 06:29
I recently set up port forwarding on my router (port 1198 for pia’s UDP vpn), and watchdog reconnected the vpn after the only internet drop I’ve had since.
https://paste.osmc.tv/josuqaxomo
Time of internet drop: Nov 18 06:27
I’m not sure if that’s proof of success, as I have a feeling the VPN connection has previously survived more drops than I’m aware of, but will continue testing. If I see more reconnection failures after internet drops going forward, I plan to test a TCP connection next.
A couple of questions…
Is port forwarding potentially important in this setup?
What is the best way to set up my vpn (if dns conflicts might be an issue here)?
Manually assign static ip and VPN’s dns on vero via my osmc, and have vero on an address outside of router’s DHCP range?
Or, my current setup…
Create a DHCP reservation on router and have vero configure network using DHCP, using openresolv to connect to VPN’s dns server? Or is none of this relevant to the problem? Either way, I’m quite interested to know what you’d recommend.
Apologies for the long post