eibgrad
Part of the Furniture
What I would try is using a domain name rather than an explicit IP (if you're not already doing so), and adding the following to custom config.
Most VPN providers will bind multiple public IPs to a given domain name. And w/ each query, the list of public IPs is rotated, creating a crude form of load balancing.
You can see this by issuing the following command, multiple times.
By using the resolve-retry directive w/ infinite, you're forcing the OpenVPN client to re-resolve the domain name every time the connection has to be rebuilt, and thus you're accessing a different OpenVPN server with each attempt.
That's why using an explicit IP rather than a domain name comes w/ some risk. It's leaves you with only that one option.
For now, I would also keep the persist-tun directive commented out. If these changes work, then perhaps you might try using persist-tun again and see if the problems return.
Code:
resolv-retry infinite
Most VPN providers will bind multiple public IPs to a given domain name. And w/ each query, the list of public IPs is rotated, creating a crude form of load balancing.
You can see this by issuing the following command, multiple times.
Code:
nslookup <domain-name>
By using the resolve-retry directive w/ infinite, you're forcing the OpenVPN client to re-resolve the domain name every time the connection has to be rebuilt, and thus you're accessing a different OpenVPN server with each attempt.
That's why using an explicit IP rather than a domain name comes w/ some risk. It's leaves you with only that one option.
For now, I would also keep the persist-tun directive commented out. If these changes work, then perhaps you might try using persist-tun again and see if the problems return.
Last edited: