Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

How to use Failover IP on OpenVPN? (OVH)
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

How to use Failover IP on OpenVPN? (OVH)

citrixcitrix Member

Hi everyone,

been a bit of a lurker on here for a while now, however I have come to a point where I need a little help and I thought some where here must of come across my scenario.

I have an OVH VPS with multiple FailoverIPS.


Main IP:

I want to use the failover ip as the ip given to the openvpn client, however when ever it connects i always get the Main IP, I have set OpenVPN to listen on this connection from the admin pannel etc.

Can anyone help? - if you need more info please let me know.


  • racksxracksx Member

    Did you bind the IPs to the network interface?

  • citrixcitrix Member
    edited May 2017

    yes the ips appear in the admin pannel and all function. as I can connect to the OpenVPN with the failover, however it gives me the mainip as my actual ip.


  • citrixcitrix Member

    hmmm, I found this snippet while doing some further searching.

    iptables -t nat -I POSTROUTING -s [VPN CLIENT IP] -j SNAT --to-source [FAILOVER IP]

    where someone used this as an example:

    iptables -t nat -A POSTROUTING -s -j SNAT --to-source [FAILOVER IP]

    however I am not clear what I need to copy from openvpn admin pannek and replace the with.

    Found this at the following link:

Sign In or Register to comment.