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
Failover ip connectivity for openvpn.
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 5
- Joined: Sat Feb 12, 2022 10:15 pm
-
- OpenVPN Protagonist
- Posts: 11139
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Failover ip connectivity for openvpn.
Run the script again and add the new details.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Sat Feb 12, 2022 10:15 pm
Re: Failover ip connectivity for openvpn.
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.
-
- OpenVPN Protagonist
- Posts: 11139
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Failover ip connectivity for openvpn.
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).
If all else fails then you can contact me privately tincantech at protonmail dot com (Fees will apply).
-
- OpenVpn Newbie
- Posts: 5
- Joined: Sat Feb 12, 2022 10:15 pm
Re: Failover ip connectivity for openvpn.
I will continue to look. If all else fails. I will contact. Also if I find a fix I will post about it.
- openvpn_inc
- OpenVPN Inc.
- Posts: 1332
- Joined: Tue Feb 16, 2021 10:41 am
Re: Failover ip connectivity for openvpn.
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
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

Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support
-
- OpenVpn Newbie
- Posts: 5
- Joined: Sat Feb 12, 2022 10:15 pm
Re: Failover ip connectivity for openvpn.
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.