Howdy, Stranger!

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


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop

In this Discussion

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.

Example:

Main IP: 88.12.12.43
Failover: 78.23.23.12

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.

Comments

  • racksxracksx Member

    Hi,
    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.

    Screenshot: http://pasteboard.co/3U72gaNc5.png

  • 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 10.8.0.0/24 -j SNAT --to-source [FAILOVER IP]

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

    Found this at the following link: https://lowendtalk.com/discussion/86595/openvpn-and-failover-ips

Sign In or Register to comment.