Page 1 of 1
Failover ip connectivity for openvpn.
Posted: Sat Feb 12, 2022 10:20 pm
by JasonMorison
Hello, I am wanting to use a failover ip I had purchased from OVHCloud to be my openvpn's ipv4 address. But the current openvpn install script that I use only binds to the ip the server came with and not the secondary ip address that I purchased.
Here is the current install script I am using
https://github.com/angristan/openvpn-install
If you know any fix/solution to my problem please help me.
Thank you -Jason
Re: Failover ip connectivity for openvpn.
Posted: Sat Feb 12, 2022 10:46 pm
by TinCanTech
Run the script again and add the new details.
Re: Failover ip connectivity for openvpn.
Posted: Mon Mar 14, 2022 8:01 pm
by JasonMorison
I have done so and added the new ip. But I still can't establish a connection to the profile. I've tried iptables -t nat -A POSTROUTING -s 10.8.0.0/8 ! -d 10.8.0.0/8 -j SNAT --to-source ipfailover and this still hasn't fixed it for me.
Re: Failover ip connectivity for openvpn.
Posted: Mon Mar 14, 2022 8:28 pm
by TinCanTech
We don't support that script here, so you need to read the howto to learn to configure openvpn.
If all else fails then you can contact me privately tincantech at protonmail dot com (Fees will apply).
Re: Failover ip connectivity for openvpn.
Posted: Tue Mar 15, 2022 2:11 am
by JasonMorison
I will continue to look. If all else fails. I will contact. Also if I find a fix I will post about it.
Re: Failover ip connectivity for openvpn.
Posted: Sat Mar 19, 2022 9:20 pm
by openvpn_inc
Hi Jason,
Are these two IP addresses in your provider's network? What's the reasoning here? If they are on the same network you won't get any extra reliability from it. So maybe save your money and get rid of the extra ipv4 address?
regards, rob0
Re: Failover ip connectivity for openvpn.
Posted: Wed Mar 30, 2022 3:55 am
by JasonMorison
Hello, I would like this extra failover as a vpn because it will be whitelisted for access to a service and it will only be the ipv4 able to access it. I need something static. I have just setup a prox mox server to try and get around my problem. But I still can't establish any connection to my newly generated profile. This is not a firewall issue. I have no idea how to fix this.