Failover ip connectivity for openvpn.

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
JasonMorison
OpenVpn Newbie
Posts: 5
Joined: Sat Feb 12, 2022 10:15 pm

Failover ip connectivity for openvpn.

Post by JasonMorison » Sat Feb 12, 2022 10:20 pm

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

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Failover ip connectivity for openvpn.

Post by TinCanTech » Sat Feb 12, 2022 10:46 pm

Run the script again and add the new details.

JasonMorison
OpenVpn Newbie
Posts: 5
Joined: Sat Feb 12, 2022 10:15 pm

Re: Failover ip connectivity for openvpn.

Post by JasonMorison » Mon Mar 14, 2022 8:01 pm

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.

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Failover ip connectivity for openvpn.

Post by TinCanTech » Mon Mar 14, 2022 8:28 pm

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).

JasonMorison
OpenVpn Newbie
Posts: 5
Joined: Sat Feb 12, 2022 10:15 pm

Re: Failover ip connectivity for openvpn.

Post by JasonMorison » Tue Mar 15, 2022 2:11 am

I will continue to look. If all else fails. I will contact. Also if I find a fix I will post about it.

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

Re: Failover ip connectivity for openvpn.

Post by openvpn_inc » Sat Mar 19, 2022 9:20 pm

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
Image OpenVPN Inc.
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

JasonMorison
OpenVpn Newbie
Posts: 5
Joined: Sat Feb 12, 2022 10:15 pm

Re: Failover ip connectivity for openvpn.

Post by JasonMorison » Wed Mar 30, 2022 3:55 am

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.

Post Reply